resilient-swarms / thymio

Thymio simulator based on ARGoS framework
2 stars 2 forks source link

undefined symbol _ZNK8fipImage4saveEPKci #7

Open alacalcasis opened 3 years ago

alacalcasis commented 3 years ago

Hi, i'm trying to run thymio experiments but get this message:

argos3: symbol lookup error /usr/local/lib/argos3/libargos3core_simulator.so: undefined symbol _ZNK8fipImage4saveEPKci

Any idea of what's wrong? I really appreciate any help...

bossdm commented 3 years ago

So it appears there is some linking error with one of the symbols from argos3 not being linked. It appears to be related to images, so maybe it relates to FreeImage. Maybe you can link the freeimage in cmake? some useful commands are here: https://stackoverflow.com/questions/27312905/cmake-link-a-library-a-so.

If that does not work, could you give some more details? For example, are you compiling on your laptop or raspberry pi? Also the output of cmake and make would be useful.

alacalcasis commented 3 years ago

Thank you, I don't know exactly how, but could solve that issue. Now i'm trying to run all the examples. No problem with thymio_diffusion, but when i try to run the other ones I get:

[FATAL] Error initializing controllers [FATAL] Can't load library "build/src/testing/accelerometer_test/libaccelerometer_test" even after trying to add extensions for shared library (so) and module library (so): /usr/local/lib/argos3/build/src/testing/accelerometer_test/libaccelerometer_test: /usr/local/lib/argos3/build/src/testing/accelerometer_test/libaccelerometer_test: cannot open shared object file: No such file or directory /usr/local/lib/argos3/build/src/testing/accelerometer_test/libaccelerometer_test.so: /usr/local/lib/argos3/build/src/testing/accelerometer_test/libaccelerometer_test.so: cannot open shared object file: No such file or directory /usr/local/lib/argos3/build/src/testing/accelerometer_test/libaccelerometer_test.so: OK

and similar for the other ones. Thus tried to build all the other examples individually, but then get the initial problem with Lua which I thought it was already solved, thank you in advance for any help, cheers!

bossdm commented 3 years ago

Is this problem resolved? In terms of Lua, there was an update to the issue https://github.com/resilient-swarms/thymio/issues/6. the cmake code and readme have been updated, perhaps this could help you as well.

If you still had the issue recently, then you might best pull the latest version and then see if it remains.