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

Error with dvxplorer_ros_driver #135

Open
jprodriguezg opened this issue Feb 23, 2022 · 2 comments
Open

Error with dvxplorer_ros_driver #135

jprodriguezg opened this issue Feb 23, 2022 · 2 comments

Comments

@jprodriguezg
Copy link

Hello!
I am having an issue with installing the dvxplorer_ros_driver package. I followed the steps on the repo but my system returns the following error:

CMakeFiles/dvxplorer_ros_driver.dir/src/driver.cpp.o: In function `dvxplorer_ros_driver::DvxplorerRosDriver::caerConnect()':
driver.cpp:(.text+0x1741): undefined reference to `caerDVXplorerInfoGet'
collect2: error: ld returned 1 exit status

libcaer_dev is installed on my computer. I checked the /usr/include/libcaer/devices/dvxplorer.h and there is the definition structure caerDVXplorerInfoGet in line 688. Any guess about how to solve this issue? I am using Ubuntu 18.04

Thanks!

Ps: I have installed both dvs_ros_driver and davis_ros_driver successfully without any error.

@jprodriguezg
Copy link
Author

The issue was solved by modifying the CMakeList.txt file (issue #120) adding the following line:

set(libcaer_DIR "/usr/lib/x86_64-linux-gnu/cmake/libcaer/")

just before

find_package(libcaer REQUIRED)

Ps: Check first that the Config files are in that location.

@jprodriguezg
Copy link
Author

Hello again,

Although I was able to compile the package, I am having issues running the dvxplorer_ros_driver node. I am having the following error:

/USER/catkin_ws/devel/lib/dvxplorer_ros_driver/dvxplorer_ros_driver: symbol lookup error: /USER/catkin_ws/devel/lib/dvxplorer_ros_driver/dvxplorer_ros_driver: undefined symbol: caerDVXplorerInfoGet
[dvxplorer/dvxplorer_ros_driver-1] process has died [pid 3025, exit code 127, cmd /USER/catkin_ws/devel/lib/dvxplorer_ros_driver/dvxplorer_ros_driver __name:=dvxplorer_ros_driver __log:=/USER/.ros/log/759cd902-94b7-11ec-ab7e-54bf6401abc3/dvxplorer-dvxplorer_ros_driver-1.log].
log file: /USER/.ros/log/759cd902-94b7-11ec-ab7e-54bf6401abc3/dvxplorer-dvxplorer_ros_driver-1*.log
all processes on machine have died, roslaunch will exit

Seems like the problem is always related to the "caerDVXplorerInfoGet". Any suggestions to solve this issue?

I am using Ubuntu 18.04, ROS melodic, and libcaer 3.3.12-1 bionic

Thanks!

@jprodriguezg jprodriguezg changed the title Error installing dvxplorer_ros_driver Error with dvxplorer_ros_driver Feb 23, 2022
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

1 participant