Skip to content

Errors with cakin build #17

@Vishnu-AP

Description

@Vishnu-AP

Hi there!

After follwing the setup instructions, I face this issue when I run catkin build:


Errors << kimera_vio_ros:make /catkin_ws/logs/kimera_vio_ros/build.make.000.log
/usr/bin/ld: cannot find -lpango_core
/usr/bin/ld: cannot find -lpango_display
/usr/bin/ld: cannot find -lpango_geometry
/usr/bin/ld: cannot find -lpango_glgeometry
/usr/bin/ld: cannot find -lpango_image
/usr/bin/ld: cannot find -lpango_opengl
/usr/bin/ld: cannot find -lpango_packetstream
/usr/bin/ld: cannot find -lpango_plot
/usr/bin/ld: cannot find -lpango_python
/usr/bin/ld: cannot find -lpango_scene
/usr/bin/ld: cannot find -lpango_tools
/usr/bin/ld: cannot find -lpango_vars
/usr/bin/ld: cannot find -lpango_video
/usr/bin/ld: cannot find -lpango_windowing
/usr/bin/ld: cannot find -ltinyobj
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/kimera_vio_ros.dir/build.make:450: /catkin_ws/devel/lib/libkimera_vio_ros.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:413: CMakeFiles/kimera_vio_ros.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
cd /catkin_ws/build/kimera_vio_ros; catkin build --get-env kimera_vio_ros | catkin env -si /usr/bin/make --jobserver-auth=3,4; cd -


I have built and used Kimera-VIO-ROS with Kimera-Semantics and I did not face this issue.
Additional info: I had to install libepoxy-dev and I had to change the pangolin branch to v0.9.2 tag since I was getting this error:


Errors << pangolin:make /catkin_ws/logs/pangolin/build.make.000.log
In file included from /usr/include/OpenEXR/ImfXdr.h:108,
from /usr/include/OpenEXR/ImfGenericOutputFile.h:40,
from /usr/include/OpenEXR/ImfTiledOutputFile.h:50,
from /usr/include/OpenEXR/ImfInputFile.h:48,
from /catkin_ws/src/pangolin/components/pango_image/src/image_io_exr.cpp:8:
/usr/include/OpenEXR/half.h: In member function ‘half half::round(unsigned int) const’:
/usr/include/OpenEXR/half.h:515:10: error: implicitly-declared ‘constexpr half::half(const half&)’ is deprecated [-Werror=deprecated-copy]
515 | return *this;
| ^~~~
/usr/include/OpenEXR/half.h:121:13: note: because ‘half’ has user-provided ‘half& half::operator=(half)’
121 | half & operator = (half h);
| ^~~~~~~~
/usr/include/OpenEXR/half.h:558:12: error: implicitly-declared ‘constexpr half::half(const half&)’ is deprecated [-Werror=deprecated-copy]
558 | return h;
| ^
/usr/include/OpenEXR/half.h:121:13: note: because ‘half’ has user-provided ‘half& half::operator=(half)’
121 | half & operator = (half h);
| ^~~~~~~~
/usr/include/OpenEXR/half.h: In member function ‘half half::operator-() const’:
/usr/include/OpenEXR/half.h:571:12: error: implicitly-declared ‘constexpr half::half(const half&)’ is deprecated [-Werror=deprecated-copy]
571 | return h;
| ^
/usr/include/OpenEXR/half.h:121:13: note: because ‘half’ has user-provided ‘half& half::operator=(half)’
121 | half & operator = (half h);
| ^~~~~~~~
/usr/include/OpenEXR/half.h: In static member function ‘static half half::posInf()’:
/usr/include/OpenEXR/half.h:717:12: error: implicitly-declared ‘constexpr half::half(const half&)’ is deprecated [-Werror=deprecated-copy]
717 | return h;
| ^
/usr/include/OpenEXR/half.h:576:1: note: because ‘half’ has user-provided ‘half& half::operator=(half)’
576 | half::operator = (half h)
| ^~~~
/usr/include/OpenEXR/half.h: In static member function ‘static half half::negInf()’:
/usr/include/OpenEXR/half.h:726:12: error: implicitly-declared ‘constexpr half::half(const half&)’ is deprecated [-Werror=deprecated-copy]
726 | return h;
| ^
/usr/include/OpenEXR/half.h:576:1: note: because ‘half’ has user-provided ‘half& half::operator=(half)’
576 | half::operator = (half h)
| ^~~~
/usr/include/OpenEXR/half.h: In static member function ‘static half half::qNan()’:
/usr/include/OpenEXR/half.h:735:12: error: implicitly-declared ‘constexpr half::half(const half&)’ is deprecated [-Werror=deprecated-copy]
735 | return h;
| ^
/usr/include/OpenEXR/half.h:576:1: note: because ‘half’ has user-provided ‘half& half::operator=(half)’
576 | half::operator = (half h)
| ^~~~
/usr/include/OpenEXR/half.h: In static member function ‘static half half::sNan()’:
/usr/include/OpenEXR/half.h:744:12: error: implicitly-declared ‘constexpr half::half(const half&)’ is deprecated [-Werror=deprecated-copy]
744 | return h;
| ^
/usr/include/OpenEXR/half.h:576:1: note: because ‘half’ has user-provided ‘half& half::operator=(half)’
576 | half::operator = (half h)
| ^~~~
At global scope:
cc1plus: error: unrecognized command line option ‘-Wno-deprecated-register’ [-Werror]
cc1plus: error: unrecognized command line option ‘-Wno-null-pointer-subtraction’ [-Werror]
cc1plus: error: unrecognized command line option ‘-Wno-null-pointer-arithmetic’ [-Werror]
cc1plus: all warnings being treated as errors
make[2]: *** [CMakeFiles/pango_image.dir/build.make:89: CMakeFiles/pango_image.dir/components/pango_image/src/image_io_exr.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:779: CMakeFiles/pango_image.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:130: all] Error 2
cd /catkin_ws/build/pangolin; catkin build --get-env pangolin | catkin env -si /usr/bin/make --jobserver-auth=3,4; cd -


Would be of great if you can help me fix this. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions