Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » Cmake with freertos
Cmake with freertos [message #1822870] Mon, 16 March 2020 08:45 Go to next message
joy woo is currently offline joy wooFriend
Messages: 149
Registered: May 2019
Senior Member
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!
Re: Cmake with freertos [message #1822873 is a reply to message #1822870] Mon, 16 March 2020 09:21 Go to previous messageGo to next message
Jose Maria Jesus Cabral Lassalle is currently offline Jose Maria Jesus Cabral LassalleFriend
Messages: 199
Registered: February 2016
Senior Member
Can you pleaes a printscreen of your Cmake configuration you're using.

Try running CMake as administrator
Re: Cmake with freertos [message #1822875 is a reply to message #1822873] Mon, 16 March 2020 09:44 Go to previous messageGo to next message
joy woo is currently offline joy wooFriend
Messages: 149
Registered: May 2019
Senior Member
The snapshots
  • Attachment: snap2.jpg
    (Size: 70.59KB, Downloaded 11 times)
  • Attachment: snap1.jpg
    (Size: 147.41KB, Downloaded 18 times)
Re: Cmake with freertos [message #1822878 is a reply to message #1822875] Mon, 16 March 2020 10:05 Go to previous messageGo to next message
joy woo is currently offline joy wooFriend
Messages: 149
Registered: May 2019
Senior Member
i didn't configure the cmake, it failed , can windows be ok to make cross compiling with arm gnu toolchain? I onced compiled forte with vxworks tool chain on windows

[Updated on: Mon, 16 March 2020 10:14]

Report message to a moderator

Re: Cmake with freertos [message #1822900 is a reply to message #1822878] Mon, 16 March 2020 13:39 Go to previous message
joy woo is currently offline joy wooFriend
Messages: 149
Registered: May 2019
Senior Member
Seems i shoudn't use this toolchain, i changed to linux toolchain, same as the document
Previous Topic:about log level suggestion
Next Topic:How to do multidimensional array calculation ?
Goto Forum:
  


Current Time: Sun Nov 29 12:12:58 GMT 2020

Powered by FUDForum. Page generated in 0.02354 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top