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

error occurs when building the workspace #29

Open
lxrswdd opened this issue Jan 23, 2018 · 3 comments
Open

error occurs when building the workspace #29

lxrswdd opened this issue Jan 23, 2018 · 3 comments

Comments

@lxrswdd
Copy link

lxrswdd commented Jan 23, 2018

following the steps and problem comes up after execute "catkin_make"

graspit

Thank you !

@jvarley
Copy link
Member

jvarley commented Jan 23, 2018

make sure GraspIt! is installed and able to run on your machine:
https://github.com/graspit-simulator/graspit

git clone https://github.com/graspit-simulator/graspit.git
cd graspit
mkdir build
cd build
cmake ..
make -j5
sudo make install

On Linux, you will probably want to add both of these lines to the bottom of your ~/.bashrc

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export GRASPIT=~/.graspit

If you don't want to install GraspIt! with sudo, you will need to make sure catkin can find your graspit install when you compile it (CMAKE_PREFIX_PATH I think?), and the correct LD_LIBRARY_PATH at runtime.

@samarth-robo
Copy link

samarth-robo commented Dec 14, 2018

If you installed GraspIt! to a custom location (denoted by the environment variable GRASPIT_DIR), you might face this error.
I solved it by using catkin_make -Dgraspit_DIR=${GRASPIT_DIR}/lib/cmake/graspit.
Directly modifying the CMAKE_PREFIX_PATH at the catkin_make command line caused all sorts of problems with my workspace.

@dnandha
Copy link

dnandha commented Feb 19, 2020

Really just make your that you haven't forgotten the sudo make install after compiling graspit, because that instruction is actually not in the graspit installation guide.

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

4 participants