Error compiling the project generator on Manjaro


#1

I get this error:

Linking bin/projectGenerator for linux64
g++ -o bin/projectGenerator obj/linux64/Release/src/ofApp.o obj/linux64/Release/src/main.o /home/gust/Software/openFrameworks/addons/obj/linux64/Release/ofxPoco/src/ofxXmlPoco.o /home/gust/Software/openFrameworks/apps/projectGenerator/commandLine/obj/linux64/Release/addons/ofxProjectGenerator/src/utils/Utils.o /home/gust/Software/openFrameworks/apps/projectGenerator/commandLine/obj/linux64/Release/addons/ofxProjectGenerator/src/utils/LibraryBinary.o /home/gust/Software/openFrameworks/apps/projectGenerator/commandLine/obj/linux64/Release/addons/ofxProjectGenerator/src/addons/ofAddon.o /home/gust/Software/openFrameworks/apps/projectGenerator/commandLine/obj/linux64/Release/addons/ofxProjectGenerator/src/projects/CBLinuxProject.o /home/gust/Software/openFrameworks/apps/projectGenerator/commandLine/obj/linux64/Release/addons/ofxProjectGenerator/src/projects/androidStudioProject.o /home/gust/Software/openFrameworks/apps/projectGenerator/commandLine/obj/linux64/Release/addons/ofxProjectGenerator/src/projects/qtcreatorproject.o /home/gust/Software/openFrameworks/apps/projectGenerator/commandLine/obj/linux64/Release/addons/ofxProjectGenerator/src/projects/CBWinProject.o /home/gust/Software/openFrameworks/apps/projectGenerator/commandLine/obj/linux64/Release/addons/ofxProjectGenerator/src/projects/baseProject.o /home/gust/Software/openFrameworks/apps/projectGenerator/commandLine/obj/linux64/Release/addons/ofxProjectGenerator/src/projects/xcodeProject.o /home/gust/Software/openFrameworks/apps/projectGenerator/commandLine/obj/linux64/Release/addons/ofxProjectGenerator/src/projects/visualStudioProject.o /home/gust/Software/openFrameworks/libs/openFrameworksCompiled/lib/linux64/libopenFrameworks.a /home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoRedis.a /home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoNet.a /home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoFoundation.a /home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoCrypto.a /home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoJSON.a /home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoZip.a /home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoNetSSL.a /home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a /home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoUtil.a /home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoEncodings.a -Wl,-rpath=./libs:./bin/libs -Wl,–as-needed -Wl,–gc-sections -fuse-ld=gold -L/home/gust/Software/openFrameworks/libs/fmodex/lib/linux64/ -lfmodex -lPocoNetSSL -lPocoNet -lPocoCrypto -lPocoUtil -lPocoXML -lPocoFoundation -lcrypto -lssl /home/gust/Software/openFrameworks/libs/kiss/lib/linux64/libkiss.a /home/gust/Software/openFrameworks/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 -lrtaudio -ljack -lpthread -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
/usr/bin/ld.gold: error: cannot find -lPocoNetSSL
/usr/bin/ld.gold: error: cannot find -lPocoNet
/usr/bin/ld.gold: error: cannot find -lPocoCrypto
/usr/bin/ld.gold: error: cannot find -lPocoUtil
/usr/bin/ld.gold: error: cannot find -lPocoXML
/usr/bin/ld.gold: error: cannot find -lPocoFoundation
/home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(NamePool.o):NamePool.cpp:function Poco::XML::NamePool::NamePool(unsigned long): error: undefined reference to ‘Poco::Random::Random(int)’
/home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(NamePool.o):NamePool.cpp:function Poco::XML::NamePool::NamePool(unsigned long): error: undefined reference to ‘Poco::Random::seed()’
/home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(NamePool.o):NamePool.cpp:function Poco::XML::NamePool::NamePool(unsigned long): error: undefined reference to ‘Poco::Random::next()’
/home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(NamePool.o):NamePool.cpp:function Poco::XML::NamePool::NamePool(unsigned long): error: undefined reference to ‘Poco::Random::~Random()’
/home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(NamePool.o):NamePool.cpp:function Poco::XML::NamePool::NamePool(unsigned long): error: undefined reference to ‘Poco::Random::~Random()’
/home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(XMLWriter.o):XMLWriter.cpp:function Poco::XML::XMLWriter::XMLWriter(std::ostream&, int): error: undefined reference to ‘Poco::UTF8Encoding::UTF8Encoding()’
/home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(XMLWriter.o):XMLWriter.cpp:function Poco::XML::XMLWriter::XMLWriter(std::ostream&, int): error: undefined reference to ‘Poco::UTF8Encoding::UTF8Encoding()’
/home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(XMLWriter.o):XMLWriter.cpp:function Poco::XML::XMLWriter::XMLWriter(std::ostream&, int): error: undefined reference to ‘Poco::OutputStreamConverter::OutputStreamConverter(std::ostream&, Poco::TextEncoding const&, Poco::TextEncoding const&, int)’
/home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(XMLWriter.o):XMLWriter.cpp:function Poco::XML::XMLWriter::XMLWriter(std::ostream&, int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, Poco::TextEncoding&): error: undefined reference to ‘Poco::UTF8Encoding::UTF8Encoding()’
/home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(XMLWriter.o):XMLWriter.cpp:function Poco::XML::XMLWriter::XMLWriter(std::ostream&, int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, Poco::TextEncoding&): error: undefined reference to ‘Poco::OutputStreamConverter::OutputStreamConverter(std::ostream&, Poco::TextEncoding const&, Poco::TextEncoding const&, int)’
/home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(XMLWriter.o):XMLWriter.cpp:function Poco::XML::XMLWriter::XMLWriter(std::ostream&, int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, Poco::TextEncoding*): error: undefined reference to ‘Poco::UTF8Encoding::UTF8Encoding()’
/home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(XMLWriter.o):XMLWriter.cpp:function Poco::XML::XMLWriter::XMLWriter(std::ostream&, int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, Poco::TextEncoding*): error: undefined reference to ‘Poco::OutputStreamConverter::OutputStreamConverter(std::ostream&, Poco::TextEncoding const&, Poco::TextEncoding const&, int)’
/home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(XMLWriter.o):XMLWriter.cpp:function Poco::XML::XMLWriter::XMLWriter(std::ostream&, int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, Poco::TextEncoding*): error: undefined reference to ‘Poco::OutputStreamConverter::OutputStreamConverter(std::ostream&, Poco::TextEncoding const&, Poco::TextEncoding const&, int)’
/home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(AbstractContainerNode.o):AbstractContainerNode.cpp:function Poco::XML::AbstractContainerNode::findNode(__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > >&, __gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > > const&, Poco::XML::Node const*, Poco::XML::NamespaceSupport const*): error: undefined reference to ‘Poco::NumberParser::parse(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, char)’
/home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(EntityResolverImpl.o):EntityResolverImpl.cpp:function Poco::XML::EntityResolverImpl::EntityResolverImpl(): error: undefined reference to ‘Poco::URIStreamOpener::defaultOpener()’
/home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(EntityResolverImpl.o):EntityResolverImpl.cpp:function Poco::XML::EntityResolverImpl::resolveSystemId(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&): error: undefined reference to ‘Poco::URIStreamOpener::open(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) const’
/home/gust/Software/openFrameworks/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::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)’
/home/gust/Software/openFrameworks/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::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)’
/home/gust/Software/openFrameworks/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::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)’
/home/gust/Software/openFrameworks/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::toStringabi:cxx11 const’
/home/gust/Software/openFrameworks/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()’
/home/gust/Software/openFrameworks/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::toStringabi:cxx11 const’
/home/gust/Software/openFrameworks/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()’
/home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(xmlparse.o):xmlparse.cpp:function generate_hash_secret_salt(XML_ParserStruct*) [clone .isra.19]: error: undefined reference to ‘Poco::RandomInputStream::RandomInputStream()’
/home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(xmlparse.o):xmlparse.cpp:function generate_hash_secret_salt(XML_ParserStruct*) [clone .isra.19]: error: undefined reference to ‘Poco::BinaryReader::BinaryReader(std::istream&, Poco::BinaryReader::StreamByteOrder)’
/home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(xmlparse.o):xmlparse.cpp:function generate_hash_secret_salt(XML_ParserStruct*) [clone .isra.19]: error: undefined reference to ‘Poco::BinaryReader::operator>>(unsigned long&)’
/home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(xmlparse.o):xmlparse.cpp:function generate_hash_secret_salt(XML_ParserStruct*) [clone .isra.19]: error: undefined reference to ‘Poco::BinaryReader::~BinaryReader()’
/home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(xmlparse.o):xmlparse.cpp:function generate_hash_secret_salt(XML_ParserStruct*) [clone .isra.19]: error: undefined reference to ‘Poco::RandomInputStream::~RandomInputStream()’
/home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(xmlparse.o):xmlparse.cpp:function generate_hash_secret_salt(XML_ParserStruct*) [clone .isra.19]: error: undefined reference to ‘Poco::RandomInputStream::~RandomInputStream()’
/home/gust/Software/openFrameworks/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(xmlparse.o):xmlparse.cpp:function generate_hash_secret_salt(XML_ParserStruct*) [clone .isra.19]: error: undefined reference to ‘Poco::BinaryReader::~BinaryReader()’
collect2: error: ld returned 1 exit status
make[1]: *** [/home/gust/Software/openFrameworks/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:405: bin/projectGenerator] Error 1
make[1]: Leaving directory ‘/home/gust/Software/openFrameworks/apps/projectGenerator/commandLine’
make: *** [/home/gust/Software/openFrameworks/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:129: Release] Error 2
make: Leaving directory ‘/home/gust/Software/openFrameworks/apps/projectGenerator/commandLine’
There has been a problem compiling the command line projectGenerator.
Please report this problem in the forums.

Please let me know if any more information would be helpful


#2

what version of OF are you using?


#3

I believe it is 0.10.1, I am pulling from the git repo


#4

have you run the install_dependencies script lately? we fixed a poco problem with 0.10.1 but you need to run the script to install the needed dependencies and fix the poco addon.

otherwise in linux you can just use the qtcreator wizard to create projects so the project generator is not so needed


#5

Yeah I tried running install_dependencies again and it didn’t appear to do anything, I will give the qtcreator a try