Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.0 FF
-
None
-
e8801f888 (dev), 1b01a48cc (6.5)
Description
SHA:59bbfac36:28842c801 (meta-boot2qt:meta-qt6)
Trying to build a cmake application (command line) it fails with:
2022-12-13T01:03:02Z: LOG : -- The CXX compiler identification is unknown 2022-12-13T01:03:02Z: LOG : -- Detecting CXX compiler ABI info 2022-12-13T01:03:02Z: LOG : -- Detecting CXX compiler ABI info - failed 2022-12-13T01:03:02Z: LOG : -- Check for working CXX compiler: C:/Users/qt/RTA/B2Qt_6.5.0/6.5.0/Boot2Qt/apalis-imx6/toolchain/sysroots/x86_64-w64-mingw32/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++.exe 2022-12-13T01:03:02Z: LOG : -- Check for working CXX compiler: C:/Users/qt/RTA/B2Qt_6.5.0/6.5.0/Boot2Qt/apalis-imx6/toolchain/sysroots/x86_64-w64-mingw32/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++.exe - broken 2022-12-13T01:03:02Z: FAIL : CMake Error at C:/Users/qt/RTA/B2Qt_6.5.0/6.5.0/Boot2Qt/apalis-imx6/toolchain/sysroots/x86_64-w64-mingw32/usr/share/cmake-3.24/Modules/CMakeTestCXXCompiler.cmake:62 (message): (Screenshot taken from the desktop is invalid) 2022-12-13T01:03:02Z: LOG : The C++ compiler 2022-12-13T01:03:02Z: LOG : "C:/Users/qt/RTA/B2Qt_6.5.0/6.5.0/Boot2Qt/apalis-imx6/toolchain/sysroots/x86_64-w64-mingw32/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++.exe" 2022-12-13T01:03:02Z: LOG : is not able to compile a simple test program. 2022-12-13T01:03:02Z: LOG : It fails with the following output: 2022-12-13T01:03:02Z: LOG : Change Dir: C:/Users/qt/RTA/B2Qt_6.5.0/Examples/Qt-6.5.0/bluetooth/heartrate-game/CMakeFiles/CMakeTmp 2022-12-13T01:03:02Z: LOG : Run Build Command(s):C:\Users\qt\RTA\B2Qt_6.5.0\Tools\Ninja\ninja cmTC_1d302 && [1/2 2022-12-13T01:03:02Z: LOG : ] Building CXX object CMakeFiles\cmTC_1d302.dir\testCXXCompiler.cxx.o 2022-12-13T01:03:02Z: LOG : FAILED: CMakeFiles/cmTC_1d302.dir/testCXXCompiler.cxx.o 2022-12-13T01:03:02Z: LOG : C:\Users\qt\RTA\B2Qt_6.5.0\6.5.0\Boot2Qt\apalis-imx6\toolchain\sysroots\x86_64-w64-mingw32\usr\bin\arm-poky-linux-gnueabi\arm-poky-linux-gnueabi-g++.exe -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 --sysroot=C:/Users/qt/RTA/B2Qt_6.5.0/6.5.0/Boot2Qt/apalis-imx6/toolchain/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi -o CMakeFiles\cmTC_1d302.dir\testCXXCompiler.cxx.o -c C:\Users\qt\RTA\B2Qt_6.5.0\Examples\Qt-6.5.0\bluetooth\heartrate-game\CMakeFiles\CMakeTmp\testCXXCompiler.cxx 2022-12-13T01:03:02Z: LOG : arm-poky-linux-gnueabi-g++.exe: fatal error: cannot execute 'cc1plus': CreateProcess: No such file or directory 2022-12-13T01:03:02Z: LOG : compilation terminated. 2022-12-13T01:03:02Z: LOG : ninja: build stopped: subcommand failed. 2022-12-13T01:03:02Z: LOG : CMake will not be able to correctly generate this project. 2022-12-13T01:03:02Z: LOG : Call Stack (most recent call first): 2022-12-13T01:03:02Z: LOG : CMakeLists.txt:5 (project) 2022-12-13T01:03:02Z: LOG : -- Configuring incomplete, errors occurred! 2022-12-13T01:03:02Z: LOG : See also "C:/Users/qt/RTA/B2Qt_6.5.0/Examples/Qt-6.5.0/bluetooth/heartrate-game/CMakeFiles/CMakeOutput.log". 2022-12-13T01:03:02Z: LOG : See also "C:/Users/qt/RTA/B2Qt_6.5.0/Examples/Qt-6.5.0/bluetooth/heartrate-game/CMakeFiles/CMakeError.log".