lsd_slam icon indicating copy to clipboard operation
lsd_slam copied to clipboard

LSDParamsConfig.h

Open PeteRodgers opened this issue 6 years ago • 7 comments

[ 89%] Building CXX object lsd_slam/lsd_slam_core/CMakeFiles/dataset.dir/src/main_on_images.cpp.o In file included from /home/pete/catkin_ws/src/lsd_slam/lsd_slam_core/src/main_on_images.cpp:34:0: /home/pete/catkin_ws/src/lsd_slam/lsd_slam_core/src/IOWrapper/ROS/rosReconfigure.h:25:43: fatal error: lsd_slam_core/LSDParamsConfig.h: No such file or directory compilation terminated. lsd_slam/lsd_slam_core/CMakeFiles/dataset.dir/build.make:62: recipe for target 'lsd_slam/lsd_slam_core/CMakeFiles/dataset.dir/src/main_on_images.cpp.o' failed make[2]: *** [lsd_slam/lsd_slam_core/CMakeFiles/dataset.dir/src/main_on_images.cpp.o] Error 1 CMakeFiles/Makefile2:2263: recipe for target 'lsd_slam/lsd_slam_core/CMakeFiles/dataset.dir/all' failed make[1]: *** [lsd_slam/lsd_slam_core/CMakeFiles/dataset.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j1 -l1" failed

I can't find the files requested. Any ideas whats going on?

Thanks in advance.

PeteRodgers avatar Mar 07 '18 15:03 PeteRodgers

Do you have the latest master from this fork?

kevin-george avatar Mar 08 '18 03:03 kevin-george

Thank you for your response. Yeah i am using the latest version of master from your repo.

PeteRodgers avatar Mar 08 '18 09:03 PeteRodgers

pete@PeteUbuntu:~/catkin_ws/src/lsd_slam$ git status On branch master Your branch is up-to-date with 'origin/master'. nothing to commit, working directory clean

PeteRodgers avatar Mar 11 '18 16:03 PeteRodgers

Sorry about the delay, I moved to Ubuntu 17.10 without realizing that neither kinetic nor lunar is supported on it. I'll check this out soon!

kevin-george avatar Mar 11 '18 17:03 kevin-george

@PeteRodgers Are you using a virtual machine? I only had this error with VirtualBox.

Luedeke avatar Apr 05 '18 17:04 Luedeke

I found the issue. Several headers are created using dynamic_reconfigure, but they may be created after the node, causing the build to fail, as the node requires the headers, but they are not ready yet. A more thorough explanation can be found here: https://answers.ros.org/question/285772/dynamic-reconfigure-headers-not-generated/

Add the following line to add_dependencies in CMakeLists.txt for both the viewer and the core to ensure they are built before any files requiring them.

add_dependencies(your_program ${${PROJECT_NAME}_EXPORTED_TARGETS})

Hope this helps.

BW25 avatar Feb 01 '19 20:02 BW25

what should I write in your_program @BW25 ...

abdur4373 avatar Jul 03 '19 05:07 abdur4373