Window's build documentation not very clear
paulosabayomi opened this issue · comments
Hi, I cloned the sonobus source code and I want to build it locally on my Windows OS, I have opened the project in Visual Studio and I made a little change to the project and I want to preview the change by building the (sonobus) project, I read the README.md on how to build the project on Windows and I installed CMake as it was written there but I can't figure out how to build the project with CMake on Windows, though I ran cmake .
in the project directory and it generated some files including vcxproj files but it didn't generate any build
I am new to C++ and I am working on this project for a client, please I need a step by step guide on how to build the project on Windows
thanks
I think it's easier to use cygwin (or WSL, but I didn't try that way personally) with the provided commands in the README.md rather than using bare cmake:
./setupcmakewin.sh
./buildcmake.sh
If you haven't used cygwin before you, it's basically a way to run ports of programs that are normally targeted for POSIX natively under Windows. That way you can run the shell scripts.
Still I had some more problems with the Windows build that I didn't have with Ubuntu. The compiler complained about some missing ASIO SDK headers included by the Juce framework.
I don't know if these headers are usually required or if some configs were wrong, but that way I was able to compile a working Windows build.