Home>

The CMakeLists.txt file looks like this:

cmake_minimum_required(VERSION 3.14)
set(CMAKE_CXX_COMPILER "/usr/bin/arm-linux-gnueabi-g++")
set(CMAKE_CXX_FLAGS "-Wall --static -marm -march=armv5tej -std=c++17 -pthread")
project(Test)
add_subdirectory(Code)

However, when I run the CMake utility, I get the error "CMake will not be able to correctly generate this porject."

The code has been tested against the standard g++ compiler, including the c++17 standard. The boost libraries are used.

Upd: Attached is the console output after executing the "cmake .." command in cmake_logfile.txt:

--The C compiler identification is GNU 11.2.0
--The CXX compiler identification is GNU 11.2.0
--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
--Detecting CXX compiler ABI info
--Detecting CXX compiler ABI info -failed
--Check for working CXX compiler: /usr/bin/arm-linux-gnueabi-g++
--Check for working CXX compiler: /usr/bin/arm-linux-gnueabi-g++ -broken
--Configuring incomplete, errors occurred!
See also "/home/user/Develop/Repos/CPP/devicebasecore/LinuxTCPServer_EB/BuildOut/CMakeFiles/CMakeOutput.log".
See also "/home/user/Develop/Repos/CPP/devicebasecore/LinuxTCPServer_EB/BuildOut/CMakeFiles/CMakeError.log".

full configuration log to the studio ...

Fat-Zer2022-02-13 00:27:13

log, CMakeFiles/CMakeError.log or CMakeFiles/CMakeOutput.log? Or?

NeutralBBName2022-02-13 00:27:13

for starters, just cmake's output ...

Fat-Zer2022-02-13 00:27:13

Added output from the console to the log file.

NeutralBBName2022-02-13 00:27:13

and where is the above CMake will not be able to correctly generate this porject? most likely, to get a normal log with the error text, it was necessary to clear the build directory ... PS: well, CMakeError.log and CMakeOutput.log are also useful for analysis (you can pastebin if it's too much for a post)

Fat-Zer2022-02-13 00:27:13