Using additional 3rd party library results in run-time error

Use this forum to report bugs or ask for help

Moderator: kilo

Using additional 3rd party library results in run-time error

Postby RockinRhythm » Thu Nov 20, 2014 7:53 pm

For the purpose of robot development, I want to use Armadillo, a C++ linear algebra library. I went through the library installation process, included it in my robot.cpp file as
Code: Select all
#include <armadillo>
and implemented some basic code. Command sequence
Code: Select all
make; make install; speed-dreams-2
runs with no errors, but when I am about to send my robot out on track, this pops up during the loading screen:
Code: Select all
speed-dreams-2: symbol lookup error: /usr/local/lib64/games/speed-dreams-2/drivers/ascari/ascari.so: undefined symbol: wrapper_dgesv_

Does anyone know what may be the cause here? Do I need to write some additional CMake code to make it work, and if so, can some one give some hints how to go about this? I have no prior experience with CMake.

Thank you very much!

Edit:
Not sure if this would work, but basically I am looking to achieve something like this:
Code: Select all
g++ ... speed-dreams linking shit ... -larmadillo
or
Code: Select all
g++ ... speed-dreams linking shit ... -llapack -lblas

through CMake? (lapack and blas are libraries armadillo depends on).
RockinRhythm
 
Posts: 5
Joined: Mon Feb 24, 2014 7:58 pm

Return to Problems, Fixes & Help

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron