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

fatal error: dart/gui/gui.hpp: No such file or directory #25

Open
NagisaZj opened this issue Mar 27, 2022 · 3 comments
Open

fatal error: dart/gui/gui.hpp: No such file or directory #25

NagisaZj opened this issue Mar 27, 2022 · 3 comments

Comments

@NagisaZj
Copy link

NagisaZj commented Mar 27, 2022

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!

@VincentYu68
Copy link
Collaborator

Try dart 6.3.0. From what I remember pydart2 doesn't support 6.7

@NagisaZj
Copy link
Author

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?

@NagisaZj
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants