Open srujanpanuganti opened 3 years ago
Hi, I kind of fixed building gtsam and glog_catkin, but the opencv3_catkin still doesn't build. Here the catkin build
output
Console Output
___________________________________________________________________________________________________________________________________________________________________________________________________________
Errors << opencv3_catkin:make /home/srujan/kimera_ws/logs/opencv3_catkin/build.make.011.log
CMake Warning at /home/srujan/kimera_ws/build/opencv3_catkin/opencv3_contrib_src/modules/matlab/CMakeLists.txt:54 (message):
A required dependency of the matlab module (Python Jinja2 package) was not
found (installation command: "pip install jinja2"). Disabling Matlab
bindings...
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/gflags/gflags-targets.cmake:37 (message):
Some (but not all) targets in this export set were already defined.
Targets Defined: gflags_shared;gflags_nothreads_shared
Targets not yet defined: gflags_static;gflags_nothreads_static
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/gflags/gflags-config.cmake:10 (include)
/usr/lib/cmake/Ceres/FindGflags.cmake:327 (find_package)
/usr/lib/cmake/Ceres/CeresConfig.cmake:308 (find_package)
/home/srujan/kimera_ws/build/opencv3_catkin/opencv3_contrib_src/modules/sfm/CMakeLists.txt:8 (find_package)
make[2]: *** [opencv3_src-prefix/src/opencv3_src-stamp/opencv3_src-configure] Error 1
make[1]: *** [CMakeFiles/opencv3_src.dir/all] Error 2
make: *** [all] Error 2
cd /home/srujan/kimera_ws/build/opencv3_catkin; catkin build --get-env opencv3_catkin | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -
...........................................................................................................................................................................................................
Failed << opencv3_catkin:make [ Exited with code 2 ]
Failed <<< opencv3_catkin [ 2.6 seconds ]
Abandoned <<< kimera_rpgo [ Unrelated job failed ]
Abandoned <<< kimera_vio [ Unrelated job failed ]
Abandoned <<< kimera_vio_ros [ Unrelated job failed ]
Finished <<< gtsam [ 4.1 seconds ]
Finished <<< glog_catkin [ 0.1 seconds ]
[build] Summary: 12 of 16 packages succeeded.
[build] Ignored: None.
[build] Warnings: None.
[build] Abandoned: 3 packages were abandoned.
[build] Failed: 1 packages failed.
[build] Runtime: 5.2 seconds total.
did you solve this problem? I have exactly same problem with you
did you solve this problem? I have exactly same problem with you
I found some solutions. If you uninstall glogs & gflags already installed by apt install command, it works refer this: https://github.com/alibaba/euler/issues/158#issuecomment-585010067
Hey, in my case removing libgflags libraries helped:
sudo apt-get remove libgflags*
Found it in this discussion.
Description:
Command:
Console output:
Additional files: Please attach all the files needed to reproduce the error.
Please give also the following information:
3.2.0