MIT-SPARK / Kimera-VIO

Visual Inertial Odometry with SLAM capabilities and 3D Mesh generation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fatal error: dllexport.h: No such file or directory

pere0133 opened this issue · comments

Description:
I am trying to install Kimera-VIO-ROS but I am running into an error message whenever I try to do catkin build. I would appreciate the help. Thank you!

Command:

catkin build

Console output:


```c++

``` catkin_ws/devel/include/gtsam/3rdparty/cephes/cephes.h:4:10: fatal error: dllexport.h: No such file or directory
    4 | #include "dllexport.h"

...
Summary: 11 of 14 packages succeeded.

Additional files:

Please give also the following information:

  • Kimera-Vio branch, tag or commit used
  • GTSAM version used: 4.2
  • OpenGV version used:
  • OpenCV version used: type opencv_version: 4.2
  • Operating system and version: (Ubuntu 20.04 & Windows 11)
  • Did you change the source code? (yes / no): no

I am having this issue too. I deleted the gtsam in the src folder and then installed it with this command. This seemed to resolve the issue.

add-apt-repository ppa:borglab/gtsam-release-4.2 &&
apt update &&
apt install -y libgtsam-dev libgtsam-unstable-dev

cd catkin_ws/src/gtsam
git reset --hard 686e16aaae26c9a4f23d4af7f2d4a504125ec9c3

It works because the latest commit of gtsam tested is 686e16aaae26c9a4f23d4af7f2d4a504125ec9c3, given by
Kimera-RPGO

I'm having the same issue, and after trying the two solutions above I am getting this error:

Errors     << kimera_rpgo:make /home/user/catkin_ws/logs/kimera_rpgo/build.make.000.log                                                                              
/usr/bin/ld: CMakeFiles/GenerateTrajectories.dir/examples/GenerateTrajectories.cpp.o: undefined reference to symbol '_ZN3tbb8internal25deallocate_via_handler_v3EPv'
/usr/bin/ld: /lib/x86_64-linux-gnu/libtbb.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/GenerateTrajectories.dir/build.make:95: GenerateTrajectories] Error 1
make[1]: *** [CMakeFiles/Makefile2:328: CMakeFiles/GenerateTrajectories.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

Would greatly appreciate any help with resolving this issue!