Skip to content

FMILibrary and MantleAPI not found during installation (Ubuntu)

Hi, I am trying to install OpenPass. I have been able to install the prerequisites using the develop branch. Now when I run the following command, it tells me that the FMILibrary and package config for MantleAPI are not found. I have confirmed that ~\deps is present and contains fmilibrary-config.cmake but does not contain mantleAPI config. I am running it in Ubuntu 20.04.

cmake -D CMAKE_PREFIX_PATH="$HOME/deps/fmilibrary;$HOME/deps/open-simulation-interface;$HOME/deps/protobuf;$HOME/deps/protobuf-shared;$HOME/deps/units;$HOME/deps/mantleapi;$HOME/deps/yase;$HOME/deps/openscenario_api;$HOME/deps/openscenario_engine;$HOME/deps/gtest;$HOME/deps/boost;$HOME/deps/qt;$HOME/deps/minizip;$HOME/deps" -D CMAKE_INSTALL_PREFIX=/usr/local/openPASS/bin/core -D CMAKE_BUILD_TYPE=Release -D USE_CCACHE=ON -D WITH_DEBUG_POSTFIX=OFF -D OPENPASS_ADJUST_OUTPUT=OFF -D INSTALL_EXTRA_RUNTIME_DEPS=ON ..
-- Found protobuf (shared): /usr/lib/x86_64-linux-gnu/libprotobuf.so
-- Found protobuf (static): /usr/lib/x86_64-linux-gnu/libprotobuf.a
-- Didn't find OSI (shared)
-- Didn't find OSI (static)
-- Didn't find OSI (pic)
-- Could NOT find FMILibrary (missing: FMILibrary_LIBRARY_DIR FMILibrary_INCLUDE_DIR) 
CMake Error at cmake/global.cmake:103 (find_package):
  Could not find a package configuration file provided by "MantleAPI" with
  any of the following names:

    MantleAPIConfig.cmake
    mantleapi-config.cmake

  Add the installation prefix of "MantleAPI" to CMAKE_PREFIX_PATH or set
  "MantleAPI_DIR" to a directory containing one of the above files.  If
  "MantleAPI" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  CMakeLists.txt:34 (include)


-- Configuring incomplete, errors occurred!
Edited by Arpan Kusari