-
Notifications
You must be signed in to change notification settings - Fork 37
Building
The GUIDOEngine relies on CMake, a cross-platform, open-source build system. The build folder contains the project description and is used to generate native projects.
You should run make from the build folder. Your target platform is inferred from the Makefile. It builds the GUIDEngine library, the Guido tools, the Guido Qt libraries, applications and tools.
Run make help for more details and a description of all the possible targets.
To embed Midi file export in the library, you should call make with MIDIEXPORT='yes | no'
as argument.
MIDI export requires libmidisharelight.
- For MacOS and Windows, the library is embedded in binary form in the src/midisharelight folder. Thus there is no additional step.
- On linux, you must get the library source code, compile and install.
The Android SDK and NDK must be installed and ndk-buildmust be available from your current PATH.
- from the build folder: run
make android - from the platforms/android folder: run
makeormake helpfor details about the targets.
You need to have libcairo2-dev installed to compile the GUIDOEngine. The procedure to compile is close to the usual 'configure' 'make' 'make install' steps. Actually, you can simply do the following: > cd /your_path_to_the_guidolib_project/build > make > sudo make install
You must get the midisharelight library source code. Make sure you checkout the dev branch.
You don't need to compile midishare but only the midisharelight library (only available from the 'dev' branch). It is located at the project root folder.
midisharelight is cmake based:
> cd midisharelight/cmake
> cmake -G "Unix Makefiles"
> make
> sudo make install
The CMake project description is "Visual Studio" oriented. Using MingW may require some adaptation.
You need to have the Qt SDK installed to compile the Guido Qt applications. It is recommended to upgrade to the latest SDK.
The Guido Qt applications are compiled from the main build/Makefile target and you can also run makefrom the environments/Qt folder.
Note that since all the projects are qmake based, you can use QTCreator on all platforms to compile the applications.
In case of trouble, contact me: [email protected]