Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
6.2.1
-
None
Description
On debian, I have installed libassimp-dev. Compiling Qt3d will cause the following error:
– The CXX compiler identification is GNU 11.2.0
– The C compiler identification is GNU 11.2.0
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Check for working CXX compiler: /usr/bin/c++ - skipped
– Detecting CXX compile features
– Detecting CXX compile features - done
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working C compiler: /usr/bin/cc - skipped
– Detecting C compile features
– Detecting C compile features - done
– Looking for pthread.h
– Looking for pthread.h - found
– Performing Test CMAKE_HAVE_LIBC_PTHREAD
– Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
– Check if compiler accepts -pthread
– Check if compiler accepts -pthread - yes
– Found Threads: TRUE
– Performing Test HAVE_STDATOMIC
– Performing Test HAVE_STDATOMIC - Success
– Found WrapAtomic: TRUE
– Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
– Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1l")
– Check for feature set changes
– Using installed syncqt found at: /usr/lib/qt6/libexec/syncqt.pl
– Running syncqt for module: 'Qt3DCore'
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "zh_CN",
LC_ALL = "",
LC_MESSAGES = "",
LANG = "zh_CN.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
– Found WrapQt3DAssimp: TRUE (Required is at least version "5")
– Performing Test
CMake Error in /home/qt6/tmp/qt3d-everywhere-src-6.2.1/config.tests/assimp/CMakeLists.txt:
Imported target "WrapQt3DAssimp::WrapQt3DAssimp" includes non-existent path
"/usr/lib/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
- The path was deleted, renamed, or moved to another location.
- An install or uninstall procedure did not complete successfully.
- The installation package was faulty and references files it does not
provide.
CMake Error in /home/qt6/tmp/qt3d-everywhere-src-6.2.1/config.tests/assimp/CMakeLists.txt:
Imported target "WrapQt3DAssimp::WrapQt3DAssimp" includes non-existent path
"/usr/lib/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
- The path was deleted, renamed, or moved to another location.
- An install or uninstall procedure did not complete successfully.
- The installation package was faulty and references files it does not
provide.
CMake Error at /home/qt6/qt6-base-6.2.1/deb/qt6-base-6.2.1+dfsg/cmake/QtFeature.cmake:908 (try_compile):
Failed to generate test project build system.
Call Stack (most recent call first):
src/core/configure.cmake:15 (qt_config_compile_test)
/home/qt6/qt6-base-6.2.1/deb/qt6-base-6.2.1+dfsg/cmake/QtModuleHelpers.cmake:509 (include)
src/core/CMakeLists.txt:7 (qt_internal_add_module)