FRUT
FRUT copied to clipboard
CMake Error at Jucer2CMake/CMakeLists.txt:22 (message): JUCE_ROOT must be defined
Hi, I'm trying to use FRUT to build vst3 plugins in my enterprise system which can only have Code Blocks. I want to first get accustomed to CMake and make it work as a test. In CMake, I set the FRUT source code folder, the build destination folder, and I managed to configure MingGW for the comiler. When I try and launch the configure and generate, this error shows: CMake Error at Jucer2CMake/CMakeLists.txt:22 (message): JUCE_ROOT must be defined I've quicly looked in the jucer2cmake folder in FRUT to try and find where I should set the root folder of JUCE but I can't find it. In general I'm not sure that's actually the problem, so any help would be appreciated. Thanks in adavance, and compliments for everything you do and making it avaible for everyone.
Hi @rdv00,
Thanks a lot for using FRUT and opening this issue.
The "Getting Started" instructions (https://github.com/McMartin/FRUT#getting-started) show how to build FRUT using CMake on the command line:
cmake .. -DCMAKE_INSTALL_PREFIX="../prefix" -DJUCE_ROOT="../../JUCE"
I guess you're using the CMake GUI, but JUCE_ROOT
doesn't appear, since it is not a cache variable. I almost never use the CMake GUI, but I'm pretty sure you should be able to define arbitrary variables, including JUCE_ROOT
.
I hope this helps!