Page 1 of 1

Errors on install

Posted: Sat Feb 27, 2021 11:57 pm
by d8sconz
I have closely followed three different sets of instruction with varying degrees of success. The latest iteration has resulted in the following terminal output for cmake:
CMake Error at CMakeLists.txt:831 (find_package):
By not providing "Findcasadi.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "casadi", but
CMake did not find one.

Could not find a package configuration file provided by "casadi" (requested
version 3.4.4) with any of the following names:

casadiConfig.cmake
casadi-config.cmake

Add the installation prefix of "casadi" to CMAKE_PREFIX_PATH or set
"casadi_DIR" to a directory containing one of the above files. If "casadi"
provides a separate development package or SDK, be sure it has been
installed.
Using cmake gui I can complete make, but then ctest returns
Test project /home/ross/opensim/opensim_dependencies_build
No tests were found!!!
make -install returns,
make: *** No rule to make target 'install'. Stop.
I'm on linux mint 20.1. I'm not sure what further information would help but happy to provide.

Re: Errors on install

Posted: Mon Mar 01, 2021 12:40 pm
by aymanh
Hello,

Casadi was not introduced into the code base until very recently, are you building the latest master branch on github? If so you should follow the instructions on github exclusively as the public instructions may not be updated till the public release. Please let us know where are the three instructions you found so we make sure they're up-to-date. The continuous integration build environment on github performs build on linux with every commit. You can check the log files to compare notes (though it's targeting ubuntu 18 as the default linux environment).

There are no tests for the dependencies (we assume these were separately/independently tested), only tests available in our build system are for opensim-core.

Hope this helps,
-Ayman