Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers.
Welcome to JeVois Tech Zone, where you can ask questions and receive answers from other members of the community.

Oooops... Caught std:exception

0 votes
I am running Ubuntu 17.10 with Jevois 1.8. I have downloaded the current versions of jevois, jevoisbase and jevois-sdk from github. I want to write my own version of a vision module. I successfully compiled jevois and jevoisbase. When I compile jevois it tells me that I have Jevois version 1.8.1. When I compile jevoisbase it tells me that I have Jevois 1.7.1. If I take any of the vision modules .so file (without making any changes to it) and replace it with the one in the camera it comes back with the following error:-

Oooops... Caught std:exception [FTL DynamicLoaderImp1:DynamicLoader: Error opening shared library [/jevois/modules/JeVois/DiceCounter.so]: libjevois.so.1.8.1: cannot open shared object file: No such file or directory.

Any idea what I am doing wrong?


asked Jun 5 in Programmer Questions by davidallan1949 (120 points)

1 Answer

0 votes
The error is because you have different versions of jevois and jevoisbase on your microSD card. To fix it, you should update everything to a single version.

Looks like you just need to do a "git pull" from inside jevoisbase/ and then "./rebuild-platform --staging" and finally use "jevois-flash-card" to reflash your microSD.

Have a look here for more info: http://jevois.org/doc/FlashingToSD.html

try the steps under "Re-flashing after some code update - full recompilation"
answered Jun 5 by JeVois (23,960 points)
Thanks for the quick reply. I reloaded jevois,jevoisbase and jevois-sdk from github and did a git pull, which reported that they were all up to date. I compiled jevois and jevoisbase and then did a jevois-flash-card. I looked at the files on the card and everything seemed to be there as before. However, when I plugged the card into the camera it now does nothing, the green light comes on (no yellow flash) and there are no comms to either the USB or hard serial. The only way to get it working was to re-flash with 1.8.0. I tried the same procedure after compiling the sdk with the same results.
BTW when I do ./rebuild-platform.sh in jevois the 5th line on the console reads "JeVois version 1.8.1"
When I do ./rebuild-platform.sh on jevoisbase the first line reads "JeVois version 1.7.1". Is this correct?