Running the below command is okay:
cmake -DCMAKE_BUILD_TYPE=Release -G"Unix Makefiles" ../src/
But this one gives me trouble:
make -j3
At first the error I got was:
error: invalid argument '-std=c++11' not allowed with 'C'
But changing the original cmake command to the below fixed that issue (I thought it was a clang vs gcc problem):
cmake -DCMAKE_BUILD_TYPE=Release -G"Unix Makefiles" -DCMAKE_C_COMPILER=/usr/local/bin/gcc-11 -DMAKE_CXX_COMPILER=/usr/local/bin/g++-11 ../src
However now the error I'm getting is related to ODE, I think. It happens when I run `make`:
make[2]: *** No rule to make target `/usr/local/lib/libode.a', needed by `robogen-file-viewer'. Stop.
make[1]: *** [CMakeFiles/robogen-file-viewer.dir/all] Error 2
make: *** [all] Error 2
Can anyone help me out here?