[ODE] Windows mingw compile problems

Adam D. Moss adam at gimp.org
Sat Apr 10 14:01:11 MST 2004


Andreas Volz wrote:
> Am Sat, 10 Apr 2004 13:08:47 +0100 schrieb Adam D. Moss:
> 
>>Andreas Volz wrote:
>>
>>>What do you think about this errors?
>>>I looked into the source and there are some #ifdef WIN32 scopes,
>>>perhaps this could be important? Should there be an modified
>>>Makefile with -DWIN32? I tried it, but got the same results.
>>
>>Hmm, it looks like that code says '#ifdef WIN32' when it probably
>>means '#ifdef WE_ARE_USING_VC++_ASM_SYNTAX_AND_ON_X86'.
>>
>>I think there are only two files where this matters: IceFPU.h
>>and IceMemoryMacros.h.  Replace WIN32 with XXXWIN32 in those files
>>and try a compile again.
> 
> Ok, it compiled and my application has now no more undefined references.
> 
> Should I provide some more informations or patches to get the things I
> changed for compiling with wingw into official ODE and OPCODE source?

If someone could dig up the correct #define to detect whether
we're using a compiler (VC++ I assume) which likes that asm
syntax, then that's all we need.

Regards,
--Adam
-- 
Adam D. Moss   . ,,^^   adam at gimp.org   http://www.foxbox.org/   co:3


More information about the ODE mailing list