Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers. Note that due to large amounts of spam attempts, your first three posts will be manually moderated, so please be patient.
We have moved to a new forum at http://jevois.usc.edu, please check it out. The forum at jevois.org/qa will not allow new user registrations but is maintained alive for its useful past questions and answers.

jevois-daemon fails on undefined symbol

0 votes

After build is done, tried to run the daemon as suggested.  Got a linker error:

$ jevois-daemon
INF Engine::Engine: Loaded 40 vision processing modes.
ERR Engine::onParamChange: Cannot set cpu max frequency -- IGNORED
ERR Engine::onParamChange: Cannot set cpu frequency governor mode -- IGNORED
INF Engine::onParamChange: Using [stdio] hardware (4-pin connector) serial port
INF Engine::onParamChange: No USB serial port used
INF Engine::postInit: Starting camera device /dev/video0
ERR Engine::postInit: Could not access VFE turbo parameter -- IGNORED
INF Camera::Camera: [9] V4L2 camera /dev/video0 card Integrated_Webcam_HD bus usb-0000:00:14.0-11
INF Engine::postInit: Using display for video output
INF Engine::setFormatInternal: OUT: YUYV 640x300 @ 60fps CAM: YUYV 320x240 @ 60fps MOD: JeVois:DemoSaliency
INF Camera::setFormat: Camera set video format to 320x240 YUYV
INF Engine::setFormatInternal: Instantiating dynamic loader for /jevois/modules/JeVois/DemoSaliency/DemoSaliency.so
FTL DynamicLoaderImpl::DynamicLoader: Error opening shared library [/jevois/modules/JeVois/DemoSaliency/DemoSaliency.so]: /usr/local/lib/libjevoisbase.so.1.0: undefined symbol: _ZTIN3tbb4taskE
terminate called after throwing an instance of 'std::runtime_error'
  what():  FTL DynamicLoaderImpl::DynamicLoader: Error opening shared library [/jevois/modules/JeVois/DemoSaliency/DemoSaliency.so]: /usr/local/lib/libjevoisbase.so.1.0: undefined symbol: _ZTIN3tbb4taskE
Aborted (core dumped)

asked Feb 18, 2017 in Programmer Questions by Photon (320 points)

1 Answer

0 votes
Looks like it is not finding TBB, can you confirm that libtbb-dev was installed

sudo apt-get install libtbb-dev

If fact, probably if you used the easy install you still need all the packages for opencv 3.2, see line 123 of INSTALL in jevois/ and try to run that line

We will move that line up in the instructions so everyone runs it.
answered Feb 18, 2017 by JeVois (46,580 points)
...