Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save anytizer/a674f2d24cd91dd2ffc510963e1a241c to your computer and use it in GitHub Desktop.

Select an option

Save anytizer/a674f2d24cd91dd2ffc510963e1a241c to your computer and use it in GitHub Desktop.

Revisions

  1. anytizer renamed this gist May 4, 2024. 1 changed file with 10 additions and 3 deletions.
    Original 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)

    ```
    cd build
    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!
  2. anytizer revised this gist May 4, 2024. 1 changed file with 10 additions and 0 deletions.
    10 changes: 10 additions & 0 deletions Cross Compile for Windows on Ubuntu.md
    Original 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
    ```
  3. anytizer revised this gist Jun 5, 2023. 3 changed files with 9 additions and 9 deletions.
    4 changes: 2 additions & 2 deletions disk-usage-while-compiling-lmms.md
    Original 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 | One/Old version should be ok
    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
    8 changes: 4 additions & 4 deletions summary-of-general-preperation.md
    Original 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 Visual Studio C++ Developer Toolkit on top of Visual Studio community edition.
    * 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
    * Uses a lot of bandwidth downloading packages
    * Obtain the LMMS Source Code from GitHub
    * Obtain other LMMS Depedencies (git submodules)
    * Build project (solution files) with CMake
    * 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 - requires 32 bit qt
    * Unload 32bit projects from Visual Studio - because it requires 32 bit qt
    * Compile! Run!
    * Plugins with difficulties
    * Other notes
    6 changes: 3 additions & 3 deletions windows-lmms-compilation-process.md
    Original 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
    .\vcpkg install --triplet=x64-windows libsamplerate libsndfile lilv lv2 sdl2 sndfile libstk portaudio graphviz glib
    .\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
    ### 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
    ```
  4. anytizer revised this gist Jun 5, 2023. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions windows-lmms-compilation-process.md
    Original 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
  5. anytizer revised this gist Jun 5, 2023. 2 changed files with 3 additions and 2 deletions.
    2 changes: 1 addition & 1 deletion disk-usage-while-compiling-lmms.md
    Original 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 version is ok
    QT 5, Qt 6 | 24 GB | One/Old version should be ok
    Visual Studio CE | 16 GB | with C++, C# tools
    3 changes: 2 additions & 1 deletion windows-lmms-compilation-process.md
    Original file line number Diff line number Diff line change
    @@ -28,7 +28,8 @@ cd vcpkg

    ## Install vcpkg packages
    ```
    .\vcpkg install --triplet=x64-windows fftw3 libsamplerate libsndfile lilv lv2 sdl2 fluidsynth fltk libstk portaudio graphviz glib
    .\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
  6. anytizer revised this gist Feb 19, 2023. 3 changed files with 34 additions and 34 deletions.
    21 changes: 11 additions & 10 deletions disk-usage-while-compiling-lmms.md
    Original 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 | 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
    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
    23 changes: 23 additions & 0 deletions summary-of-general-preperation.md
    Original 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
    24 changes: 0 additions & 24 deletions windows-lmms-compilation-process.md
    Original file line number Diff line number Diff line change
    @@ -11,30 +11,6 @@

    * 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
    * 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

    # Step by Step Instructions

    Preperation for the plugins that do not compile from the source code.
  7. anytizer renamed this gist Feb 19, 2023. 1 changed file with 4 additions and 3 deletions.
    7 changes: 4 additions & 3 deletions Disk Usage.md → disk-usage-while-compiling-lmms.md
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,12 @@
    ## Disk Usage
    ## 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 | ?? | created
    LMMS/target | < 1 GB | created
    cMake | |
    QT 5, Qt 6 | 24 GB | One version is ok
    QT 5, Qt 6 | 24 GB | One version is ok
    Visual Studio CE | 16 GB | with C++, C# tools
  8. anytizer revised this gist Feb 19, 2023. 2 changed files with 11 additions and 10 deletions.
    11 changes: 11 additions & 0 deletions Disk Usage.md
    Original 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
    10 changes: 0 additions & 10 deletions windows-lmms-compilation-process.md
    Original 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!

    ## 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
  9. anytizer revised this gist Feb 19, 2023. 1 changed file with 7 additions and 7 deletions.
    14 changes: 7 additions & 7 deletions windows-lmms-compilation-process.md
    Original file line number Diff line number Diff line change
    @@ -127,10 +127,10 @@ 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 | ??
    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
  10. anytizer revised this gist Feb 19, 2023. 1 changed file with 11 additions and 1 deletion.
    12 changes: 11 additions & 1 deletion windows-lmms-compilation-process.md
    Original 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!
    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 | ??
  11. anytizer revised this gist Feb 10, 2023. 1 changed file with 4 additions and 3 deletions.
    7 changes: 4 additions & 3 deletions windows-lmms-compilation-process.md
    Original file line number Diff line number Diff line change
    @@ -11,13 +11,14 @@

    * https://github.com/LMMS/lmms/wiki/dependencies-windows

    ## Summary of General Idea
    ## 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
    * 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
    - 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.
  12. anytizer revised this gist Feb 10, 2023. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions windows-lmms-compilation-process.md
    Original 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 - from [qt.io](https://www.qt.io/download), offline installers
    * 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
    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`.

  13. anytizer revised this gist Feb 10, 2023. 1 changed file with 9 additions and 7 deletions.
    16 changes: 9 additions & 7 deletions windows-lmms-compilation-process.md
    Original 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
    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 |
    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`.

  14. anytizer revised this gist Feb 10, 2023. 1 changed file with 28 additions and 41 deletions.
    69 changes: 28 additions & 41 deletions windows-lmms-compilation-process.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # Summary
    # Compiling 64bit LMMS under Windows with Visual Studio

    ## Build platform/hardware

    @@ -11,9 +11,10 @@

    * https://github.com/LMMS/lmms/wiki/dependencies-windows

    ## General Idea
    ## 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:
    Choose one of the build mode from `lmms\build`:

    Debug | Release
    -------------------------------|---------
    mkdir Debug | mkdir Release
    mkdir plugins\Debug | mkdir plugins\Release
    cmake --build . --config Debug | cmake --build . --config Release
    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`.

    ## Replace the data folder.
    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
    ```

    * Reuse compiled plugins for main binaries.
    ```
    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
    - `RemoteVstPlugin32` project
    * 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/ folder. I have not tested with Release build option.
    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 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.
    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

    * Uses Microphone during the LMMS
    * Activates microphone while running LMMS
    * Gigabytes of overall downloads
    * Gigabytes of total hard disk usage
    * Taking a lot of time to complete the proces
    * 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.
    * Release mode build not considered.
    * I did not consider release mode build in details.

    Hope, you builds were successful!
    Hope, your builds were successful!
  15. anytizer revised this gist Feb 10, 2023. 1 changed file with 10 additions and 7 deletions.
    17 changes: 10 additions & 7 deletions windows-lmms-compilation-process.md
    Original 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
    ```

    mkdir Debug
    mkdir Release
    mkdir plugins\Debug
    mkdir plugins\Release
    Choose one of the build mode:

    cmake --build . --config Debug
    cmake --build . --config Release
    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

  16. anytizer revised this gist Feb 10, 2023. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions windows-lmms-compilation-process.md
    Original 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
  17. anytizer revised this gist Feb 10, 2023. 1 changed file with 7 additions and 0 deletions.
    7 changes: 7 additions & 0 deletions windows-lmms-compilation-process.md
    Original 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.
  18. anytizer revised this gist Feb 10, 2023. 1 changed file with 9 additions and 6 deletions.
    15 changes: 9 additions & 6 deletions windows-lmms-compilation-process.md
    Original file line number Diff line number Diff line change
    @@ -1,13 +1,15 @@
    # Summary

    Build platform/hardware
    ## 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
    ## 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 findings
    * 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
    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 findings
    ## 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.
    * Installation, Uninstallation and Packaging not considered.
    * Packaging, Installation, Uninstallation not considered.
    * Release mode build not considered.

    Hope, you builds were successful!
  19. anytizer revised this gist Feb 10, 2023. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions windows-lmms-compilation-process.md
    Original 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
  20. anytizer revised this gist Feb 10, 2023. 1 changed file with 7 additions and 2 deletions.
    9 changes: 7 additions & 2 deletions windows-lmms-compilation-process.md
    Original 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

    Please follow the instructions in the order.
    ## 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.
    * 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!
  21. anytizer revised this gist Feb 9, 2023. 1 changed file with 30 additions and 12 deletions.
    42 changes: 30 additions & 12 deletions windows-lmms-compilation-process.md
    Original file line number Diff line number Diff line change
    @@ -1,18 +1,26 @@
    # Summary

    Build platform/hardware: Windows 11 Laptop, Intel Core i7, SSD, 16gb RAM, Visual Studio 2022.
    Build platform/hardware

    https://github.com/LMMS/lmms/wiki/dependencies-windows
    * 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
    * 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
    * Install vcpkg based packages required for LMMS (very long time taking)
    * 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 sourcec code
    ## 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
    ## 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.

    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
    ## Other findings

    * Uses Microphone
    * Gigabytes of downloads
    * 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!
  22. anytizer revised this gist Feb 9, 2023. 1 changed file with 27 additions and 10 deletions.
    37 changes: 27 additions & 10 deletions windows-lmms-compilation-process.md
    Original 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 - [qt.io](https://www.qt.io/download)
    * 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
    * 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
    * 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
    ## 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
    ```

    * Manually copy parent data folder inside compiled output: "build/Debug/"
    ## Replace the data folder.
    Manually copy parent data folder inside compiled output: "build/Debug/"
    ```
    copy ..\..\data .\Debug\
    ```

    * directory where plugins will compile
    * 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` from visual studio
    - `RemoteVstPlugin32` project
    * Compile!
    * Run :-)

    You will get lmms.exe at: build/Debug/ folder.
    You will get lmms.exe at: build/Debug/ folder. I have not tested with Release build option.

    ## plugins that are difficult

    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
    - 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
  23. anytizer revised this gist Feb 9, 2023. 1 changed file with 5 additions and 3 deletions.
    8 changes: 5 additions & 3 deletions windows-lmms-compilation-process.md
    Original 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
    * Install doxygen - https://www.doxygen.nl, later: graphviz via vcpkg
    * Install vcpkg from GitHub
    * Install vcpkg based packages for LMMS
    * Install vcpkg based packages required for LMMS
    * Obtain the LMMS Source Code from GitHub
    * Obtain other LMMS Depedencies
    * 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
  24. anytizer revised this gist Feb 9, 2023. 1 changed file with 14 additions and 6 deletions.
    20 changes: 14 additions & 6 deletions windows-lmms-compilation-process.md
    Original 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 doxygen - https://www.doxygen.nl
    * Install WSL and /or linux commands - https://getgnuwin32.sourceforge.net
    * Install doxygen - https://www.doxygen.nl
    * Install vcpkg from GitHub
    * Install vcpkg packages
    * Install vcpkg based packages for LMMS
    * Obtain the LMMS Source Code from GitHub
    * Obtain other LMMS Depedencies
    * Build project with CMake
    * 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!
    * 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!
    * Run :-)

    You will get lmms.exe at: build/Debug/ folder.

    You will get the .exe of LMMS at: 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
  25. anytizer renamed this gist Feb 8, 2023. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  26. anytizer revised this gist Feb 8, 2023. 1 changed file with 14 additions and 8 deletions.
    22 changes: 14 additions & 8 deletions process.md
    Original 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
    * Install vs vc++ developer toolkit
    * 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 vcpkg
    * Install WSL and /or linux commands - https://getgnuwin32.sourceforge.net
    * Install vcpkg from GitHub
    * Install vcpkg packages
    * Obtain the LMMS Source Code
    * Obtain LMMS Depedencies
    * 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/
    copy ..\..\data .\Debug\
    ```

    * directory where plugins will compile
    ```
    mkdir plugins\Debug
    ```

    REM reuse compiled plugins
    * 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!
    * Run!

    You will get the .exe of LMMS at: Debug/ folder.
  27. anytizer created this gist Feb 8, 2023.
    58 changes: 58 additions & 0 deletions process.md
    Original 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!