Error running the trajectory experiment - Error initializing loop functions
Posted: Sat Jul 13, 2019 7:26 am
Summary: After downloading the examples and compiling them I was only able to run the ones which don't require loop functions.
Trying to run the trajectory and foraging experiments results in the following error:
and
Detailed description of the error and the system environment:
OS: Ubuntu 16.04 LTS
When I run 'cmake ..' in the build directory, this is the output:
Running 'make' yields the following result for the trajectory experiment:
argos3 -c experiments/trajectory.argos
Odd, since the required files are present, but for some reason ARGoS can't seem to locate them.
Trying to run the trajectory and foraging experiments results in the following error:
Code: Select all
[FATAL] Error initializing loop functions
[FATAL] Symbol "trajectory_loop_functions" not found
Code: Select all
[FATAL] Error initializing loop functions
[FATAL] Symbol "foraging_loop_functions" not found
OS: Ubuntu 16.04 LTS
When I run 'cmake ..' in the build directory, this is the output:
Code: Select all
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'argos3_simulator'
-- Found argos3_simulator, version 3.0.0-beta53
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
-- Found GLUT: /usr/lib/x86_64-linux-gnu/libglut.so
-- Could NOT find GALIB (missing: GALIB_LIBRARY GALIB_INCLUDE_DIR)
-- Found Lua52: /usr/lib/x86_64-linux-gnu/liblua5.2.so;/usr/lib/x86_64-linux-gnu/libm.so
-- Configuring done
-- Generating done
Code: Select all
Scanning dependencies of target trajectory_loop_functions_automoc
[ 79%] Automatic moc for target trajectory_loop_functions
[ 79%] Built target trajectory_loop_functions_automoc
Scanning dependencies of target trajectory_loop_functions
[ 81%] Building CXX object loop_functions/trajectory_loop_functions/CMakeFiles/trajectory_loop_functions.dir/trajectory_loop_functions.cpp.o
[ 82%] Building CXX object loop_functions/trajectory_loop_functions/CMakeFiles/trajectory_loop_functions.dir/trajectory_qtuser_functions.cpp.o
[ 83%] Building CXX object loop_functions/trajectory_loop_functions/CMakeFiles/trajectory_loop_functions.dir/trajectory_loop_functions_automoc.cpp.o
[ 84%] Linking CXX shared module libtrajectory_loop_functions.so
[ 84%] Built target trajectory_loop_functions
Code: Select all
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_footbot.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_dynamics2d.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3core_simulator.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_pointmass3d.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_epuck.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_qtopengl.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_prototype.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_dynamics3d.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_genericrobot.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_entities.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_eyebot.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_media.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_spiri.so"
[INFO] Not using threads
[INFO] Using random seed = 124
[INFO] Using simulation clock tick = 0.1
[INFO] Total experiment length in clock ticks = unlimited
[INFO] Loaded library "./build/controllers/footbot_diffusion/libfootbot_diffusion.so"
[INFO] Loaded library "./build/loop_functions/trajectory_loop_functions/libtrajectory_loop_functions.so"
[FATAL] Error initializing loop functions
[FATAL] Symbol "trajectory_loop_functions" not found