I want to run the configuration given in http://iridia.ulb.ac.be/~cpinciroli/ext ... 30.tar.bz2.
I am using the latest version of argos with lua5.2.
When I try to build the code using cmake, I get the following errors
Code: Select all
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find Lua51 (missing: LUA_LIBRARIES LUA_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindLua51.cmake:76 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:4 (find_package)
Code: Select all
[100%] Building CXX object CMakeFiles/landmarks.dir/landmarks.cpp.o
In file included from /home/lucky/Downloads/INFO-H-414-SR/src/landmarks.h:1:0,
from /home/lucky/Downloads/INFO-H-414-SR/src/landmarks.cpp:1:
/usr/include/argos3/core/simulator/loop_functions.h: In member function ‘virtual void CLandmarks::PostStep()’:
/usr/include/argos3/core/simulator/loop_functions.h:237:15: error: ‘argos::CSpace& argos::CLoopFunctions::m_cSpace’ is private
CSpace& m_cSpace;
^
/home/lucky/Downloads/INFO-H-414-SR/src/landmarks.cpp:101:34: error: within this context
CSpace::TMapPerType& cFBMap = m_cSpace.GetEntitiesByType("foot-bot");
^
In file included from /home/lucky/Downloads/INFO-H-414-SR/src/landmarks.h:1:0,
from /home/lucky/Downloads/INFO-H-414-SR/src/landmarks.cpp:1:
/usr/include/argos3/core/simulator/loop_functions.h:237:15: error: ‘argos::CSpace& argos::CLoopFunctions::m_cSpace’ is private
CSpace& m_cSpace;
^
/home/lucky/Downloads/INFO-H-414-SR/src/landmarks.cpp:121:18: error: within this context
m_cOutFile << m_cSpace.GetSimulationClock() << "\t"
^
/home/lucky/Downloads/INFO-H-414-SR/src/landmarks.cpp: In member function ‘argos::SInt32 CLandmarks::AtTarget(argos::CFootBotEntity&)’:
/home/lucky/Downloads/INFO-H-414-SR/src/landmarks.cpp:200:59: error: ‘class argos::CEmbodiedEntity’ has no member named ‘GetPosition’
if(SquareDistance(CVector2(c_fb.GetEmbodiedEntity().GetPosition().GetX(),
^
/home/lucky/Downloads/INFO-H-414-SR/src/landmarks.cpp:201:59: error: ‘class argos::CEmbodiedEntity’ has no member named ‘GetPosition’
c_fb.GetEmbodiedEntity().GetPosition().GetY()),
^
make[2]: *** [CMakeFiles/landmarks.dir/landmarks.cpp.o] Error 1
make[1]: *** [CMakeFiles/landmarks.dir/all] Error 2
make: *** [all] Error 2