Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue compiling QT #6

Closed
adrien-jaquiery opened this issue May 7, 2022 · 2 comments
Closed

Issue compiling QT #6

adrien-jaquiery opened this issue May 7, 2022 · 2 comments

Comments

@adrien-jaquiery
Copy link

I came across an error when executing the following command:

cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DQT_FEATURE_eglfs_egldevice=ON -DQT_FEATURE_eglfs_gbm=ON
-DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON -DQT_BUILD_EXAMPLES=OFF -DQT_BUILD_TESTS=OFF
-DQT_HOST_PATH=/home/ulas/qt6Host -DCMAKE_STAGING_PREFIX=/home/ulas/qt6rpi
-DCMAKE_INSTALL_PREFIX=/home/ulas/qt6crosspi -DCMAKE_PREFIX_PATH=/home/ulas/rpi-sdk/sysroot/usr/lib/
-DCMAKE_TOOLCHAIN_FILE=/home/ulas/qt-cross/toolchain.cmake /home/ulas/qt-cross/qtbase-everywhere-src-6.3.0/

Of course i changed the username.

The error is the following:

ERROR: The OpenGL functionality tests failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2], QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.

CMake Error at cmake/QtBuildInformation.cmake:92 (message):
Check the configuration messages for an error that has occurred.
Call Stack (most recent call first):
cmake/QtBuildInformation.cmake:11 (qt_configure_print_summary)
cmake/QtBuildInternals/QtBuildInternalsConfig.cmake:489 (qt_print_feature_summary)
CMakeLists.txt:193 (qt_build_repo_end)

I am quite new to Linux and have no idea how to fix this. Could you help me ?
I added the output and the error log files. Thanks !

CMakeOutput.log
CMakeError.log

@PhysicsX
Copy link
Owner

PhysicsX commented May 7, 2022

Hello Adrien,
Did you update the sysroot correctly ? I saw this command when I enabled the es2. But in your case you did not enable it. Could you please share the history also ? I see also here fatal error: cannot find 'ld' in your log file. That can be means that you did not have good sysroot.

@adrien-jaquiery
Copy link
Author

Hello,

I initially started from Raspbian lite with manually installed desktop but I then started everything again with the 32bits desktop version of Raspbian and then everything works as it should.

Thanks you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants