Code Preview in The Jucer


#1

hello,

How can I generate code to see the code preview of a UI I designed in the Jucer ? After making a new component and laying out some buttons when I go to the code preview it says :
Couldn’t find the required Jucer template files…
Make sure the template files directory is set up correctly in the preferences box.

What am I missing ?


#2

The template files are in juce/extras/the jucer/src/templates


#3

I added that path in the preferences, but nothing gets generated in the code preview.
When I want to save whatever I did it doesn’t let me either because of the same error, even though i added the correct path to the preferences.

Any extra step I could do?


#4

If it’s giving you that error, then you didn’t add the correct path.