Thank you Laurens,
we managed to solve the problem...I was assuming that the ive plugin didn't
depend on osg64-osgterrain.dll and osg64-osgvolume.dll (because the ive
plugin that comes with osgExp 0.9.6 actually doesn't depends on them...) so
I didn't put those DLLs in max directory. My fault.

To be complete, I used dependency walker in order to check for every other
dependency and actually found that some others dlls (png, zlib, ...) were
missing too.

Thanks again.
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

Reply via email to