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

Reply via email to