Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake Error at Jucer2CMake/CMakeLists.txt:22 (message): JUCE_ROOT must be defined #757

Open
rdv00 opened this issue Feb 20, 2023 · 1 comment

Comments

@rdv00
Copy link

rdv00 commented Feb 20, 2023

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.

@McMartin
Copy link
Owner

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants