pydart2
pydart2 copied to clipboard
fatal error: dart/gui/gui.hpp: No such file or directory
I am trying to install pydart2 with dart version 6.7.2, and when I run pip install pydart2
it gives the following error:
In file included from pydart2/pydart2_shape_api.cpp:12:0:
pydart2/pydart2_manager.h:14:28: fatal error: dart/gui/gui.hpp: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
It seems that the 'gui.hpp' file do not exist in dart's folder. Can you offer some help? Thank you!
Try dart 6.3.0. From what I remember pydart2 doesn't support 6.7
Try dart 6.3.0. From what I remember pydart2 doesn't support 6.7
Thanks for the reply! But unfortunately it still doesn't work.
I checked my Dart installation and found that there is no 'gui.hpp' under dart/build/dart/gui. Does it mean that my Dart installation has problems?
Try dart 6.3.0. From what I remember pydart2 doesn't support 6.7
Update: I solved this problem by updating my cmake and installing required packages. However, new problems appear.
Commands:
git clone https://github.com/sehoonha/pydart2.git
cd pydart2
python setup.py build build_ext
Result:
pydart2/pydart2_world_api.cpp: In function ?int world__addSkeleton(int, const char*)?:
pydart2/pydart2_world_api.cpp:49:9: error: ?DartLoader? is not a member of ?dart::utils?
dart::utils::DartLoader urdfLoader;
^
pydart2/pydart2_world_api.cpp:50:16: error: ?urdfLoader? was not declared in this scope
skel = urdfLoader.parseSkeleton(path);
^
error: command 'gcc' failed with exit status 1
Do you have any idea?