Project generator crashed

Hi folks,

The project generator crashes with the following output.

Compiling projectGeneratorSimple for Release
checking pkg-config libraries:   cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gl glu glew gtk+-2.0 libmpg123 
make[1]: Entering directory `/home/sajjad/Downloads/openFrameworks/release/of_v0.8.1_linux_release/apps/projectGenerator/projectGeneratorSimple'
Linking bin/projectGeneratorSimple for linux
g++ -o bin/projectGeneratorSimple obj/linux/Release/src/main.o obj/linux/Release/src/testApp.o obj/linux/Release/src/pugixmlLib/src/pugixml.o obj/linux/Release/src/addons/ofAddon.o obj/linux/Release/src/utils/Utils.o obj/linux/Release/src/projects/CBWinProject.o obj/linux/Release/src/projects/visualStudioProject.o obj/linux/Release/src/projects/xcodeProject.o obj/linux/Release/src/projects/baseProject.o obj/linux/Release/src/projects/CBLinuxProject.o  ../../../addons/obj/linux/Release/ofxGui/src/ofxPanel.o ../../../addons/obj/linux/Release/ofxGui/src/ofxLabel.o ../../../addons/obj/linux/Release/ofxGui/src/ofxBaseGui.o ../../../addons/obj/linux/Release/ofxGui/src/ofxGuiGroup.o ../../../addons/obj/linux/Release/ofxGui/src/ofxSliderGroup.o ../../../addons/obj/linux/Release/ofxGui/src/ofxSlider.o ../../../addons/obj/linux/Release/ofxGui/src/ofxButton.o ../../../addons/obj/linux/Release/ofxGui/src/ofxToggle.o ../../../addons/obj/linux/Release/ofxXmlSettings/src/ofxXmlSettings.o ../../../addons/obj/linux/Release/ofxXmlSettings/libs/tinyxmlerror.o ../../../addons/obj/linux/Release/ofxXmlSettings/libs/tinyxmlparser.o ../../../addons/obj/linux/Release/ofxXmlSettings/libs/tinyxml.o ../../../libs/openFrameworksCompiled/lib/linux/libopenFrameworks.a    -Wl,-rpath=./libs:./bin/libs -Wl,--as-needed -Wl,--gc-sections -L../../../libs/fmodex/lib/linux/ -lfmodex ../../../libs/glfw/lib/linux/libglfw3.a ../../../libs/kiss/lib/linux/libkiss.a ../../../libs/poco/lib/linux/libPocoDataSQLite.a ../../../libs/poco/lib/linux/libPocoCrypto.a ../../../libs/poco/lib/linux/libPocoFoundation.a ../../../libs/poco/lib/linux/libPocoData.a ../../../libs/poco/lib/linux/libPocoNetSSL.a ../../../libs/poco/lib/linux/libPocoNet.a ../../../libs/poco/lib/linux/libPocoZip.a ../../../libs/poco/lib/linux/libPocoUtil.a ../../../libs/poco/lib/linux/libPocoDataMySQL.a ../../../libs/poco/lib/linux/libPocoXML.a ../../../libs/poco/lib/linux/libPocoDataODBC.a ../../../libs/rtAudio/lib/linux/libRtAudio.a ../../../libs/tess2/lib/linux/libtess2.a  ../../../libs/poco/lib/linux/libPocoNetSSL.a ../../../libs/poco/lib/linux/libPocoNet.a ../../../libs/poco/lib/linux/libPocoCrypto.a ../../../libs/poco/lib/linux/libPocoUtil.a ../../../libs/poco/lib/linux/libPocoXML.a ../../../libs/poco/lib/linux/libPocoFoundation.a  -lz -lgstapp-1.0 -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -ludev -lsndfile -lopenal -lssl -lcrypto -lpulse-simple -lpulse -lasound -lGLEW -lGLU -lGL -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfontconfig -lgobject-2.0 -lglib-2.0 -lfreetype -lmpg123   -lglut -lX11 -lXrandr -lXxf86vm -lXi -ldl -lpthread -lfreeimage 
../../../libs/openFrameworksCompiled/lib/linux/libopenFrameworks.a(ofGstUtils.o): In function `on_new_buffer_from_source(_GstAppSink*, void*)':
ofGstUtils.cpp:(.text+0x15a): undefined reference to `gst_app_sink_pull_buffer'
../../../libs/openFrameworksCompiled/lib/linux/libopenFrameworks.a(ofGstUtils.o): In function `ofGstVideoUtils::update()':
ofGstUtils.cpp:(.text+0x33a): undefined reference to `gst_app_sink_pull_buffer'
../../../libs/openFrameworksCompiled/lib/linux/libopenFrameworks.a(ofGstUtils.o): In function `ofGstUtils::setPipelineWithSink(_GstElement*, _GstElement*, bool)':
ofGstUtils.cpp:(.text+0x6be): undefined reference to `gst_plugin_feature_get_name'
collect2: error: ld returned 1 exit status
make[1]: *** [bin/projectGeneratorSimple] Error 1
make[1]: Leaving directory `/home/sajjad/Downloads/openFrameworks/release/of_v0.8.1_linux_release/apps/projectGenerator/projectGeneratorSimple'
make: *** [Release] Error 2

Any hint to get rid of it?

Thanks
Sajjadul

this is a bug in 0.8.1 and is fixed in master already, you’ll need to download OF from github

1 Like

Hi @arturo

I downloaded the most recent from the git hub and i get the following error while issuing the command

./compilePG


sajjad@sajjad-G74Sx:~/Downloads/openFrameworks/master/openFrameworks-master/scripts/linux$ ./compilePG.sh 
make: *** No rule to make target `Release'.  Stop.
there has been a problem compiling the projectGenerator
please report this problem in the forums

What is missing?

you need to download the projectGenerator too, it’s not in the github version by default but in it’s own repo:

you need to put it in apps/projectGenerator/projectGeneratorSimple

Thanks it is sorted out. I got something new. Trying to build the examples with the following command:

./buildAllExamples.sh

and getting the following error:

sajjad@sajjad-G74Sx:~/Downloads/openFrameworks/master/openFrameworks-master/scripts/linux$ ./buildAllExamples.sh 
category ../../examples/gui
-----------------------------------------------------------------
building  + ../../examples/gui/oscParametersReceiver
make: Entering directory `/home/sajjad/Downloads/openFrameworks/master/openFrameworks-master/examples/gui/oscParametersReceiver'
make: *** No rule to make target `Debug'.  Stop.
make: Leaving directory `/home/sajjad/Downloads/openFrameworks/master/openFrameworks-master/examples/gui/oscParametersReceiver'
error compiling ../../examples/gui/oscParametersReceiver

yes the version in github doesn’t have the makefiles or project files so you need to create them with the project generator or just substitute the examples folder with the 0.8.1 one