You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the images raspberry-pi:buster or raspberry-pi2:buster to cross compile a CMake project, CMake does not find the C++/C compiler. The error message is the following:
-- CMake Version: 3.16.3
CMake Error at /usr/share/cmake-3.16/Modules/CMakeCompilerIdDetection.cmake:26 (list):
list sub-command REMOVE_ITEM requires two or more arguments.
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:211 (compiler_id_detection)
/usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:230 (CMAKE_DETERMINE_COMPILER_ID_WRITE)
/usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:32 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
/usr/share/cmake-3.16/Modules/CMakeDetermineCCompiler.cmake:116 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:5 (PROJECT)
-- The CXX compiler identification is unknown
Apparently, Balenalib uses the backports repositories under Buster. When the CMake version is reset to Buster (3.13.4), CMake also finds the C++/C compilers. Since I don't know how far Balenalib updates the QEMU binaries, I can only limit the error to CMake.
Would it be possible to fix this bug in the images without having to downgrade the CMake version?
Thanks in advance for your help.
The text was updated successfully, but these errors were encountered:
When using the images raspberry-pi:buster or raspberry-pi2:buster to cross compile a CMake project, CMake does not find the C++/C compiler. The error message is the following:
Apparently, Balenalib uses the backports repositories under Buster. When the CMake version is reset to Buster (3.13.4), CMake also finds the C++/C compilers. Since I don't know how far Balenalib updates the QEMU binaries, I can only limit the error to CMake.
Would it be possible to fix this bug in the images without having to downgrade the CMake version?
Thanks in advance for your help.
The text was updated successfully, but these errors were encountered: