Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pere0133 opened this issue Mar 12, 2024 · 3 comments
Open

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

pere0133 opened this issue Mar 12, 2024 · 3 comments

Comments

@pere0133
Copy link

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
@Mysterium-sch
Copy link

Mysterium-sch commented Mar 13, 2024

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

@lihenghitcs
Copy link

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

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

@cyao48
Copy link

cyao48 commented Apr 15, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants