An error compiling ODE…

Hmm, I just got this error after running make:

process_begin: CreateProcess(NULL, cc -MMD -D_DEBUG -DdSINGLE -DWIN32 -DODE_DLL
-DdSINGLE -I../../include -I../../ode/src -I../../ode/src/joints -I../../OPCODE
-I../../GIMPACT/include -I../../ou/include -g -o obj/DebugSingleDLL/ode/fastlsol
ve.o -c ../../ode/src/fastlsolve.c, ...) failed.
make (e=2): The system cannot find the file specified.
make[1]: *** [obj/DebugSingleDLL/ode/fastlsolve.o] Error 2
make: *** [ode] Error 2

After unsuccessfully searching the ODE mailing list archives for “fastlsolve”, google revealed to me that the file which could not be found was actually cc not fastlsolve.c (and so CreateProcess was failing).

Evidently I don’t have cc on my system. I’m not even sure what cc is. The C compiler?

Anyway the quick and simple fix is to make a copy of gcc and name it cc. Is that an OK thing to do? Who knows. But it works!

Leave a Reply