[ODE] beginner compiling problems

Rune Håkansson Rune Håkansson
Thu Jul 3 00:46:00 2003


Hey Chris,

Wednesday, July 2, 2003, 12:28:31 PM, you wrote:
CE> ./configurator.exe include/ode/config.h "cl /nologo /DWIN32 /DMSVC
CE> /DSHAREDLIBIM
CE> PORT=__declspec(dllimport)
CE> /DSHAREDLIBEXPORT=__declspec(dllexport)  
CE> /DdNODEBUG /
CE> Fe" "tools\rm"
CE> Der Befehl "." ist entweder falsch geschrieben oder
CE> konnte nicht gefunden werden.
CE> make: *** [include/ode/config.h] Error 1
CE> (trans: the command "." is either incorrectly written or
CE> cannot be found)
I get this error as well - I guess all Windows users do since ./ is
not valid on Windows. Here is how to fix the problem.

Go and edit the Makefile in the main ODE folder.
Find line 301 and replace it with the following:

ifeq ($(WINDOWS),1)
     $(CONFIGURATOR_EXE) $(CONFIG_H) "$(CC) $(DEFINES) $(C_EXEOUT)"
"$(DEL_CMD)" $(THIS_DIR)
else
    ./$(CONFIGURATOR_EXE) $(CONFIG_H) "$(CC) $(DEFINES) $(C_EXEOUT)"
"$(DEL_CMD)" $(THIS_DIR)
endif

That did the trick for me :)


/Rune Håkansson

NB!: This is a re-send using a regged e-mail addy...maybe this time it
will make it to ode@q12.org.