Rick, Forget it ! BCB5 uses a C++ name mangling mechanism that is incompatible with VS C++. The C interface is ok, so you could try wrapping OSG in a C wrapper, otherwise (as Vladimir suggests) just recompile OSG in BCB5 (sounds so easy doesn't it!). Please scream quietly !
Regards PhilT -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Vladimir Shabanov Sent: 10 May 2007 22:57 To: osg users Subject: Re: [osg-users] Borland C++ Builder 2007/5/11, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Has anyone used the OSG with Borland C++ Builder? I typically use Visual > Studio, but in one project I may need to have the code be able to compile in > BCB as well and wanted to see if anyone had tried that. I do not believe > code compiled in BCB can call DLL's or static libs created in VS because of > differences in name mangling (?). I am using an older version of BCB (5). Didn't tried myself, but CMake has an option to produce makefiles for borland toolchain. Try `cmake -G "Borland Makefiles"', then compile using borland command line tools (make). As far as I remember BCB5 has bad STL support, so in case of STL related compilation errors try to use STLport. But maybe all will be compiled OK. _______________________________________________ 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/
