Skip to content

Difficult to install Handeye-Calibration-ROS #5

@Jornsd

Description

@Jornsd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions