openframeworks / openframeworks/projectGenerator
problem compiling the projectgenerator
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 90
- Forks
- 79
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 5
Description
Hello,
I've been experiencing this issue since yesterday. I tried all the solutions proposed in similar issues report.
`make: Entering directory '/home/johann/ofw/apps/projectGenerator/commandLine'
HOST_OS=Linux
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 libcurl glfw3 libpulse-simple alsa gl glu glew gtk+-3.0 libmpg123
with PKG_CONFIG_LIBDIR=
Compiling OF library for Release
make[1]: Entering directory '/home/johann/ofw/libs/openFrameworksCompiled/project'
HOST_OS=Linux
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 libcurl glfw3 libpulse-simple alsa gl glu glew gtk+-3.0 libmpg123
with PKG_CONFIG_LIBDIR=
HOST_OS=Linux
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 libcurl glfw3 libpulse-simple alsa gl glu glew gtk+-3.0 libmpg123
with PKG_CONFIG_LIBDIR=
HOST_OS=Linux
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 libcurl glfw3 libpulse-simple alsa gl glu glew gtk+-3.0 libmpg123
with PKG_CONFIG_LIBDIR=
Done!
make[1]: Leaving directory '/home/johann/ofw/libs/openFrameworksCompiled/project'
Compiling projectGenerator for Release
make[1]: Entering directory '/home/johann/ofw/apps/projectGenerator/commandLine'
HOST_OS=Linux
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 libcurl glfw3 libpulse-simple alsa gl glu glew gtk+-3.0 libmpg123
with PKG_CONFIG_LIBDIR=
Linking bin/projectGenerator for linux64
g++ -o bin/projectGenerator obj/linux64/Release/src/main.o obj/linux64/Release/src/ofApp.o /home/johann/ofw/addons/obj/linux64/Release/ofxPoco/src/ofxXmlPoco.o /home/johann/ofw/apps/projectGenerator/commandLine/obj/linux64/Release/addons/ofxProjectGenerator/src/utils/Utils.o /home/johann/ofw/apps/projectGenerator/commandLine/obj/linux64/Release/addons/ofxProjectGenerator/src/utils/LibraryBinary.o /home/johann/ofw/apps/projectGenerator/commandLine/obj/linux64/Release/addons/ofxProjectGenerator/src/projects/baseProject.o /home/johann/ofw/apps/projectGenerator/commandLine/obj/linux64/Release/addons/ofxProjectGenerator/src/projects/CBWinProject.o /home/johann/ofw/apps/projectGenerator/commandLine/obj/linux64/Release/addons/ofxProjectGenerator/src/projects/visualStudioProject.o /home/johann/ofw/apps/projectGenerator/commandLine/obj/linux64/Release/addons/ofxProjectGenerator/src/projects/androidStudioProject.o /home/johann/ofw/apps/projectGenerator/commandLine/obj/linux64/Release/addons/ofxProjectGenerator/src/projects/xcodeProject.o /home/johann/ofw/apps/projectGenerator/commandLine/obj/linux64/Release/addons/ofxProjectGenerator/src/projects/qtcreatorproject.o /home/johann/ofw/apps/projectGenerator/commandLine/obj/linux64/Release/addons/ofxProjectGenerator/src/projects/CBLinuxProject.o /home/johann/ofw/apps/projectGenerator/commandLine/obj/linux64/Release/addons/ofxProjectGenerator/src/addons/ofAddon.o /home/johann/ofw/libs/openFrameworksCompiled/lib/linux64/libopenFrameworks.a /home/johann/ofw/addons/ofxPoco/libs/poco/lib/linux64/libPocoNet.a /home/johann/ofw/addons/ofxPoco/libs/poco/lib/linux64/libPocoUtil.a /home/johann/ofw/addons/ofxPoco/libs/poco/lib/linux64/libPocoRedis.a /home/johann/ofw/addons/ofxPoco/libs/poco/lib/linux64/libPocoCrypto.a /home/johann/ofw/addons/ofxPoco/libs/poco/lib/linux64/libPocoZip.a /home/johann/ofw/addons/ofxPoco/libs/poco/lib/linux64/libPocoNetSSL.a /home/johann/ofw/addons/ofxPoco/libs/poco/lib/linux64/libPocoFoundation.a /home/johann/ofw/addons/ofxPoco/libs/poco/lib/linux64/libPocoEncodings.a /home/johann/ofw/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a /home/johann/ofw/addons/ofxPoco/libs/poco/lib/linux64/libPocoJSON.a -Wl,-rpath=./libs:./bin/libs -Wl,--as-needed -Wl,--gc-sections -fuse-ld=gold -L/home/johann/ofw/libs/fmodex/lib/linux64/ -lfmodex -lPocoNetSSL -lPocoNet -lPocoCrypto -lPocoUtil -lPocoXML -lPocoFoundation -lcrypto -lssl /home/johann/ofw/libs/kiss/lib/linux64/libkiss.a /home/johann/ofw/libs/tess2/lib/linux64/libtess2.a -lz -lgstapp-1.0 -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -ludev -lfontconfig -lfreetype -lsndfile -lopenal -lcurl -lglfw -lpulse-simple -lpulse -lasound -lGLEW -lGLU -lGL -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lmpg123 -lglut -lX11 -lXrandr -lXxf86vm -lXi -lXcursor -ldl -lpthread -lfreeimage -lboost_filesystem -lboost_system -lpugixml -luriparser -lXinerama -lrtaudio
/home/johann/ofw/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(DOMWriter.o):DOMWriter.cpp:function Poco::XML::DOMWriter::writeNode(std::string const&, Poco::XML::Node const*): error: undefined reference to 'Poco::FileOutputStream::FileOutputStream(std::string const&, std::_Ios_Openmode)'
/home/johann/ofw/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(AbstractContainerNode.o):AbstractContainerNode.cpp:function Poco::XML::AbstractContainerNode::findNode(__gnu_cxx::__normal_iterator<char const*, std::string>&, __gnu_cxx::__normal_iterator<char const*, std::string> const&, Poco::XML::Node const*, Poco::XML::NamespaceSupport const*): error: undefined reference to 'Poco::NumberParser::parse(std::string const&, char)'
/home/johann/ofw/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(EntityResolverImpl.o):EntityResolverImpl.cpp:function Poco::XML::EntityResolverImpl::resolveSystemId(std::string const&): error: undefined reference to 'Poco::URIStreamOpener::open(std::string const&) const'
/home/johann/ofw/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(ParserEngine.o):ParserEngine.cpp:function Poco::XML::ParserEngine::handleUnknownEncoding(void*, char const*, XML_Encoding*): error: undefined reference to 'Poco::TextEncoding::find(std::string const&)'
/home/johann/ofw/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(ParserEngine.o):ParserEngine.cpp:function Poco::XML::ParserEngine::handleExternalEntityRef(XML_ParserStruct*, char const*, char const*, char const*, char const*): error: undefined reference to 'Poco::URI::URI(std::string const&)'
/home/johann/ofw/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(ParserEngine.o):ParserEngine.cpp:function Poco::XML::ParserEngine::handleExternalEntityRef(XML_ParserStruct*, char const*, char const*, char const*, char const*): error: undefined reference to 'Poco::URI::resolve(std::string const&)'
/home/johann/ofw/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(ParserEngine.o):ParserEngine.cpp:function Poco::XML::ParserEngine::handleExternalEntityRef(XML_ParserStruct*, char const*, char const*, char const*, char const*): error: undefined reference to 'Poco::URI::toString() const'
/home/johann/ofw/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(ParserEngine.o):ParserEngine.cpp:function Poco::XML::ParserEngine::handleExternalEntityRef(XML_ParserStruct*, char const*, char const*, char const*, char const*): error: undefined reference to 'Poco::URI::toString() const'
collect2: error: ld returned 1 exit status
/home/johann/ofw/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:403: recipe for target 'bin/projectGenerator' failed
make[1]: *** [bin/projectGenerator] Error 1
make[1]: Leaving directory '/home/johann/ofw/apps/projectGenerator/commandLine'
/home/johann/ofw/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:124: recipe for target 'Release' failed
make: *** [Release] Error 2
make: Leaving directory '/home/johann/ofw/apps/projectGenerator/commandLine'
There has been a problem compiling the command line projectGenerator.
Please report this problem in the forums.
`
I'm on linux mint Cinnamon 18.3 - gcc v 5.5.0.
Anyone know what could make it run ?
Thanks in advance.
Johann
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the command-line projectGenerator build on Linux and inspect libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk around lines 124 and 403. Review the linker command and the bundled Poco libraries referenced under addons/ofxPoco. Done means the Release build links successfully and produces bin/projectGenerator.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, linux
- Domain
- build-system, cli, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100