dSPACE acados cross compile

Hello, I’m trying to dSPACE & acados cross compile.

I’m proceeding with reference to Embedded Workflow — acados documentation .

when I run this command (cmake -D CMAKE_TOOLCHAIN_FILE=…/cmake/Toolchain-dSPACEDS1202.cmake -G “Unix Makefiles” -S …/ -B ./)

I’m getting the error message below, is there any way to fix it?


CMake Deprecation Warning at CMakeLists.txt:32 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.

Update the VERSION argument value or use a … suffix to tell
CMake that the project does not need compatibility with older versions.

– The C compiler identification is unknown
– The CXX compiler identification is unknown
System is unknown to cmake, create:
Platform/dSpaceDS1403 to use this system, please post your config file on discourse.cmake.org so it can be added to cmake
CMake Error at CMakeLists.txt:39 (project):
No CMAKE_C_COMPILER could be found.

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.

CMake Error at CMakeLists.txt:39 (project):
No CMAKE_CXX_COMPILER could be found.

Tell CMake where to find the compiler by setting either the environment
variable “CXX” or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.

Hi,

it seems you don’t provide a valid Toolchain file.
This file is not part of acados but has a different name.
It also might take some effort to adapt the paths to your system.

Good luck!