I am trying to install Acados in windows 10 to use it with Matlab. But first I have to admit that “programming” other than Matlab is not within my strengths, and less when using terminals or PowerShell.
Now back to the topic, I tried to follow each step given in the acados webpage for the installation. However, I got stuck on Build Acados part.
" Configure the cmake command if you want to use other external QP solvers or change the HPIPM and BLASFEO targets."
I opened the PowerShell, created the build folder, and there in the same PowerShell tried to configure the cmake. but I get the following errors:
CMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.
CMake Error: The source directory “C:/Users/jguerrero/Documents/acados/build” does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
PS C:\Users\jguerrero\Documents\acados\build>
but I get this warning:
CMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.
and this error:
CMake Error: The source directory “C:/Users/jguerrero/Documents/acados/build” does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
so, I went one level up, and ran the same line from acados root folder
and this time I got this warning:
CMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.
which makes me doubt if I am doing it right. Specially because what I understood from the installation steps, I should have be built it from the folder build, and not in the acados root folder.
at the end of all the lines that appear when running cmake, appears:
– Configuring done
– Generating done
– Build files have been written to: C:/Users/jguerrero/Documents/acados