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.
Because of un-manageable amounts of spam despite our use of CAPTCHAs, email authorization, and other tools, we have discontinued this forum (see the 700k+ registered users with validated email addresses at right?). Please email us any questions or post bug reports and feature requests on GitHub at https://github.com/jevois -- The content below remains available for future reference.

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)