Ask Your Question

Problem linking libcomm

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

flperez gravatar image

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

/opt/jderobot/lib/ referencia a CameraUtils::getImageFromCameraProxy(IceInternal::Handle<jderobot::ImageData>)' sin definir /opt/jderobot/lib/ 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 with:

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

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

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

aitormf gravatar image

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

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


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

Seen: 22 times

Last updated: Feb 15 '18