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]
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

Reply via email to