[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [4diac-dev] 4DIAC with STM32F4
|
Hi again,
I'm a little bit stack, I did not succeed in compiling the FORTE code. I don't know exactly which toolchain I need to specify when compiling FORTE.
I usually program my stm32F4 using C but FORTE uses c++.
Please tell me If I'm doing something wrong here.

I chose the math module. for configuration I chose to specify toolchain for cross compiling but I'm not really sure which toolchain to use.
I'm using this toolchain arm-none-eabi-g++.exe
Or should I choosethe fourth radio button. In that case I need to specify the os that will run the FORTE code which is FreeRTOS and the the c++ compiler. Again I'm having errors.
In both cases I got "error in configuration process, project file may be invalide"
I attached the error log for the two options.
Thanks
CMake Error: Error in cmake code at
C:/Program Files (x86)/GNU Tools ARM Embedded/4.9 2015q3/bin/arm-none-eabi-g++.exe:1:
Parse error. Expected a command name, got unquoted argument with text "MZ�".
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/CMakeDetermineSystem.cmake:104 (message):
Could not find toolchain file: C:/Program Files (x86)/GNU Tools ARM
Embedded/4.9 2015q3/bin/arm-none-eabi-g++.exe
Call Stack (most recent call first):
CMakeLists.txt
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 3.4)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
Configuring incomplete, errors occurred!
The C compiler identification is unknown
The CXX compiler identification is GNU 4.9.3
System is unknown to cmake, create:
Platform/FreeRTOS to use this system, please send your config file to cmake@xxxxxxxxxxxxx so it can be added to cmake
Your CMakeCache.txt file was copied to CopyOfCMakeCache.txt. Please send that file to cmake@xxxxxxxxxxxxx.
CMake Error in CMakeLists.txt:
The CMAKE_C_COMPILER:
bcc32
is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
Check for working CXX compiler: C:/Program Files (x86)/GNU Tools ARM Embedded/4.9 2015q3/bin/arm-none-eabi-c++.exe
System is unknown to cmake, create:
Platform/FreeRTOS to use this system, please send your config file to cmake@xxxxxxxxxxxxx so it can be added to cmake
CMake Error: Generator: execution of make failed. Make command was: "make" "cmTC_fe36d\fast"
Check for working CXX compiler: C:/Program Files (x86)/GNU Tools ARM Embedded/4.9 2015q3/bin/arm-none-eabi-c++.exe -- broken
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/CMakeTestCXXCompiler.cmake:54 (message):
The C++ compiler "C:/Program Files (x86)/GNU Tools ARM Embedded/4.9
2015q3/bin/arm-none-eabi-c++.exe" is not able to compile a simple test
program.
It fails with the following output:
Change Dir: D:/FORTE_exports/CMakeFiles/CMakeTmp
Run Build Command:"make" "cmTC_fe36d\fast"
The system cannot find the file specified
Generator: execution of make failed. Make command was: "make"
"cmTC_fe36d\fast"
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 3.4)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
Configuring incomplete, errors occurred!
See also "D:/FORTE_exports/CMakeFiles/CMakeOutput.log".
See also "D:/FORTE_exports/CMakeFiles/CMakeError.log".