ori-drs / pronto_anymal_example

Example binary running the Pronto state estimator on the ANYmal B robot
24 stars 10 forks source link

compile Error ! #4

Closed shivauchiha closed 4 years ago

shivauchiha commented 4 years ago

I get the following error when compiling :

CMake Error at pronto_anymal_example/anymal_robcogen/CMakeLists.txt:37 (add_library):
  Cannot find source file:

    /home/shyam/quad_ped/src/src/transforms.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx

CMake Error: CMake can not determine linker language for target: anymal_robcogen
CMake Error: Cannot determine link language for target "anymal_robcogen".
-- Generating done
-- Build files have been written to: /home/shyam/quad_ped/build

I have added all the required packages in my catkin workspace as well .

shivauchiha commented 4 years ago

I changed the address defined in cmake file of anymal_robocogen .

set(SOURCES ${CMAKE_SOURCE_DIR}/pronto_anymal_example/anymal_robcogen/src/transforms.cpp ${CMAKE_SOURCE_DIR}/pronto_anymal_example/anymal_robcogen/src/jacobians.cpp ${CMAKE_SOURCE_DIR}/pronto_anymal_example/anymal_robcogen/src/jsim.cpp ${CMAKE_SOURCE_DIR}/pronto_anymal_example/anymal_robcogen/src/inverse_dynamics.cpp ${CMAKE_SOURCE_DIR}/pronto_anymal_example/anymal_robcogen/src/forward_dynamics.cpp ${CMAKE_SOURCE_DIR}/pronto_anymal_example/anymal_robcogen/src/inertia_properties.cpp ${CMAKE_SOURCE_DIR}/pronto_anymal_example/anymal_robcogen/src/miscellaneous.cpp)