Last active
May 4, 2024 05:49
-
-
Save anytizer/a674f2d24cd91dd2ffc510963e1a241c to your computer and use it in GitHub Desktop.
Revisions
-
anytizer renamed this gist
May 4, 2024 . 1 changed file with 10 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,17 @@ [Installing with msys](https://github.com/LMMS/lmms/wiki/dependencies-windows#windows-msys) ``` sudo apt install pacman pacman --needed -S bash pacman pacman-mirrors msys2-runtime mkdir build cd build ../cmake/build_win64.sh cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../target/ cmake --install . --config Release --prefix=./lmms.win make -j12 package make install ``` This section is incomplete or work in progress! -
anytizer revised this gist
May 4, 2024 . 1 changed file with 10 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ [Installing with msys](https://github.com/LMMS/lmms/wiki/dependencies-windows#windows-msys) ``` cd build sudo apt install pacman pacman --needed -S bash pacman pacman-mirrors msys2-runtime cmake --install . --config Release --prefix=./lmms.win make -j12 package ``` -
anytizer revised this gist
Jun 5, 2023 . 3 changed files with 9 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,6 +8,6 @@ LMMS Sources + .git | 500 MB | Including submodules LMMS/build | 5 GB | created after compilation LMMS/target | < 1 GB | created after compilation LMMS packaging | | CMake | | QT 5, Qt 6 | 24 GB | Old version should be ok. (5.15.2 basic installation: 1.18 GB) Visual Studio CE | 16 GB | with C++, C# tools This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,19 +5,19 @@ * Install NSIS - https://nsis.sourceforge.io/Download * Install CMake - https://cmake.org * Install QT 5.12.12 - opensource from [qt.io](https://www.qt.io/download), offline installers * Install C++ Developer Toolkit on top of Visual Studio community edition. * Install WSL and / or linux commands - https://getgnuwin32.sourceforge.net and set them appear in system path. * Install doxygen - https://www.doxygen.nl, later: graphviz via vcpkg * Install vcpkg from GitHub - https://github.com/microsoft/vcpkg * Install vcpkg based packages required for LMMS * very long time taking process: > 1:00 hours * Uses a lot of bandwidth downloading packages * Obtain the LMMS Source Code from GitHub * Obtain other LMMS Depedencies (git submodules) * Build project (Visual Studio Solution files) with CMake * Manually copy data/, data/stk, plugins directories * Manually copy plugins/ladspa/*.dll - because they do not build * Unload 32bit projects from Visual Studio - because it requires 32 bit qt * Compile! Run! * Plugins with difficulties * Other notes This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -28,8 +28,8 @@ cd vcpkg ## Install vcpkg packages ``` .\vcpkg install --triplet=x64-windows fftw3 fltk fluidsynth glib graphviz .\vcpkg install --triplet=x64-windows libsamplerate libsndfile lilv lv2 sdl2 sndfile libstk portaudio ``` ## Getting the source code @@ -48,7 +48,7 @@ cd build cmake .. -G "Visual Studio 17 2022" -DCMAKE_PREFIX_PATH=C:\Qt\Qt5.12.12\5.12.12\msvc2017_64 -DQT_32_PREFIX=C:\Qt\Qt5.12.12\5.12.12\msvc2019 -DCMAKE_TOOLCHAIN_FILE=d:/vcpkg/scripts/buildsystems/vcpkg.cmake ``` ### In another installation ``` cmake .. -G "Visual Studio 17 2022" -DCMAKE_PREFIX_PATH=D:\qt\5.15.2\msvc2019_64 -DCMAKE_TOOLCHAIN_FILE=d:/vcpkg/scripts/buildsystems/vcpkg.cmake ``` -
anytizer revised this gist
Jun 5, 2023 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -48,6 +48,11 @@ cd build cmake .. -G "Visual Studio 17 2022" -DCMAKE_PREFIX_PATH=C:\Qt\Qt5.12.12\5.12.12\msvc2017_64 -DQT_32_PREFIX=C:\Qt\Qt5.12.12\5.12.12\msvc2019 -DCMAKE_TOOLCHAIN_FILE=d:/vcpkg/scripts/buildsystems/vcpkg.cmake ``` In another installation ``` cmake .. -G "Visual Studio 17 2022" -DCMAKE_PREFIX_PATH=D:\qt\5.15.2\msvc2019_64 -DCMAKE_TOOLCHAIN_FILE=d:/vcpkg/scripts/buildsystems/vcpkg.cmake ``` Choose one of the build mode from `lmms\build`: Debug | Release | Notes -
anytizer revised this gist
Jun 5, 2023 . 2 changed files with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,5 +9,5 @@ LMMS/build | 5 GB | created after compilation LMMS/target | < 1 GB | created after compilation LMMS packaging | | cMake | | QT 5, Qt 6 | 24 GB | One/Old version should be ok Visual Studio CE | 16 GB | with C++, C# tools This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -28,7 +28,8 @@ cd vcpkg ## Install vcpkg packages ``` .\vcpkg install --triplet=x64-windows fftw3 fltk fluidsynth .\vcpkg install --triplet=x64-windows libsamplerate libsndfile lilv lv2 sdl2 sndfile libstk portaudio graphviz glib ``` ## Getting the source code -
anytizer revised this gist
Feb 19, 2023 . 3 changed files with 34 additions and 34 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,13 @@ ## Disk Usage while compiling LMMS Project | Size | Notes ---------------------|---------|---- vcpkg x64, x86 | 7.5 GB | My statistics includes packages unessential to LMMS as well AppData/Local/vcpkg | 840 MB | Archives LMMS Sources + .git | 500 MB | Including submodules LMMS/build | 5 GB | created after compilation LMMS/target | < 1 GB | created after compilation LMMS packaging | | cMake | | QT 5, Qt 6 | 24 GB | One version is ok Visual Studio CE | 16 GB | with C++, C# tools This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ ## Summary of General Preperation * Install GIT - https://git-scm.com/downloads * Install TortoiseGIT - https://tortoisegit.org/download/ optionally * Install NSIS - https://nsis.sourceforge.io/Download * Install CMake - https://cmake.org * Install QT 5.12.12 - opensource from [qt.io](https://www.qt.io/download), offline installers * Install Visual Studio C++ Developer Toolkit on top of Visual Studio community edition. * Install WSL and / or linux commands - https://getgnuwin32.sourceforge.net and set them appear in system path. * Install doxygen - https://www.doxygen.nl, later: graphviz via vcpkg * Install vcpkg from GitHub - https://github.com/microsoft/vcpkg * Install vcpkg based packages required for LMMS * very long time taking process: > 1:00 hours * Uses a lot of bandwidth * Obtain the LMMS Source Code from GitHub * Obtain other LMMS Depedencies (git submodules) * Build project (solution files) with CMake * Manually copy data/, data/stk, plugins directories * Manually copy plugins/ladspa/*.dll - because they do not build * Unload 32bit projects from Visual Studio - requires 32 bit qt * Compile! Run! * Plugins with difficulties * Other notes This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,30 +11,6 @@ * https://github.com/LMMS/lmms/wiki/dependencies-windows # Step by Step Instructions Preperation for the plugins that do not compile from the source code. -
anytizer renamed this gist
Feb 19, 2023 . 1 changed file with 4 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,12 @@ ## Disk Usage while compiling LMMS Project | Size | Notes --------------------|---------|---- vcpkg x64, x86 | 7.5 GB | Unrequired: boost AppData/Local/vcpkg | 840 MB | Archives LMMS Source + .git | 500 MB | LMMS/build | 5 GB | created LMMS/target | < 1 GB | created cMake | | QT 5, Qt 6 | 24 GB | One version is ok Visual Studio CE | 16 GB | with C++, C# tools -
anytizer revised this gist
Feb 19, 2023 . 2 changed files with 11 additions and 10 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ ## Disk Usage Project | Size | Notes --------------------|---------|---- vcpkg x64, x86 | 7.5 GB | Unrequired: boost AppData/Local/vcpkg | 840 MB | Archives LMMS Source + .git | 500 MB | LMMS/build | 5 GB | created LMMS/target | ?? | created cMake | | QT 5, Qt 6 | 24 GB | One version is ok This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -124,13 +124,3 @@ In both cases, the .dll files exist but somehow unuseful. * I did not consider release mode build in details. Hope, your builds were successful! -
anytizer revised this gist
Feb 19, 2023 . 1 changed file with 7 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -127,10 +127,10 @@ Hope, your builds were successful! ## Disk Usage Project | Size | Notes --------------------|---------|---- vcpkg | 7.5 GB | Unrequired: boost AppData/Local/vcpkg | 840 MB | Archives LMMS Source + .git | 500 MB | LMMS/build | 5 GB | created LMMS/target | ?? | created -
anytizer revised this gist
Feb 19, 2023 . 1 changed file with 11 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -123,4 +123,14 @@ In both cases, the .dll files exist but somehow unuseful. * Packaging, Installation, Uninstallation not considered. * I did not consider release mode build in details. Hope, your builds were successful! ## Disk Usage Project | Size --------------------|----- vcpkg | 7.5 GB AppData/Local/vcpkg | 840 MB LMMS Source + .git | 500 MB LMMS/build | 5 GB LMMS/target | ?? -
anytizer revised this gist
Feb 10, 2023 . 1 changed file with 4 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,13 +11,14 @@ * https://github.com/LMMS/lmms/wiki/dependencies-windows ## Summary of General Preperation * Install GIT - https://git-scm.com/downloads * Install TortoiseGIT - https://tortoisegit.org/download/ optionally * Install NSIS - https://nsis.sourceforge.io/Download * Install CMake - https://cmake.org * Install QT 5.12.12 - opensource from [qt.io](https://www.qt.io/download), offline installers * Install Visual Studio C++ Developer Toolkit on top of Visual Studio community edition. * Install WSL and / or linux commands - https://getgnuwin32.sourceforge.net and set them appear in system path. * Install doxygen - https://www.doxygen.nl, later: graphviz via vcpkg * Install vcpkg from GitHub - https://github.com/microsoft/vcpkg @@ -101,7 +102,7 @@ So, please copy them directly into plugins/ladspa folder from outside (from LMMS You can see: The specified module could not be found. - ladspa/*.dll copied directly into (imp_1199.dll, mbeq_1197.dll, pitch_scale_1193.dll, pitch_scale_1194.dll) - sf2player.dll - compiled/built but does not run well, if once crashed. - libfluidsynth-3.dll In release mode, further, following modules could not be found. -
anytizer revised this gist
Feb 10, 2023 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,7 +16,7 @@ * Install GIT - https://git-scm.com/downloads * Install NSIS - https://nsis.sourceforge.io/Download * Install CMake - https://cmake.org * Install QT 5.12.12 - opensource from [qt.io](https://www.qt.io/download), offline installers * Install Visual Studio C++ Developer Toolkit * Install WSL and / or linux commands - https://getgnuwin32.sourceforge.net and set them appear in system path. * Install doxygen - https://www.doxygen.nl, later: graphviz via vcpkg @@ -81,7 +81,7 @@ copy ..\data .\Debug | copy ..\data .\Release | [data\st cd Debug | cd Release | mklink /d plugins ..\plugins\Debug | mklink /d plugins ..\plugins\Release | Link to the plugins by symlinking .\Debug\lmms.exe | .\Release\lmms.exe | Opening the compiled LMMS binary lmms.sln | lmms.sln | Visual Studio Project File in `build` directory. The basic intent is to compile the `plugins` folder. Otherise, Visual Studio will compile the `build\lmms.sln`. -
anytizer revised this gist
Feb 10, 2023 . 1 changed file with 9 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -72,14 +72,16 @@ cmake .. -G "Visual Studio 17 2022" -DCMAKE_PREFIX_PATH=C:\Qt\Qt5.12.12\5.12.12\ Choose one of the build mode from `lmms\build`: Debug | Release | Notes -----------------------------------|----------------------------------|----------- mkdir Debug | mkdir Release | Optional mkdir plugins\Debug | mkdir plugins\Release | Optional cmake --build . --config Debug | cmake --build . --config Release | Build the project, **plugins** in particular copy ..\data .\Debug | copy ..\data .\Release | [data\stk\rawwaves](https://github.com/thestk/stk/tree/master/rawwaves), data/themes, data/presets, ... cd Debug | cd Release | mklink /d plugins ..\plugins\Debug | mklink /d plugins ..\plugins\Release | Link to the plugins by symlinking .\Debug\lmms.exe | .\Release\lmms.exe | Opening the compiled LMMS binary lmms.sln | lmms.sln | Visual Studio Project File The basic intent is to compile the `plugins` folder. Otherise, Visual Studio will compile the `build\lmms.sln`. -
anytizer revised this gist
Feb 10, 2023 . 1 changed file with 28 additions and 41 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # Compiling 64bit LMMS under Windows with Visual Studio ## Build platform/hardware @@ -11,9 +11,10 @@ * https://github.com/LMMS/lmms/wiki/dependencies-windows ## Summary of General Idea * Install GIT - https://git-scm.com/downloads * Install NSIS - https://nsis.sourceforge.io/Download * Install CMake - https://cmake.org * Install QT 5.12.12 - from [qt.io](https://www.qt.io/download), offline installers * Install Visual Studio C++ Developer Toolkit @@ -69,68 +70,54 @@ cd build cmake .. -G "Visual Studio 17 2022" -DCMAKE_PREFIX_PATH=C:\Qt\Qt5.12.12\5.12.12\msvc2017_64 -DQT_32_PREFIX=C:\Qt\Qt5.12.12\5.12.12\msvc2019 -DCMAKE_TOOLCHAIN_FILE=d:/vcpkg/scripts/buildsystems/vcpkg.cmake ``` Choose one of the build mode from `lmms\build`: Debug | Release | Notes -------------------------------|----------------------------------|----------- mkdir Debug | mkdir Release | Optional mkdir plugins\Debug | mkdir plugins\Release | Optional cmake --build . --config Debug | cmake --build . --config Release | Build the project copy ..\data .\Debug | copy ..\data .\Release | [data\stk\rawwaves](https://github.com/thestk/stk/tree/master/rawwaves), data/themes, data/presets, ... cd Debug | cd Release | mklink /d plugins ..\plugins\Debug | mklink /d plugins ..\plugins\Release | Link to the plugins by symlinking The basic intent is to compile the `plugins` folder. Otherise, Visual Studio will compile the `build\lmms.sln`. * open lmms.sln in Visual Studio * Unload 32bit projects from Visual Studio from the solution explorer. - Scroll down to `RemoteVstPlugin32` project and unload. * Compile! * Run :-) You will get lmms.exe at `build/Debug/lmms.exe` or at `build\Release\lmms.exe`. I have not tested in-depth with Release build option. But both builds work well. ## Plugins that are difficult None of the plugins/ladspa/*.dll plugins will compile natively in our case. So, please copy them directly into plugins/ladspa folder from outside (from LMMS original installation folder reference) You can see: The specified module could not be found. - ladspa/*.dll copied directly into (imp_1199.dll, mbeq_1197.dll, pitch_scale_1193.dll, pitch_scale_1194.dll) - sf2player.dll - compiled/built but does not run well - libfluidsynth-3.dll In release mode, further, following modules could not be found. - plugins\carlarack.dll - plugins\glib-2.0-0.dll In both cases, the .dll files exist but somehow unuseful. ## Other notes * Activates microphone while running LMMS * Gigabytes of overall downloads * Gigabytes of total hard disk usage * Takes a lot of time to complete the proces * All projects are listed in same hierarchy. * For example, one language translation becomes a project on the top hierarchy of the lmms.sln file. * Translation projects, and application projects are mixed together. * Packaging, Installation, Uninstallation not considered. * I did not consider release mode build in details. Hope, your builds were successful! -
anytizer revised this gist
Feb 10, 2023 . 1 changed file with 10 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -67,16 +67,17 @@ git submodule update --progress --init --recursive --force --merge --rebase mkdir build cd build cmake .. -G "Visual Studio 17 2022" -DCMAKE_PREFIX_PATH=C:\Qt\Qt5.12.12\5.12.12\msvc2017_64 -DQT_32_PREFIX=C:\Qt\Qt5.12.12\5.12.12\msvc2019 -DCMAKE_TOOLCHAIN_FILE=d:/vcpkg/scripts/buildsystems/vcpkg.cmake ``` Choose one of the build mode: Debug | Release -------------------------------|--------- mkdir Debug | mkdir Release mkdir plugins\Debug | mkdir plugins\Release cmake --build . --config Debug | cmake --build . --config Release The basic intent is to compile the `plugins` folder. Otherise, Visual Studio will compile the `build\lmms.sln`. ## Replace the data folder. Manually copy parent data folder inside compiled output: "build/Debug/" @@ -115,8 +116,10 @@ You will get lmms.exe at: build/Debug/ folder. I have not tested with Release bu None of the ladspa plugins compile natively. So, please copy them directly into plugins/ladspa folder from outside. You should first install with an official copy of LMMS installer to get this folder. You can see: The specified module could not be found. - ladspa/*.dll copied directly into (imp_1199.dll, mbeq_1197.dll, pitch_scale_1193.dll, pitch_scale_1194.dll) - sf2player.dll - compiled/built but does not run well - libfluidsynth-3.dll ## Other notes -
anytizer revised this gist
Feb 10, 2023 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -95,6 +95,12 @@ mkdir plugins\Debug ``` cd Debug mklink /d plugins ..\plugins\Debug REM Reuse release version plugins for lmms.exe release version cd .. cd Release mklink /d plugins ..\plugins\Release ``` * open lmms.sln in Visual Studio * Unload 32bit projects from Visual Studio -
anytizer revised this gist
Feb 10, 2023 . 1 changed file with 7 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -69,6 +69,13 @@ cd build cmake .. -G "Visual Studio 17 2022" -DCMAKE_PREFIX_PATH=C:\Qt\Qt5.12.12\5.12.12\msvc2017_64 -DQT_32_PREFIX=C:\Qt\Qt5.12.12\5.12.12\msvc2019 -DCMAKE_TOOLCHAIN_FILE=d:/vcpkg/scripts/buildsystems/vcpkg.cmake mkdir Debug mkdir Release mkdir plugins\Debug mkdir plugins\Release cmake --build . --config Debug cmake --build . --config Release ``` ## Replace the data folder. -
anytizer revised this gist
Feb 10, 2023 . 1 changed file with 9 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,13 +1,15 @@ # Summary ## Build platform/hardware * Windows 11 Laptop, Intel Core i7, 16gb RAM * Visual Studio 2022, Community Edition * OS installed on SSD * Software installed on HDD ## Original references * https://github.com/LMMS/lmms/wiki/dependencies-windows ## General Idea @@ -29,7 +31,7 @@ Original reference: https://github.com/LMMS/lmms/wiki/dependencies-windows * Unload 32bit projects from Visual Studio - requires 32 bit qt * Compile! Run! * Plugins with difficulties * Other notes # Step by Step Instructions @@ -58,7 +60,7 @@ Obtain 3rd party depenencies for LMMS ``` git clone --recurse-submodules -b master https://github.com/lmms/lmms cd lmms git submodule update --progress --init --recursive --force --merge --rebase @@ -103,7 +105,7 @@ You should first install with an official copy of LMMS installer to get this fol - ladspa/*.dll copied directly into (imp_1199.dll, mbeq_1197.dll, pitch_scale_1193.dll, pitch_scale_1194.dll) - sf2player.dll - compiled/built but does not run well ## Other notes * Uses Microphone during the LMMS * Gigabytes of overall downloads @@ -112,6 +114,7 @@ You should first install with an official copy of LMMS installer to get this fol * All projects are listed in same hierarchy. * For example, one language translation becomes a project on the top hierarchy of the lmms.sln file. * Translation projects, and application projects are mixed together. * Packaging, Installation, Uninstallation not considered. * Release mode build not considered. Hope, you builds were successful! -
anytizer revised this gist
Feb 10, 2023 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -59,6 +59,9 @@ Obtain 3rd party depenencies for LMMS git clone --recurse-submodules -b master https://github.com/lmms/lmms cd LMMS git submodule update --progress --init --recursive --force --merge --rebase mkdir build cd build cmake .. -G "Visual Studio 17 2022" -DCMAKE_PREFIX_PATH=C:\Qt\Qt5.12.12\5.12.12\msvc2017_64 -DQT_32_PREFIX=C:\Qt\Qt5.12.12\5.12.12\msvc2019 -DCMAKE_TOOLCHAIN_FILE=d:/vcpkg/scripts/buildsystems/vcpkg.cmake -
anytizer revised this gist
Feb 10, 2023 . 1 changed file with 7 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Build platform/hardware Original reference: https://github.com/LMMS/lmms/wiki/dependencies-windows ## General Idea * Install GIT - https://git-scm.com/downloads * Install CMake - https://cmake.org @@ -72,6 +72,8 @@ Manually copy parent data folder inside compiled output: "build/Debug/" copy ..\..\data .\Debug\ ``` It should also consist: [data\stk\rawwaves](https://github.com/thestk/stk/tree/master/rawwaves) * directory where plugins will compile (reference only, auto created during the compilation) ``` mkdir plugins\Debug @@ -104,6 +106,9 @@ You should first install with an official copy of LMMS installer to get this fol * Gigabytes of overall downloads * Gigabytes of total hard disk usage * Taking a lot of time to complete the proces * All projects are listed in same hierarchy. * For example, one language translation becomes a project on the top hierarchy of the lmms.sln file. * Translation projects, and application projects are mixed together. * Installation, Uninstallation and Packaging not considered. Hope, you builds were successful! -
anytizer revised this gist
Feb 9, 2023 . 1 changed file with 30 additions and 12 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,18 +1,26 @@ # Summary Build platform/hardware * Windows 11 Laptop, Intel Core i7, 16gb RAM * Visual Studio 2022, Community Edition * OS installed on SSD * Software installed on HDD Original reference: https://github.com/LMMS/lmms/wiki/dependencies-windows Please follow the instructions in the order. * Install GIT - https://git-scm.com/downloads * Install CMake - https://cmake.org * Install QT 5.12.12 - from [qt.io](https://www.qt.io/download), offline installers * Install Visual Studio C++ Developer Toolkit * Install WSL and / or linux commands - https://getgnuwin32.sourceforge.net and set them appear in system path. * Install doxygen - https://www.doxygen.nl, later: graphviz via vcpkg * Install vcpkg from GitHub - https://github.com/microsoft/vcpkg * Install vcpkg based packages required for LMMS * very long time taking process: > 1:00 hours * Uses a lot of bandwidth * Obtain the LMMS Source Code from GitHub * Obtain other LMMS Depedencies (git submodules) * Build project (solution files) with CMake @@ -25,6 +33,12 @@ Please follow the instructions in the order. # Step by Step Instructions Preperation for the plugins that do not compile from the source code. * Install official/nighly build of LMMS. * Copy LMMS/ folder to a reference path. You will need plugins/ladspa folder from this reference. * Uninstall LMMS - so we can build our own copy. ``` cd d:\ git clone https://github.com/Microsoft/vcpkg @@ -37,7 +51,7 @@ cd vcpkg .\vcpkg install --triplet=x64-windows fftw3 libsamplerate libsndfile lilv lv2 sdl2 fluidsynth fltk libstk portaudio graphviz glib ``` ## Getting the source code Obtain LMMS Source Code. Obtain 3rd party depenencies for LMMS @@ -76,16 +90,20 @@ mklink /d plugins ..\plugins\Debug You will get lmms.exe at: build/Debug/ folder. I have not tested with Release build option. ## Plugins that are difficult None of the ladspa plugins compile natively. So, please copy them directly into plugins/ladspa folder from outside. You should first install with an official copy of LMMS installer to get this folder. - ladspa/*.dll copied directly into (imp_1199.dll, mbeq_1197.dll, pitch_scale_1193.dll, pitch_scale_1194.dll) - sf2player.dll - compiled/built but does not run well ## Other findings * Uses Microphone during the LMMS * Gigabytes of overall downloads * Gigabytes of total hard disk usage * Taking a lot of time to complete the proces * All projects are listed in same hierarchy. For example, one language translation becomes a project on the top hierarchy of the lmms.sln file. Hope, you builds were successful! -
anytizer revised this gist
Feb 9, 2023 . 1 changed file with 27 additions and 10 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,22 +1,27 @@ # Summary Build platform/hardware: Windows 11 Laptop, Intel Core i7, SSD, 16gb RAM, Visual Studio 2022. https://github.com/LMMS/lmms/wiki/dependencies-windows Please follow the instructions in the order. * Install CMake - https://cmake.org * Install QT 5.12.12 - from [qt.io](https://www.qt.io/download), offline installers * Install Visual Studio C++ Developer Toolkit * Install WSL and /or linux commands - https://getgnuwin32.sourceforge.net * Install doxygen - https://www.doxygen.nl, later: graphviz via vcpkg * Install vcpkg from GitHub * Install vcpkg based packages required for LMMS (very long time taking) * Obtain the LMMS Source Code from GitHub * Obtain other LMMS Depedencies (git submodules) * Build project (solution files) with CMake * Manually copy data/, data/stk, plugins directories * Manually copy plugins/ladspa/*.dll - because they do not build * Unload 32bit projects from Visual Studio - requires 32 bit qt * Compile! Run! * Plugins with difficulties * Other findings # Step by Step Instructions @@ -27,11 +32,13 @@ cd vcpkg .\bootstrap-vcpkg.bat ``` ## Install vcpkg packages ``` .\vcpkg install --triplet=x64-windows fftw3 libsamplerate libsndfile lilv lv2 sdl2 fluidsynth fltk libstk portaudio graphviz glib ``` ## getting the sourcec code Obtain LMMS Source Code. Obtain 3rd party depenencies for LMMS ``` @@ -45,12 +52,13 @@ cmake .. -G "Visual Studio 17 2022" -DCMAKE_PREFIX_PATH=C:\Qt\Qt5.12.12\5.12.12\ mkdir Debug ``` ## Replace the data folder. Manually copy parent data folder inside compiled output: "build/Debug/" ``` copy ..\..\data .\Debug\ ``` * directory where plugins will compile (reference only, auto created during the compilation) ``` mkdir plugins\Debug ``` @@ -62,13 +70,22 @@ mklink /d plugins ..\plugins\Debug ``` * open lmms.sln in Visual Studio * Unload 32bit projects from Visual Studio - `RemoteVstPlugin32` project * Compile! * Run :-) You will get lmms.exe at: build/Debug/ folder. I have not tested with Release build option. ## plugins that are difficult None of the ladspa plugins compile. Copy them directly into plugins/ladspa folder from outside. - ladspa/*.dll copied directly into (imp_1199.dll, mbeq_1197.dll, pitch_scale_1193.dll, pitch_scale_1194.dll) - You should first install an official copy of LMMS installer to get this folder. - sf2player.dll - compiled/built but does not run well ## Other issues * Uses Microphone * Gigabytes of downloads * Gigabytes of total hard disk usage * Taking a lot of time to complete the proces -
anytizer revised this gist
Feb 9, 2023 . 1 changed file with 5 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,14 +1,16 @@ # Summary https://github.com/LMMS/lmms/wiki/dependencies-windows * Install CMake - https://cmake.org * Install QT 5.12.12 - [qt.io](https://www.qt.io/download) * Install Visual Studio C++ Developer Toolkit * Install WSL and /or linux commands - https://getgnuwin32.sourceforge.net * Install doxygen - https://www.doxygen.nl, later: graphviz via vcpkg * Install vcpkg from GitHub * Install vcpkg based packages required for LMMS * Obtain the LMMS Source Code from GitHub * Obtain other LMMS Depedencies (git submodules) * Build project (solution files) with CMake * Manually copy data/, data/stk, plugins directories * Manually copy plugins/ladspa/*.dll - because they do not build -
anytizer revised this gist
Feb 9, 2023 . 1 changed file with 14 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,17 +1,20 @@ # Summary * Install CMake - https://cmake.org * Install QT 5.12.12 - [qt.io](https://www.qt.io/download) * Install Visual Studio C++ Developer Toolkit * Install WSL and /or linux commands - https://getgnuwin32.sourceforge.net * Install doxygen - https://www.doxygen.nl * Install vcpkg from GitHub * Install vcpkg based packages for LMMS * Obtain the LMMS Source Code from GitHub * Obtain other LMMS Depedencies * Build project (solution files) with CMake * Manually copy data/, data/stk, plugins directories * Manually copy plugins/ladspa/*.dll - because they do not build * Unload 32bit projects from Visual Studio * Compile! Run! * Plugins with difficulties # Step by Step Instructions @@ -59,6 +62,11 @@ mklink /d plugins ..\plugins\Debug * Unload 32bit projects from Visual Studio * `RemoteVstPlugin32` from visual studio * Compile! * Run :-) You will get lmms.exe at: build/Debug/ folder. plugins that are difficult: None of the ladspa plugins compile. Copy them directly into plugins/ladspa folder from outside. - ladspa/*.dll copied directly into (imp_1199.dll, mbeq_1197.dll, pitch_scale_1193.dll, pitch_scale_1194.dll) - sf2player.dll - built but does not run well -
anytizer renamed this gist
Feb 8, 2023 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
anytizer revised this gist
Feb 8, 2023 . 1 changed file with 14 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,16 +1,20 @@ # Summary * Install CMake - https://cmake.org * Install QT 5.12.12 - [qt.io](https://www.qt.io/download) * Install Visual Studio C++ Developer Toolkit * Install doxygen - https://www.doxygen.nl * Install WSL and /or linux commands - https://getgnuwin32.sourceforge.net * Install vcpkg from GitHub * Install vcpkg packages * Obtain the LMMS Source Code from GitHub * Obtain other LMMS Depedencies * Build project with CMake * Manually copy data/, data/stk, plugins directories * Unload 32bit projects from Visual Studio * Compile! # Step by Step Instructions ``` cd d:\ git clone https://github.com/Microsoft/vcpkg @@ -38,15 +42,15 @@ mkdir Debug * Manually copy parent data folder inside compiled output: "build/Debug/" ``` copy ..\..\data .\Debug\ ``` * directory where plugins will compile ``` mkdir plugins\Debug ``` * Reuse compiled plugins for main binaries. ``` cd Debug mklink /d plugins ..\plugins\Debug @@ -55,4 +59,6 @@ mklink /d plugins ..\plugins\Debug * Unload 32bit projects from Visual Studio * `RemoteVstPlugin32` from visual studio * Compile! * Run! You will get the .exe of LMMS at: Debug/ folder. -
anytizer created this gist
Feb 8, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,58 @@ * Install CMake - https://cmake.org * Install QT 5.12.12 - qt.io * Install vs vc++ developer toolkit * Install doxygen - https://www.doxygen.nl * Install vcpkg * Install vcpkg packages * Obtain the LMMS Source Code * Obtain LMMS Depedencies * Build project with CMake * Manually copy data/, data/stk, plugins directories * Unload 32bit projects from Visual Studio * Compile! ``` cd d:\ git clone https://github.com/Microsoft/vcpkg cd vcpkg .\bootstrap-vcpkg.bat ``` * Install vcpkg packages ``` .\vcpkg install --triplet=x64-windows fftw3 libsamplerate libsndfile lilv lv2 sdl2 fluidsynth fltk libstk portaudio graphviz glib ``` Obtain LMMS Source Code. Obtain 3rd party depenencies for LMMS ``` git clone --recurse-submodules -b master https://github.com/lmms/lmms cd LMMS mkdir build cd build cmake .. -G "Visual Studio 17 2022" -DCMAKE_PREFIX_PATH=C:\Qt\Qt5.12.12\5.12.12\msvc2017_64 -DQT_32_PREFIX=C:\Qt\Qt5.12.12\5.12.12\msvc2019 -DCMAKE_TOOLCHAIN_FILE=d:/vcpkg/scripts/buildsystems/vcpkg.cmake mkdir Debug ``` * Manually copy parent data folder inside compiled output: "build/Debug/" ``` copy ..\..\data Debug/ ``` * directory where plugins will compile ``` mkdir plugins\Debug ``` REM reuse compiled plugins ``` cd Debug mklink /d plugins ..\plugins\Debug ``` * open lmms.sln in Visual Studio * Unload 32bit projects from Visual Studio * `RemoteVstPlugin32` from visual studio * Compile! * Run!