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

Difficult to install Handeye-Calibration-ROS #5

Open
Jornsd opened this issue Apr 25, 2022 · 0 comments
Open

Difficult to install Handeye-Calibration-ROS #5

Jornsd opened this issue Apr 25, 2022 · 0 comments

Comments

@Jornsd
Copy link

Jornsd commented Apr 25, 2022

Hi, I trying to download and install your Handeye-Calibration-ROS package but im struggling with a lot of errors.
I am relatively new in ROS and Ubuntu. But I am missing a installation instructions on some of the Prerequisit (glog and sophus). Do I just download the zip file and that's it?

If thats the case, then it makes sense. But further on to the installation with cmake. When i run these line:

cmake \
    -D CMAKE_BUILD_TYPE=Release \
    -D OPENCV_EXTRA_MODULES_PATH= <path/to/opencv_contrib-3.4.0>/modules/ \
    -D BUILD_opencv_cudacodec=OFF \
    -D WITH_CUDA=OFF \
    -D WITH_CUBLAS=OFF \
    -D WITH_CUFFT=OFF \
    -D ENABLE_PRECOMPILED_HEADERS=OFF \
    -D CMAKE_INSTALL_PREFIX=/usr/local ..
bash: path/to/opencv_contrib-3.4.0: No such file or directory

I do not seem to find my opencv_contrib file. Even if i adjust it to the right path, I get errors like this:

cmake \
>     -D CMAKE_BUILD_TYPE=Release \
>     -D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib-3.4.0/modules/ \
>     -D BUILD_opencv_cudacodec=OFF \
>     -D WITH_CUDA=OFF \
>     -D WITH_CUBLAS=OFF \
>     -D WITH_CUFFT=OFF \
>     -D ENABLE_PRECOMPILED_HEADERS=OFF \
>     -D CMAKE_INSTALL_PREFIX=/usr/local ..
CMake Error: The source directory "/home" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

here is another try:
`cmake \

-D CMAKE_BUILD_TYPE=Release \
-D OPENCV_EXTRA_MODULES_PATH= <~/opencv_contrib-3.4.0>/modules/ \
-D BUILD_opencv_cudacodec=OFF \
-D WITH_CUDA=OFF \
-D WITH_CUBLAS=OFF \
-D WITH_CUFFT=OFF \
-D ENABLE_PRECOMPILED_HEADERS=OFF \
-D CMAKE_INSTALL_PREFIX=/usr/local ..

bash: /modules/: Is a directory
`

I reckon this is a simple error i am missing. But i have been struggling with this issue for some time now. So if someone have some guidance on how i could implement this I would really appreciate it.

PS: My opencv_contrib and Opencv file lies in the home directory.

Thanks in advance

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

1 participant