By the way, I'd like to build OSGExp with static links to OSG, so I built OSG (and every plugin) statically, I switched to the Static configuration defined in the OSGExp solution but I'm getting lots of linking errors (most of them are related to already defined symbols among the OSGExp's projects and a couple in libcpmt.lib).
Had you the same problem? Any suggestion about how to statically build OSGExp? By the way, how do I force linking against a plugin? Thanks. Regards. Alessandro On Mon, Mar 8, 2010 at 12:54 PM, Laurens Voerman <[email protected]> wrote: > Hi Alessandro, > I usually build the exporter with a static linked osg, so I have no recent > experience with your problem. It seems to me that you might be missing a > dependency for osgdb_ive.dll, as the osgdb_osg.dll is found and working I > can't see any reason why the ive plugin would not be found. Checking the > dependency's for my ive plugin gives me the following list (beyond the ones > required for osg) > > OSG64-OSGSIM.DLL > OSG64-OSGFX.DLL > OSG64-OSGTEXT.DLL > OSG64-OSGTERRAIN.DLL > OSG64-OSGVOLUME.DLL > > Are these all in your path or in the max directory? > > Regards, Laurens. > > alessandro terenzi wrote: > >> Thanks Laurens, >> I've solved every building problems...beyond the one described earlier, I >> could not build because I needed the Platform SDK in order to compile >> OSGExp's resources. >> >> But although the preview works fine inside 3dsMax, exporting to files do >> not... >> >> 1) if I export to .OSG then the osg file is created successfully >> >> 2) if I export to .IVE then 3dsMax crashes because the ive plugin is not >> found..but I put every osgdb_* plugins in the expected directory (ie max >> directory, same as the "osg" plugin that works) ...I also tried to put >> plugins in the osgplugins-2.8.2 sub-directory inside max dir and I also >> added the referenced CRT...but the ive plugin is never found... >> >> Any suggestion? Thanks. >> Regards. >> Alessandro >> >> >> On Mon, Mar 8, 2010 at 1:05 AM, L. Voerman <[email protected] <mailto: >> [email protected]>> wrote: >> >> I solved this like this: >> #if MAX_VERSION_MAJOR < 12 //MAX2010 >> TCHAR* renderBinName; >> #else >> const MCHAR* renderBinName; >> #endif >> for all TCHAR* in OSGHelpers.cpp (3x) >> and once "TCHAR *name;" in MtlKeeper.cpp. >> >> Laurens. >> >> alessandro terenzi wrote: >> >> Don't know if this is the right place to ask for help, but I'm >> trying to build OSGExp wrt OSG 2.9.7 and Max SDK 2010 and I get >> compile errors (many like this): >> >> 1>..\..\src\OSGExp\OSGHelpers.cpp(220) : error C2664: 'BOOL >> IParamBlock2::GetValue(ParamID,TimeValue,float &,Interval >> &,int)' : cannot convert parameter 3 from 'TCHAR *' to 'float &' >> >> I'm building using Visual C++ 2008 Express. Anyone having the >> same problem? Any suggestion? >> Thanks in advance. >> >> Kind regards. >> Alessandro >> >> >> >> ------------------------------------------------------------------------ >> >> >> _______________________________________________ >> osg-users mailing list >> [email protected] >> <mailto:[email protected]> >> >> >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> >> _______________________________________________ >> osg-users mailing list >> [email protected] >> <mailto:[email protected]> >> >> >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

