Hi Ben

This topic has been discussed several times, this is MHO and experience of
some quite knowledgeable folks at Sensor.com

DO NOT mix DLL's and Lib's  from VC6.0 and V.7x  or VC8.0, while some people
have managed to get away with  they are very very lucky..


Our  experience and advice is simple DO NOT mix,   build ALL you DLL's,
Libs, EXE's in the same compiler

STL has chnaged bewteen version, 

Strings have been re-written completely esepcailly the way they cheat with
small strings, these will blow up in your face very quickly

Memory Allocators have changed

.Net for those that use it has changed

Run-time Libraries have changed, you will end up with multiple copies,
multiple heaps not good


The only exception would be for pure C libraries, but I would still highly
recommend that you don't mix any thing, 

Again from my own experience and folks who know a lot more than me (I know
that's not hard) don't MIX versions

Take the extra minutes and compile in that same compiler

Repeat have me 

DO NOT MIX DLL's LIBS" from different compilers versions

DO NOT MIX DLL's LIBS" from different compilers versions

DO NOT MIX DLL's LIBS" from different compilers versions

DO NOT MIX DLL's LIBS" from different compilers versions

DO NOT MIX DLL's LIBS" from different compilers versions
....
...
...
..
..

Best Regards 
 

Gordon

__________________________________________________________

Gordon Tomlinson
Email         : [EMAIL PROTECTED]
YIM/AIM       : Gordon3dBrit
MSN IM        : [EMAIL PROTECTED]
Website       : www.3dscenegraph.com
__________________________________________________________

"Self defence is not a function of learning tricks 
but is a function of how quickly and intensely one 
can arouse one's instinct for survival" 
- Master Tambo Tetsura


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ben Discoe
Sent: Tuesday, October 03, 2006 6:56 PM
To: [email protected]
Subject: [osg-users] OSG binary comptilibity between VC7.1 and VC8?


I'd like to provide a single set of pre-compiled libraries (including OSG)
for people who are going to link their projects with them.  These people
might be using VC7.1 or VC8 (aka. "Microsoft Visual C++ Studio .NET 2005
[Standard/Professional/Express] Edition 8.0")

In most cases, working with VC8, you can use .lib/.dll that were built with
VC7.1 (or before).

But in the case of OSG, it appears to not _quite_ work.  I'm seeing a
situation where an application class derived from an OSG class via multiple
inheritance seems to be packing its members differently, which of course
quickly leads to a crash.

Has anyone else encountered this?  Anyone finding binary compatibility
between VC7.1 and VC8?  Or do we /need/ to built OSG and our apps with the
same compiler version?

In case anyone cares about my ongoing VC8 migration process, it is described
at http://vterrain.org/Implementation/vc8.html

Thanks,
Ben

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to