Ask Your Question
0

Problem linking libcomm

asked 2018-02-14 12:23:27 -0500

flperez gravatar image

I'm trying link the library comm in a cmakelist but I receive the following message:

/opt/jderobot/lib/libcomm.so: referencia a CameraUtils::getImageFromCameraProxy(IceInternal::Handle<jderobot::ImageData>)' sin definir /opt/jderobot/lib/libcomm.so: referencia aCameraUtils::negotiateDefaultFormat(IceInternal::ProxyHandle<iceproxy::jderobot::camera>, std::_cxx11::basicstring<char, std::char_traits<char="">, std::allocator<char> > const&)' sin definir collect2: error: ld returned 1 exit status

I have linked libcomm.so with:

addlibrary(comm SHARED IMPORTED) setproperty(TARGET comm PROPERTY IMPORTED_LOCATION "/opt/jderobot/lib/libcomm.so")

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2018-02-15 02:24:33 -0500

aitormf gravatar image

updated 2018-02-15 02:25:20 -0500

sometimes It happens to me.

  1. clone repositiory once again copy
  2. the changes from old to new compile
  3. again

This solves the problems to me

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-02-14 12:23:27 -0500

Seen: 12 times

Last updated: Feb 15