Cross Compile make error BBB
-
Hi,
When I executed the "make -j4" command I'm receiving errors.
I followed the steps to install all the dependencies for opengl and X11 including installing the command build-dep qqt5-default and build-dep qt5-qmake and got the same error everytime.
Does anyone is familiar with this:
make[3]: Entering directory '/home/nt/opt/bbbqt5/bqt/qtdeclarative/tools/qmltestrunner' /home/nt/opt/arm-toolchain/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -Wl,-rpath-link,/home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/home/nt/opt/mnt/rootfs/usr/lib -Wl,-rpath-link,/home/nt/opt/mnt/rootfs/lib/arm-linux-gnueabihf -mfloat-abi=hard --sysroot=/home/nt/opt/mnt/rootfs -Wl,-O1 -Wl,--enable-new-dtags -Wl,-z,origin -Wl,-rpath,\$ORIGIN/../lib -Wl,-rpath-link,/home/nt/opt/bbbqt5/bqt/qtdeclarative/lib -Wl,-rpath-link,/home/nt/opt/bbbqt5/bqt/qtbase/lib -o ../../bin/qmltestrunner .obj/main.o -L/home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/ /home/nt/opt/bbbqt5/bqt/qtdeclarative/lib/libQt5QuickTest.so /home/nt/opt/bbbqt5/bqt/qtbase/lib/libQt5Widgets.so /home/nt/opt/bbbqt5/bqt/qtbase/lib/libQt5Gui.so /home/nt/opt/bbbqt5/bqt/qtdeclarative/lib/libQt5Qml.so /home/nt/opt/bbbqt5/bqt/qtbase/lib/libQt5Network.so /home/nt/opt/bbbqt5/bqt/qtbase/lib/libQt5Test.so /home/nt/opt/bbbqt5/bqt/qtbase/lib/libQt5Core.so /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libGLESv2.so -lpthread -lrt -lpthread -ldl /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QFontEngine::glyphCache(void const*, QFontEngine::GlyphFormat, QTransform const&) const@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::Object::call(QV4::Managed const*, QV4::CallData*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QQmlAccessorProperties::registerProperties(QMetaObject const*, int, QQmlAccessorProperties::Property*)@Qt_5' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QQmlMemoryScope::QQmlMemoryScope(QUrl const&)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QQmlBinding::QQmlBinding(QString const&, QObject*, QQmlContextData*, QString const&, unsigned short, unsigned short)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::Object::defineDefaultProperty(QString const&, unsigned long long (*)(QV4::CallContext*), int)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::Object::setLookup(QV4::Managed*, QV4::Lookup*, QV4::Value const&)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::Object::put(QV4::Managed*, QV4::String*, QV4::Value const&)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::Object::putIndexed(QV4::Managed*, unsigned int, QV4::Value const&)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::QObjectWrapper::advanceIterator(QV4::Managed*, QV4::ObjectIterator*, QV4::Value*, unsigned int*, QV4::Property*, QV4::PropertyAttributes*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::QObjectWrapper::isEqualTo(QV4::Managed*, QV4::Managed*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::Object::advanceIterator(QV4::Managed*, QV4::ObjectIterator*, QV4::Value*, unsigned int*, QV4::Property*, QV4::PropertyAttributes*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::Object::deleteProperty(QV4::Managed*, QV4::String*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QQmlOpenMetaObject::setValue(QByteArray const&, QVariant const&)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::FunctionObject::createQmlFunction(QQmlContextData*, QObject*, QV4::Function*, QList<QByteArray> const&, QString*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QQmlBinding::QQmlBinding(QQmlScriptString const&, QObject*, QQmlContext*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::Object::defineAccessorProperty(QV4::String*, unsigned long long (*)(QV4::CallContext*), unsigned long long (*)(QV4::CallContext*))@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::Value::toString(QV4::ExecutionEngine*) const@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QJSEnginePrivate::createCache(QMetaObject const*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QQmlPropertyPrivate::setBinding(QQmlAbstractBinding*, QFlags<QQmlPropertyPrivate::BindingFlag>, QFlags<QQmlPropertyPrivate::WriteFlag>)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QQmlBinding::update(QFlags<QQmlPropertyPrivate::WriteFlag>)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QQmlBoundSignalExpression::QQmlBoundSignalExpression(QObject*, int, QQmlContextData*, QObject*, QV4::Function*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::MemoryManager::allocData(unsigned int, unsigned int)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::CompiledData::Binding::valueAsString(QV4::CompiledData::Unit const*) const@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::Managed::isEqualTo(QV4::Managed*, QV4::Managed*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::Object::get(QV4::Managed const*, QV4::String*, bool*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QQmlPropertyCache::parent() const@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QDistanceField::QDistanceField(QDistanceField const&)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::QObjectWrapper::markWrapper(QObject*, QV4::ExecutionEngine*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::Object::markObjects(QV4::Heap::Base*, QV4::ExecutionEngine*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::Object::query(QV4::Managed const*, QV4::String*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QQmlVMEMetaObject::QQmlVMEMetaObject(QObject*, QQmlPropertyCache*, QQmlVMEMetaData const*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::Object::getIndexed(QV4::Managed const*, unsigned int, bool*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QQmlMemoryScope::QQmlMemoryScope(char const*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::Value::toBoolean() const@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::Object::deleteIndexedProperty(QV4::Managed*, unsigned int)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::Object::defineAccessorProperty(QString const&, unsigned long long (*)(QV4::CallContext*), unsigned long long (*)(QV4::CallContext*))@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::QObjectWrapper::get(QV4::Managed const*, QV4::String*, bool*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::Primitive::toInt32(double)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::Object::getLength(QV4::Managed const*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QQmlMemoryScope::~QQmlMemoryScope()@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::Object::queryIndexed(QV4::Managed const*, unsigned int)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QQmlBinding::QQmlBinding(QV4::Value const&, QObject*, QQmlContextData*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QQmlPropertyPrivate::write(QQmlProperty const&, QVariant const&, QFlags<QQmlPropertyPrivate::WriteFlag>)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::QObjectWrapper::query(QV4::Managed const*, QV4::String*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::QObjectWrapper::markObjects(QV4::Heap::Base*, QV4::ExecutionEngine*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::Object::setPrototype(QV4::Object*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::Heap::QObjectWrapper::QObjectWrapper(QObject*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::Value::toNumberImpl() const@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::QObjectWrapper::put(QV4::Managed*, QV4::String*, QV4::Value const&)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::Object::getLookup(QV4::Managed const*, QV4::Lookup*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QQmlBinding::QQmlBinding(QString const&, QObject*, QQmlContext*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV4::Object::construct(QV4::Managed const*, QV4::CallData*)@Qt_5_PRIVATE_API' /home/nt/opt/mnt/rootfs/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QOpenGLTextureGlyphCache::QOpenGLTextureGlyphCache(QFontEngine::GlyphFormat, QTransform const&)@Qt_5_PRIVATE_API' collect2: error: ld returned 1 exit status Makefile:68: recipe for target '../../bin/qmltestrunner' failed make[3]: *** [../../bin/qmltestrunner] Error 1 make[3]: Leaving directory '/home/nt/opt/bbbqt5/bqt/qtdeclarative/tools/qmltestrunner' Makefile:332: recipe for target 'sub-qmltestrunner-make_first' failed make[2]: *** [sub-qmltestrunner-make_first] Error 2 make[2]: Leaving directory '/home/nt/opt/bbbqt5/bqt/qtdeclarative/tools' Makefile:74: recipe for target 'sub-tools-make_first' failed make[1]: *** [sub-tools-make_first] Error 2 make[1]: Leaving directory '/home/nt/opt/bbbqt5/bqt/qtdeclarative' Makefile:336: recipe for target 'module-qtdeclarative-make_first' failed make: *** [module-qtdeclarative-make_first] Error 2
-
@ununez said in Cross Compile make error BBB:
When I executed the "make -j4"
could you please just run "make" to see the exact error...
-
@Pablo-J-Rogina Thanks for your reply, I got the same error (undefined references),
Maybe you can help me out to find another way. I'm just trying to deploy a qml app into the beaglebone, I'm was able to set up with opengl es 2, but the x11 wasn't configured correctly, then I found I need the build-dep qt5-default command.
Currently it would be ok if I could display the app through ssh or by hdmi into another monitor, but I've not idea how to achieve it.
does the build dependencies command is really necessary?
We can this topic in Spanish so I can explain it better (Mexican here)
-
Some help would be really appreciate it with this error (I'm missing something or I'm doing something wrong but I got lost between the text):
QML debugging is enabled. Only use this in a safe environment. QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/QtforBBB/plugins/platforms" ... QFactoryLoader::QFactoryLoader() looking at "/usr/local/QtforBBB/plugins/platforms/libqeglfs.so" Found metadata in lib /usr/local/QtforBBB/plugins/platforms/libqeglfs.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "eglfs" ] }, "archreq": 0, "className": "QEglFSIntegrationPlugin", "debug": false, "version": 330752 } Got keys from plugin meta data ("eglfs") QFactoryLoader::QFactoryLoader() looking at "/usr/local/QtforBBB/plugins/platforms/libqlinuxfb.so" Found metadata in lib /usr/local/QtforBBB/plugins/platforms/libqlinuxfb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "linuxfb" ] }, "archreq": 0, "className": "QLinuxFbIntegrationPlugin", "debug": false, "version": 330752 } Got keys from plugin meta data ("linuxfb") QFactoryLoader::QFactoryLoader() looking at "/usr/local/QtforBBB/plugins/platforms/libqminimal.so" Found metadata in lib /usr/local/QtforBBB/plugins/platforms/libqminimal.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "minimal" ] }, "archreq": 0, "className": "QMinimalIntegrationPlugin", "debug": false, "version": 330752 } Got keys from plugin meta data ("minimal") QFactoryLoader::QFactoryLoader() looking at "/usr/local/QtforBBB/plugins/platforms/libqminimalegl.so" Found metadata in lib /usr/local/QtforBBB/plugins/platforms/libqminimalegl.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "minimalegl" ] }, "archreq": 0, "className": "QMinimalEglIntegrationPlugin", "debug": false, "version": 330752 } Got keys from plugin meta data ("minimalegl") QFactoryLoader::QFactoryLoader() looking at "/usr/local/QtforBBB/plugins/platforms/libqoffscreen.so" Found metadata in lib /usr/local/QtforBBB/plugins/platforms/libqoffscreen.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "offscreen" ] }, "archreq": 0, "className": "QOffscreenIntegrationPlugin", "debug": false, "version": 330752 } Got keys from plugin meta data ("offscreen") QFactoryLoader::QFactoryLoader() looking at "/usr/local/QtforBBB/plugins/platforms/libqvnc.so" Found metadata in lib /usr/local/QtforBBB/plugins/platforms/libqvnc.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "vnc" ] }, "archreq": 0, "className": "QVncIntegrationPlugin", "debug": false, "version": 330752 } Got keys from plugin meta data ("vnc") QFactoryLoader::QFactoryLoader() looking at "/usr/local/QtforBBB/plugins/platforms/libqwebgl.so" Found metadata in lib /usr/local/QtforBBB/plugins/platforms/libqwebgl.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "webgl" ] }, "archreq": 0, "className": "QWebGLIntegrationPlugin", "debug": false, "version": 330752 } Got keys from plugin meta data ("webgl") QFactoryLoader::QFactoryLoader() looking at "/usr/local/QtforBBB/plugins/platforms/libqxcb.so" Found metadata in lib /usr/local/QtforBBB/plugins/platforms/libqxcb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "xcb" ] }, "archreq": 0, "className": "QXcbIntegrationPlugin", "debug": false, "version": 330752 } Got keys from plugin meta data ("xcb") QFactoryLoader::QFactoryLoader() checking directory path "/home/debian/BBBSample/platforms" ... loaded library "/usr/local/QtforBBB/plugins/platforms/libqxcb.so" qt.qpa.xcb: could not connect to display :0.0 qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. loaded library "/usr/local/QtforBBB/plugins/platforms/libqeglfs.so" QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/QtforBBB/plugins/platformthemes" ... QFactoryLoader::QFactoryLoader() looking at "/usr/local/QtforBBB/plugins/platformthemes/libqxdgdesktopportal.so" Found metadata in lib /usr/local/QtforBBB/plugins/platformthemes/libqxdgdesktopportal.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1", "MetaData": { "Keys": [ "xdgdesktopportal", "flatpak", "snap" ] }, "archreq": 0, "className": "QXdgDesktopPortalThemePlugin", "debug": false, "version": 330752 } Got keys from plugin meta data ("xdgdesktopportal", "flatpak", "snap") QFactoryLoader::QFactoryLoader() checking directory path "/home/debian/BBBSample/platformthemes" ... QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/QtforBBB/plugins/egldeviceintegrations" ... QFactoryLoader::QFactoryLoader() looking at "/usr/local/QtforBBB/plugins/egldeviceintegrations/libqeglfs-emu-integration.so" Found metadata in lib /usr/local/QtforBBB/plugins/egldeviceintegrations/libqeglfs-emu-integration.so, metadata= { "IID": "org.qt-project.qt.qpa.egl.QEglFSDeviceIntegrationFactoryInterface.5.5", "MetaData": { "Keys": [ "eglfs_emu" ] }, "archreq": 0, "className": "QEglFSEmulatorIntegrationPlugin", "debug": false, "version": 330752 } Got keys from plugin meta data ("eglfs_emu") QFactoryLoader::QFactoryLoader() looking at "/usr/local/QtforBBB/plugins/egldeviceintegrations/libqeglfs-kms-egldevice-integration.so" Found metadata in lib /usr/local/QtforBBB/plugins/egldeviceintegrations/libqeglfs-kms-egldevice-integration.so, metadata= { "IID": "org.qt-project.qt.qpa.egl.QEglFSDeviceIntegrationFactoryInterface.5.5", "MetaData": { "Keys": [ "eglfs_kms_egldevice" ] }, "archreq": 0, "className": "QEglFSKmsEglDeviceIntegrationPlugin", "debug": false, "version": 330752 } Got keys from plugin meta data ("eglfs_kms_egldevice") QFactoryLoader::QFactoryLoader() looking at "/usr/local/QtforBBB/plugins/egldeviceintegrations/libqeglfs-x11-integration.so" Found metadata in lib /usr/local/QtforBBB/plugins/egldeviceintegrations/libqeglfs-x11-integration.so, metadata= { "IID": "org.qt-project.qt.qpa.egl.QEglFSDeviceIntegrationFactoryInterface.5.5", "MetaData": { "Keys": [ "eglfs_x11" ] }, "archreq": 0, "className": "QEglFSX11IntegrationPlugin", "debug": false, "version": 330752 } Got keys from plugin meta data ("eglfs_x11") QFactoryLoader::QFactoryLoader() checking directory path "/home/debian/BBBSample/egldeviceintegrations" ... EGLFS: Failed to open /dev/fb0 EGLFS: Can't continue without a display 17:51:59: Remote process crashed.
This is the ldd result:
linux-vdso.so.1 (0xbefeb000) libQt5XcbQpa.so.5 => /usr/local/QtforBBB/plugins/platforms/./../../lib/libQt5XcbQpa.so.5 (0xb6e03000) libfontconfig.so.1 => /usr/lib/arm-linux-gnueabihf/libfontconfig.so.1 (0xb6dcb000) libfreetype.so.6 => /usr/lib/arm-linux-gnueabihf/libfreetype.so.6 (0xb6d52000) libQt5Gui.so.5 => /usr/local/QtforBBB/plugins/platforms/./../../lib/libQt5Gui.so.5 (0xb6960000) libQt5DBus.so.5 => /usr/local/QtforBBB/plugins/platforms/./../../lib/libQt5DBus.so.5 (0xb68e9000) libQt5Core.so.5 => /usr/local/QtforBBB/plugins/platforms/./../../lib/libQt5Core.so.5 (0xb64bb000) libGLESv2.so.2 => /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2 (0xb649d000) libX11-xcb.so.1 => /usr/lib/arm-linux-gnueabihf/libX11-xcb.so.1 (0xb648b000) libxcb.so.1 => /usr/lib/arm-linux-gnueabihf/libxcb.so.1 (0xb6463000) libXrender.so.1 => /usr/lib/arm-linux-gnueabihf/libXrender.so.1 (0xb644c000) libXext.so.6 => /usr/lib/arm-linux-gnueabihf/libXext.so.6 (0xb6431000) libX11.so.6 => /usr/lib/arm-linux-gnueabihf/libX11.so.6 (0xb633d000) libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb62c5000) librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0xb62af000) libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb628b000) libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb6278000) libxkbcommon-x11.so.0 => /usr/lib/arm-linux-gnueabihf/libxkbcommon-x11.so.0 (0xb6262000) libxkbcommon.so.0 => /usr/lib/arm-linux-gnueabihf/libxkbcommon.so.0 (0xb6222000) libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0xb6116000) libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb60ed000) libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb5ffd000) libgthread-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgthread-2.0.so.0 (0xb5feb000) libglib-2.0.so.0 => /lib/arm-linux-gnueabihf/libglib-2.0.so.0 (0xb5f10000) /lib/ld-linux-armhf.so.3 (0xb6f40000) libexpat.so.1 => /lib/arm-linux-gnueabihf/libexpat.so.1 (0xb5ee8000) libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0xb5ec6000) libpng16.so.16 => /usr/lib/arm-linux-gnueabihf/libpng16.so.16 (0xb5e96000) libicui18n.so.57 => /usr/lib/arm-linux-gnueabihf/libicui18n.so.57 (0xb5ce9000) libicuuc.so.57 => /usr/lib/arm-linux-gnueabihf/libicuuc.so.57 (0xb5bc0000) libicudata.so.57 => /usr/lib/arm-linux-gnueabihf/libicudata.so.57 (0xb4333000) libGLdispatch.so.0 => /usr/lib/arm-linux-gnueabihf/libGLdispatch.so.0 (0xb42b5000) libXau.so.6 => /usr/lib/arm-linux-gnueabihf/libXau.so.6 (0xb42a8000) libXdmcp.so.6 => /usr/lib/arm-linux-gnueabihf/libXdmcp.so.6 (0xb4294000) libxcb-xkb.so.1 => /usr/lib/arm-linux-gnueabihf/libxcb-xkb.so.1 (0xb4272000) libpcre.so.3 => /lib/arm-linux-gnueabihf/libpcre.so.3 (0xb4213000) libbsd.so.0 => /lib/arm-linux-gnueabihf/libbsd.so.0 (0xb41f0000)
-
@ununez said in Cross Compile make error BBB:
qt.qpa.xcb: could not connect to display :0.0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.What do you actually want to use on the device: X11 or EGLFS?
-
@ununez said in Cross Compile make error BBB:
qt.qpa.xcb: could not connect to display :0.0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.In this case, the xcb plugin is available so you can either run an X server in the BBB (I'm not sure if that option is feasible, I don't have experience with such boards) or connect to the BBB device via SSH with X forwarding from any host running X and the Qt app will display locally as a windows in your host.
-
@jsulm Hi, well I wanted to configured both, but I don't mind to use egfls, the purpose is to display through a TFT device (I haven't bough it yet), so I think if I can deploy and see into the HDMI it would be fine for me. but I've not idea how.
-
@Pablo-J-Rogina said in Cross Compile make error BBB:
In this case, the xcb plugin is available so you can either run an X server in the BBB (I'm not sure if that option is feasible, I don't have experience with such boards) or connect to the BBB device via SSH with X forwarding from any host running X and the Qt app will display locally as a windows in your host.
Thanks Pablo, I'll continue working on this, for what I'm being searching, maybe I forgot to install a package.
-
Please help me out to understand this:
QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/QtforBBB/plugins" ... QFactoryLoader::QFactoryLoader() checking directory path "/home/debian/BBBSample" ... QFactoryLoader::QFactoryLoader() looking at "/home/debian/BBBSample/BBBSample" *"Failed to extract plugin meta data from '/home/debian/BBBSample/BBBSample'" not a plugin* QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/QtforBBB/plugins/platforms" ...
I definitively don't have anything on the path that failed, but I cannot understand why is looking there.
Did I configured something wrong?
The QT libraries are located on /usr/local/QtforBBB.
The packages installed, have the libraries on /usr/lib/arm-linux-gnueabihf
I'm trying to deploy the sample on /home/debian/ -
@Pablo-J-Rogina , Hi. I have a few questions, just asking for a guide, does it really necessary to install the build-dep qt5-default or qt5-qmake.
Do you have an idea of how to configure eglfs? I always got the dev/fbo not found error.
-
@ununez I don't have experience with a BBB device myself, but given it has an OS (i.e. Debian Linux) and you're have to install Qt dependencies on it, I guess you'll be able to follow this guide (intended for RPi devices).
In addition, some time ago somebody provided a PDF to this forum with detailed steps about cross-compiling Qt for Beablebone. You may want to search it just in case.
2/11