artfulbytes / bots2d

Bots2D is a C++ framework for simulating robotics in 2D that provides boilerplate code and robotics assets to help you quickly get started.
MIT License
32 stars 12 forks source link

CMake error #3

Open embaba opened 2 years ago

embaba commented 2 years ago

CMake error on Ubuntu 20.04

CMake Error at CMakeLists.txt:53 (add_executable):
  Cannot find source file:

    controllers/NsumoController/nsumo/drive.c

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx
embaba commented 2 years ago

The solution:

Replace in .gitmodules [submodule "testapp/controllers/Sumobot4WheelExample/nsumo"] path = testapp/controllers/Sumobot4WheelExample/nsumo by [submodule "testapp/controllers/NsumoController/nsumo"] path = testapp/controllers/NsumoController/nsumo

niklasab commented 1 year ago

I will look into this as well as I write new application code for my sumo robot.