RealTimeBiomechanics / rtosim

The real-time OpenSim extension (RTOSIM) is a set of libraries in C++ that wrap OpenSim APIs to enable the real-time computation of inverse kinematics and inverse dynamics.
Apache License 2.0
32 stars 14 forks source link

Concurrency package #8

Open bfcosta opened 5 years ago

bfcosta commented 5 years ago

While trying to build from sources with cmake, I got this error above. I couldn't see any references to this package (Concurrency) in rtosim docs. Which package is this? This was made in ubuntu 16.04.

CMake Error at CMakeLists.txt:37 (find_package): By not providing "FindConcurrency.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Concurrency", but CMake did not find one.

Could not find a package configuration file provided by "Concurrency" with any of the following names:

ConcurrencyConfig.cmake
concurrency-config.cmake

Add the installation prefix of "Concurrency" to CMAKE_PREFIX_PATH or set "Concurrency_DIR" to a directory containing one of the above files. If "Concurrency" provides a separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred!

cpizzolato commented 5 years ago

Hi @bfcosta, the Concurrency package is locate at https://github.com/RealTimeBiomechanics/Concurrency

Please let me know if that fixes the problem for you.

bfcosta commented 5 years ago

Ok, Concurrency and Filter are needed (https://github.com/RealTimeBiomechanics/Concurrency and https://github.com/RealTimeBiomechanics/Filter).

However, after installing these, the make command fails.

cd /var/tmp/bfcosta/rtosim/build/lib/Common && /usr/bin/c++ -I/var/tmp/bfcosta/opensim-release -I/var/tmp/bfcosta/rtosim/lib/Common -isystem /var/tmp/rtb-concurrency/include -std=c++1y -O3 -DNDEBUG -o CMakeFiles/Common.dir/MarkerData.cpp.o -c /var/tmp/bfcosta/rtosim/lib/Common/MarkerData.cpp In file included from /var/tmp/bfcosta/rtosim/lib/Common/MarkerData.cpp:16:0: /var/tmp/bfcosta/rtosim/lib/Common/rtosim/MarkerData.h:20:21: fatal error: Simbody.h: No such file or directory compilation terminated.

bfcosta commented 4 years ago

Any update about this issue? For some reason rtosim can't find simbody headers.