I've already seen where VS 2003 can't compile a file within OpenDX.
I've reported the bug to Microsoft but never got anywhere with it.
It's still there. The other thing I think I may be running into is
that the compiler may be picking up headers from vc6 when it
shouldn't be. I've thought about un-installing all the development
environment and just using VS 2005 and see what happens. Will
probably try this after I get the next version released.
I don't believe that I have any of the cygwin stuff creeping in--but
I wouldn't guarantee it.
Please report if you figure it out.
David
Hi David,
I was considering moving from VS 2005 to VS 2003, but using VS6 sounds
drastic. I don't have that installed anywhere any more, and the C
compiler has gotten much more correct since then. If anything, the more
recent compilers should be improvements. The kinds of errors I see cause
signal 11 (sigsegv) or heap corruption messages. Random hard failures
are typical of heap corruption.
Is it possible that you (and I) are linking against any code that was
compiled in Cygwin and, therefore, uses stdcall convention instead of
cdecl? I'm reaching for this one. I see that dxlite.lib and dxexec.lib
were linked against the dll version of the Microsoft C runtime, so they
aren't using Cygwin.
Because DXLite.lib and DXExec.lib are linked to the import stubs for the
dll C runtime, I think I can use the memory-debugging features of the
debug runtime to help establish when things go south.
Thanks,
Drew
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Thompson
Sent: Wednesday, December 14, 2005 4:16 PM
To: [email protected]
Subject: Re: [opendx-dev] problem compiling import module under Windows
Drew,
I haven't seen anything like this. I did just recompile yesterday the
entire tree with VS 2003 and used vc7, and couldn't produce a
runnable version of DX. Have you tried compiling with just VS6 based
tools?
David
--
.............................................................................
David L. Thompson Visualization and Imagery Solutions, Inc.
mailto:[EMAIL PROTECTED] 5515 Skyway Drive, Missoula, MT 59804
Phone : (406)756-7472