MacOS Building RoboGen issues

27 views
Skip to first unread message

Boyd Kane

unread,
Aug 9, 2021, 8:23:02 AM8/9/21
to RoboGen™ User Group
Hi all, I posted a Github issue (https://github.com/lis-epfl/robogen/issues/69) but thought I'd try here as well.

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?

Reply all
Reply to author
Forward
0 new messages