uzh-rpg / rpg_svo_example

Example node to use the SVO Installation.
268 stars 103 forks source link

fatal error: svo/common/types.h: No such file or directory #48

Closed rahulsharma11 closed 6 years ago

rahulsharma11 commented 6 years ago

Hi, while catkin build, i got error-

~/svo_install_overlay_ws/src/rpg_svo_example/svo_ros/include/svo_ros/svo_interface.h:11:30: fatal error: svo/common/types.h: No such file or directory

include <svo/common/types.h>

                          ^

compilation terminated. CMakeFiles/svo_ros.dir/build.make:62: recipe for target 'CMakeFiles/svo_ros.dir/src/svo_interface.cpp.o' failed make[2]: [CMakeFiles/svo_ros.dir/src/svo_interface.cpp.o] Error 1 CMakeFiles/Makefile2:404: recipe for target 'CMakeFiles/svo_ros.dir/all' failed make[1]: [CMakeFiles/svo_ros.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2

Any solution? Thanks.

rahulsharma11 commented 6 years ago

Hi, Got that.

ktiwari9 commented 5 years ago

Hi, I have the same error. How did you fix it?

rahulsharma11 commented 5 years ago

Hi, you can locate the file and make it available in the given directory.

Wingmore commented 4 years ago

@rahulsharma11 how do you make it available?

cumtchenchang commented 3 years ago

@Wingmore @rahulsharma11 I also want to know.

rahulsharma11 commented 3 years ago

@Wingmore , @cumtchenchang , You can provide the include path of given file in the CMakeList. Or you can copy the file directly to the include directory.