Cmake with freertos [message #1822870] |
Mon, 16 March 2020 04:45  |
Eclipse User |
|
|
|
unfortrunatly,i follow the document fail at the first step,
https://www.eclipse.org/4diac/en_help.php?helppage=html/installation/freeRTOSLwIP.html
i c
The C compiler identification is GNU 9.2.1
The CXX compiler identification is GNU 9.2.1
System is unknown to cmake, create:
Platform/freeRTOS to use this system, please post your config file on discourse.cmake.org so it can be added to cmake
Your CMakeCache.txt file was copied to CopyOfCMakeCache.txt. Please post that file on discourse.cmake.org.
Check for working C compiler: D:/Program Files (x86)/GNU Tools Arm Embedded/9 2019-q4-major/bin/arm-none-eabi-gcc.exe
System is unknown to cmake, create:
Platform/freeRTOS to use this system, please post your config file on discourse.cmake.org so it can be added to cmake
Check for working C compiler: D:/Program Files (x86)/GNU Tools Arm Embedded/9 2019-q4-major/bin/arm-none-eabi-gcc.exe - broken
CMake Error at D:/Program Files/cmake-3.17.0-rc3-win64-x64/share/cmake-3.17/Modules/CMakeTestCCompiler.cmake:60 (message):
The C compiler
"D:/Program Files (x86)/GNU Tools Arm Embedded/9 2019-q4-major/bin/arm-none-eabi-gcc.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: D:/dev/industry/project/forte-incubation_1.11.0/arm7/CMakeFiles/CMakeTmp
Run Build Command(s):D:/PROGRA~3/MINGW-~1/X86_64~1.0-P/mingw64/bin/make.exe cmTC_11bbb/fast && D:/PROGRA~3/MINGW-~1/X86_64~1.0-P/mingw64/bin/make.exe -f CMakeFiles/cmTC_11bbb.dir/build.make CMakeFiles/cmTC_11bbb.dir/build
make.exe[1]: Entering directory 'D:/dev/industry/project/forte-incubation_1.11.0/arm7/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_11bbb.dir/testCCompiler.c.obj
"D:/Program Files (x86)/GNU Tools Arm Embedded/9 2019-q4-major/bin/arm-none-eabi-gcc.exe" -o CMakeFiles/cmTC_11bbb.dir/testCCompiler.c.obj -c D:/dev/industry/project/forte-incubation_1.11.0/arm7/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_11bbb
"D:/Program Files (x86)/GNU Tools Arm Embedded/9 2019-q4-major/bin/arm-none-eabi-gcc.exe" "CMakeFiles/cmTC_11bbb.dir/testCCompiler.c.obj" -o cmTC_11bbb
d:/program files (x86)/gnu tools arm embedded/9 2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: d:/program files (x86)/gnu tools arm embedded/9 2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib\libc.a(lib_a-exit.o): in function `exit':
exit.c:(.text.exit+0x2c): undefined reference to `_exit'
collect2.exe: error: ld returned 1 exit status
make.exe[1]: *** [CMakeFiles/cmTC_11bbb.dir/build.make:103: cmTC_11bbb] Error 1
make.exe[1]: Leaving directory 'D:/dev/industry/project/forte-incubation_1.11.0/arm7/CMakeFiles/CMakeTmp'
make.exe: *** [Makefile:138: cmTC_11bbb/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:17 (PROJECT)
Configuring incomplete, errors occurred!
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04892 seconds