Problem compiling project generator

Hi all,

I’m using Ubuntu and the have just cloned openFrameworks. I’ve got to dash to a lecture and will look into this after, but because it told me to post to the forums and I might not find an answer, has anyone got a quick fix?

Below is the output from the terminal. Note I compiled OF with no ssues.

Thanks

$ ./compilePG.sh
make: *** …/…/apps/projectGenerator/commandLine: No such file or directory. Stop.
There has been a problem compiling the command line projectGenerator.
Please report this problem in the forums.

you need to clone the repo recursively since the project generator is not directly included but a submodule. just use:

git clone --recursively https://github.com/openframeworks/openFrameworks

or your own address if you’ve forked the repo

if you’ve already cloned it and want to only download the submodules you can also do:

git submodule init
git submodule update
1 Like

thanks for the reply

Okay new problem now. Sorry about asking the first question I googled the terms and realised you’ve already answered that before. I should looked for that properly in the first place.

However I now have a new error after I try to ./compilePG.sh

the output is:
/home/tollie/Development/openFrameworks/libs/openFrameworksCompiled/lib/linux64/libopenFrameworks.a(ofAppGLFWWindow.o): In function 'ofAppGLFWWindow::setWindowIcon(std::string const&)': ofAppGLFWWindow.cpp:(.text+0x2513): undefined reference to bool ofLoadImage<unsigned char>(ofPixels_<unsigned char>&, std::string, ofImageLoadSettings const&)' collect2: error: ld returned 1 exit status /home/tollie/Development/openFrameworks/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:381: recipe for target 'bin/projectGenerator' failed make[1]: *** [bin/projectGenerator] Error 1 make[1]: Leaving directory '/home/tollie/Development/openFrameworks/apps/projectGenerator/commandLine' /home/tollie/Development/openFrameworks/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:126: recipe for target 'Release' failed make: *** [Release] Error 2 make: Leaving directory '/home/tollie/Development/openFrameworks/apps/projectGenerator/commandLine' There has been a problem compiling the command line projectGenerator. Please report this problem in the forums.

I’ve done a Google this time and cannot find any forum links around. Any thoughts?

Best,

Leon

this was a problem in the current master from a PR rencetly merged, i fixed it this morning, so if you pull again it should work

that got it! thanks again for the continued support :slightly_smiling: