Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Another problem in compiling HPlayer "Undefined references"

$
0
0

@minizzZ wrote:

Hello again,
I’m still trying to install PocketVJ on a Raspberry Pi 3B+ and the HPlayer compile has stopped because poco has url reference problems.

Does anybody have the answer?

This is what I see in the terminal:

../../../libs/openFrameworksCompiled/lib/linuxarmv6l/libopenFrameworks.a(ofImage.o): In function `bool loadImage<float>(ofPixels_<float>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
ofImage.cpp:(.text+0x237c): undefined reference to `Poco::URI::URI(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
../../../libs/openFrameworksCompiled/lib/linuxarmv6l/libopenFrameworks.a(ofImage.o): In function `bool loadImage<unsigned short>(ofPixels_<unsigned short>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
ofImage.cpp:(.text+0x2830): undefined reference to `Poco::URI::URI(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
../../../libs/openFrameworksCompiled/lib/linuxarmv6l/libopenFrameworks.a(ofImage.o): In function `bool loadImage<unsigned char>(ofPixels_<unsigned char>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
ofImage.cpp:(.text+0x2ce4): undefined reference to `Poco::URI::URI(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
../../../libs/openFrameworksCompiled/lib/linuxarmv6l/libopenFrameworks.a(ofUtils.o): In function `ofLaunchBrowser(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)':
ofUtils.cpp:(.text+0x870c): undefined reference to `Poco::URI::URI(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ofUtils.cpp:(.text+0x8734): undefined reference to `Poco::URI::setQuery(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ofUtils.cpp:(.text+0x8760): undefined reference to `Poco::URI::toString[abi:cxx11]() const'
ofUtils.cpp:(.text+0x8948): undefined reference to `Poco::URI::toString[abi:cxx11]() const'
../../../libs/openFrameworksCompiled/lib/linuxarmv6l/libopenFrameworks.a(ofURLFileLoader.o): In function `ofURLFileLoaderImpl::threadedFunction()':
ofURLFileLoader.cpp:(.text+0x3c58): undefined reference to `Poco::Thread::setName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ofURLFileLoader.cpp:(.text+0x53ac): undefined reference to `Poco::SystemException::SystemException(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
ofURLFileLoader.cpp:(.text+0x5430): undefined reference to `Poco::SystemException::SystemException(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
../../../libs/openFrameworksCompiled/lib/linuxarmv6l/libopenFrameworks.a(ofURLFileLoader.o): In function `ofURLFileLoaderImpl::handleRequest(ofHttpRequest)':
ofURLFileLoader.cpp:(.text+0x5e3c): undefined reference to `Poco::URI::URI(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ofURLFileLoader.cpp:(.text+0x5e54): undefined reference to `Poco::URI::getPathAndQuery[abi:cxx11]() const'
ofURLFileLoader.cpp:(.text+0x5ea0): undefined reference to `Poco::Net::HTTPRequest::HTTPRequest(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ofURLFileLoader.cpp:(.text+0x5ec0): undefined reference to `Poco::Net::NameValueCollection::add(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ofURLFileLoader.cpp:(.text+0x5f28): undefined reference to `Poco::Net::HTTPSClientSession::HTTPSClientSession(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned short)'
ofURLFileLoader.cpp:(.text+0x6238): undefined reference to `Poco::Net::HTTPClientSession::HTTPClientSession(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned short)'
ofURLFileLoader.cpp:(.text+0x63f0): undefined reference to `Poco::Exception::displayText[abi:cxx11]() const'
ofURLFileLoader.cpp:(.text+0x6484): undefined reference to `Poco::Exception::displayText[abi:cxx11]() const'
ofURLFileLoader.cpp:(.text+0x66e8): undefined reference to `Poco::Net::HTTPRequest::HTTP_GET[abi:cxx11]'
ofURLFileLoader.cpp:(.text+0x66ec): undefined reference to `Poco::Net::HTTPMessage::HTTP_1_1[abi:cxx11]'
../../../libs/openFrameworksCompiled/lib/linuxarmv6l/libopenFrameworks.a(ofURLFileLoader.o): In function `ofURLFileLoaderImpl::ofURLFileLoaderImpl()':
ofURLFileLoader.cpp:(.text+0x7208): undefined reference to `Poco::Net::Context::Context(Poco::Net::Context::Usage, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Poco::Net::Context::VerificationMode, int, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ofURLFileLoader.cpp:(.text+0x77bc): undefined reference to `Poco::Exception::displayText[abi:cxx11]() const'
ofURLFileLoader.cpp:(.text+0x791c): undefined reference to `Poco::Exception::displayText[abi:cxx11]() const'
../../../libs/openFrameworksCompiled/lib/linuxarmv6l/libopenFrameworks.a(ofURLFileLoader.o): In function `Poco::ScopedLock<Poco::FastMutex>::~ScopedLock()':
ofURLFileLoader.cpp:(.text._ZN4Poco10ScopedLockINS_9FastMutexEED2Ev[_ZN4Poco10ScopedLockINS_9FastMutexEED5Ev]+0x5c): undefined reference to `Poco::SystemException::SystemException(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
../../../libs/openFrameworksCompiled/lib/linuxarmv6l/libopenFrameworks.a(ofThread.o): In function `ofThread::run()':
ofThread.cpp:(.text+0x284): undefined reference to `Poco::Exception::displayText[abi:cxx11]() const'
../../../libs/openFrameworksCompiled/lib/linuxarmv6l/libopenFrameworks.a(ofThread.o): In function `ofThread::ofThread()':
ofThread.cpp:(.text+0x6f4): undefined reference to `Poco::Thread::setName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
../../../libs/openFrameworksCompiled/lib/linuxarmv6l/libopenFrameworks.a(ofThread.o): In function `ofThread::getThreadName[abi:cxx11]() const':
ofThread.cpp:(.text+0xce0): undefined reference to `Poco::SystemException::SystemException(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
ofThread.cpp:(.text+0xd3c): undefined reference to `Poco::SystemException::SystemException(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
../../../addons/obj/linuxarmv6l/Release/ofxCrypto/src/ofxCrypto.o: In function `ofxCrypto::md5(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
ofxCrypto.cpp:(.text+0x12c4): undefined reference to `Poco::DigestEngine::digestToHex[abi:cxx11](std::vector<unsigned char, std::allocator<unsigned char> > const&)'
../../../addons/obj/linuxarmv6l/Release/ofxCrypto/src/ofxCrypto.o: In function `ofxCrypto::sha1(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
ofxCrypto.cpp:(.text+0x1320): undefined reference to `Poco::DigestEngine::digestToHex[abi:cxx11](std::vector<unsigned char, std::allocator<unsigned char> > const&)'
../../../libs/poco/lib/linuxarmv6l/libPocoCrypto.a(OpenSSLInitializer.o): In function `Poco::Crypto::OpenSSLInitializer::uninitialize()':
OpenSSLInitializer.cpp:(.text+0x290): undefined reference to `EVP_cleanup'
OpenSSLInitializer.cpp:(.text+0x294): undefined reference to `ERR_free_strings'
OpenSSLInitializer.cpp:(.text+0x29c): undefined reference to `CRYPTO_set_locking_callback'
OpenSSLInitializer.cpp:(.text+0x2a4): undefined reference to `CRYPTO_set_id_callback'
OpenSSLInitializer.cpp:(.text+0x2f0): undefined reference to `CONF_modules_free'
../../../libs/poco/lib/linuxarmv6l/libPocoCrypto.a(OpenSSLInitializer.o): In function `Poco::Crypto::OpenSSLInitializer::initialize()':
OpenSSLInitializer.cpp:(.text+0x374): undefined reference to `SSL_library_init'
OpenSSLInitializer.cpp:(.text+0x378): undefined reference to `SSL_load_error_strings'
OpenSSLInitializer.cpp:(.text+0x37c): undefined reference to `OPENSSL_add_all_algorithms_noconf'
OpenSSLInitializer.cpp:(.text+0x3a4): undefined reference to `CRYPTO_num_locks'
OpenSSLInitializer.cpp:(.text+0x408): undefined reference to `CRYPTO_set_locking_callback'
OpenSSLInitializer.cpp:(.text+0x410): undefined reference to `CRYPTO_set_id_callback'
OpenSSLInitializer.cpp:(.text+0x418): undefined reference to `CRYPTO_set_dynlock_create_callback'
OpenSSLInitializer.cpp:(.text+0x420): undefined reference to `CRYPTO_set_dynlock_lock_callback'
OpenSSLInitializer.cpp:(.text+0x428): undefined reference to `CRYPTO_set_dynlock_destroy_callback'
../../../libs/poco/lib/linuxarmv6l/libPocoNetSSL.a(Context.o): In function `Poco::Net::Context::createSSLContext()':
Context.cpp:(.text+0x794): undefined reference to `SSLv23_client_method'
Context.cpp:(.text+0x7a4): undefined reference to `SSLv23_server_method'
../../../libs/poco/lib/linuxarmv6l/libPocoCrypto.a(X509Certificate.o): In function `Poco::Crypto::X509Certificate::extractNames(std::string&, std::set<std::string, std::less<std::string>, std::allocator<std::string> >&) const':
X509Certificate.cpp:(.text+0xe88): undefined reference to `sk_num'
X509Certificate.cpp:(.text+0xe9c): undefined reference to `sk_value'
collect2: error: ld returned 1 exit status
../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:382: recipe for target 'bin/HPlayer' failed
make[1]: *** [bin/HPlayer] Error 1
make[1]: Leaving directory '/home/pi/openFrameworks/apps/myApps/HPlayer'
../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:125: recipe for target 'Release' failed
make: *** [Release] Error 2

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles