-
Notifications
You must be signed in to change notification settings - Fork 5
Building on Windows
Александр Старочкин edited this page Jan 3, 2023
·
5 revisions
- install Visual Studio with c++ classical applications module
- install Qt
make sure use haveC:/Qt/5.15.2/mingw81_64
directory - install nim
- download choosenim
choosenim stable
- add
%HOME%/.choosenim/toolchains/1.6.10/bin
to PATH
- install zlib if it is not installed
powershell -Command "(New-Object Net.WebClient).DownloadFile('https://raw.githubusercontent.com/horta/zlib.install/master/install.bat', 'install.bat')"; ./install.bat
- build and install TagLib
git clone https://github.com/taglib/taglib
cd taglib; md build; cd build
cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=C:\Libraries\taglib -DBUILD_SHARED_LIBS=OFF -DENABLE_STATIC_RUNTIME=ON ..
make
make install
- clone DMusic and open cmd in this directory, build
nimble build
- copy
dmusic.exe
to new directory and open this directory in cmd - deploy release build using windeployqt
C:/Qt/5.15.2/mingw81_64/bin/windeployqt.exe --qmldir DMUSIC_SOURCE_DIRECORY/qml ./dmusic.exe
- run DMusic