Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples fail to build: fatal error: 'dart/external/ikfast/ikfast.h' file not found #1537

Open
yurivict opened this issue Feb 28, 2021 · 0 comments
Labels
type: bug Indicates an unexpected problem or unintended behavior

Comments

@yurivict
Copy link

yurivict commented Feb 28, 2021

examples is a standalone cmake project. dartsim-6.9.5 is installed ()

[ 31%] Building CXX object wam_ikfast/ikfast/CMakeFiles/wamIk.dir/ikfast71.Transform6D.4_6_9_10_11_12_f8.cpp.o
/usr/ports/misc/dartsim/work/dart-6.9.5/examples/wam_ikfast/ikfast/ikfast71.Transform6D.4_6_9_10_11_12_f8.cpp:21:10: fatal error: 'dart/external/ikfast/ikfast.h' file not found
#include "dart/external/ikfast/ikfast.h" // found inside share/openrave-X.Y/python/ikfast.h
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The header is installed:

$ ls -l /usr/local/include/dart/external/ikfast/ikfast.h
-rw-r--r--  1 root  wheel  13529 Oct 17 14:51 /usr/local/include/dart/external/ikfast/ikfast.h

After this is fixed the link error ocurrs:

[ 37%] Linking CXX shared library ../../libwamIk.so
ld: error: unable to find library -ldart

examples should discover dart either through cmake or through pkg-config scripts, but it doesn't.

@yurivict yurivict added the type: bug Indicates an unexpected problem or unintended behavior label Feb 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

1 participant