how we are suppose to build movesense2.3.0. I can build the program for 2.1. and 2.2 but have not been able to build the program for movesense2.3.0. There is no movesense/sensor-build-env:2.3.0. So i use docker pull movesense/sensor-build-env:latest to setup the docker env. Which does setup it. But when i run
cmake -G Ninja -DMOVESENSE_CORE_LIBRARY=../MovesenseCoreLib/ -DCMAKE_TOOLCHAIN_FILE=../MovesenseCoreLib/toolchain/gcc-nrf52.cmake ../samples/hello_world_app/
it appears to me the docker container refers to some old files and i get this error
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as
project(ProjectName)
near the top of the file, but after cmake_minimum_required().
CMake is pretending there is a "project(Project)" command on the first
line.
This warning is for project developers. Use -Wno-dev to suppress it.
-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- Check for working C compiler: /opt/gcc-arm-none-eabi/bin/arm-none-eabi-gcc
-- Check for working C compiler: /opt/gcc-arm-none-eabi/bin/arm-none-eabi-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /opt/gcc-arm-none-eabi/bin/arm-none-eabi-gcc
-- Check for working CXX compiler: /opt/gcc-arm-none-eabi/bin/arm-none-eabi-gcc -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The ASM compiler identification is GNU
-- Found assembler: /opt/gcc-arm-none-eabi/bin/arm-none-eabi-gcc
CMake Warning at /movesense/MovesenseCoreLib/MovesenseFromStaticLib.cmake:19 (message):
Defaulting build type to 'Debug'
Call Stack (most recent call first):
CMakeLists.txt:13 (include)
Using default HWCONFIG: SS2
-- PATH_TOOL_PYTHON will use python from shell PATH
CMake Error at /movesense/MovesenseCoreLib/app-build/compiler/gcc-version-check.cmake:2 (message):
GCC C compiler version must be 12.2.1! --- (9.2.1 detected)
Call Stack (most recent call first):
/movesense/MovesenseCoreLib/app-build/compiler/GCCARM.cmake:1 (include)
/movesense/MovesenseCoreLib/MovesenseFromStaticLib.cmake:33 (include)
CMakeLists.txt:13 (include)
-- Configuring incomplete, errors occurred!
See also "/movesense/hello/CMakeFiles/CMakeOutput.log".
See also "/movesense/hello/CMakeFiles/CMakeError.log". ```
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744660599a4586438.html
评论列表(0条)