kul-optec / nmpc-codegen

C Code generation for NMPC
https://kul-forbes.github.io/nmpc-codegen/
MIT License
29 stars 4 forks source link

Cmake not available #8

Closed alphaville closed 6 years ago

alphaville commented 6 years ago

On MATLAB 2017a, I run Matlab_test_utils and I get the following result:

This script will check if the nessesary tools are available
casadi version 3.2.3[OK]
GNU compiler [OK]
make [OK]
Error cmake is not available [NOT OK]

However, cmake is installed on my system (I have cmake version 2.8.12.2).

MelisWillem commented 6 years ago

does "!cmake" work in the Matlab terminal?

alphaville commented 6 years ago

Yes, !cmake works - also status = system('cmake') works fine and returns status value 0. Maybe the correct way to check whether cmake is installed is to test system('cmake') == 0.

MelisWillem commented 6 years ago

yes seems cleaner, we should change that.