NASA-Tensegrity-Robotics-Toolkit / NTRTsim

The NASA Tensegrity Robotics Toolkit Simulator, a physics based simulator to research the design and control of tensegrity robots.
Apache License 2.0
162 stars 81 forks source link

CMake cache not deleted on build.sh -c, causes linker errors #220

Open apsabelhaus opened 6 years ago

apsabelhaus commented 6 years ago

We need to have the build script delete the CMake cache, under build/CMakeFiles and build/CMakeCache.txt, when make clean is run. (That's ./build.sh -c)

I've been getting annoying linker errors when pulling from branches where CMake assumes files are linked one way, but they're done differently in different branches. Errors appear in particular with dev/dhustigschultz/BP_SC_NoLegs_Stats, and related.

Errors are fixed by deleting the cache under the build/ directory (files listed above), or the whole build/ directory itself.