Did a debug on the collada loading problems Im experiencing:

Traced it down to
DynamicLibrary.cpp line 96.

#if defined(WIN32) && !defined(__CYGWIN__)
    handle = LoadLibrary( libraryName.c_str() );

It has the right path, but the WindowsSDK call LoadLibrary fails
(returns NULL).

Works as I said with just about any other model...
Something is wrong with the dll file that I have generated, I just can
figure out what..


________________________________________________________________
 Anders Backman               Email:    [EMAIL PROTECTED]
 HPC2N/VRlab                  Phone:    +46 (0)90-786 9936
 Umea university              Cellular: +46 (0)70-392 64 67
 S-901 87 UMEA SWEDEN         Fax:      +46 90-786 6126
                               http://www.cs.umu.se/~andersb
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Anders Backman
> Sent: den 29 september 2006 14:18
> To: 'osg users'
> Subject: [osg-users] Unable to load collada plugin
> 
> 
> Hi all.
> 
> I just downloaded the Collada DOM/DAE compiled it with no 
> problems, then I did a CVS update on osg and compiled the 
> osgCollada plugin which resulted in the ordinary osgdb_ files.
> 
> 
>  Directory of d:\tools\c3d_dependencies\OpenSceneGraph\bin\win32
> 
> 2006-09-29  13:57         2 768 896 osgdb_dae.dll
> 2006-09-29  13:45         3 702 784 osgdb_daeD.dll
>                2 File(s)      6 471 680 bytes
>                0 Dir(s)  11 440 709 632 bytes free
> 
> 
> Now for some strange reason when I try to load a dae model 
> (just made a box in Sketchup and exported it to a kmz from 
> which I extracted the dae
> file) I get the message: 
> 
> Warning: Could not find plugin to read objects from file "test.dae".
> osgviewer: No data loaded
> 
> With OSG_NOTIFY_LEVEL=DEBUG I get:
> 
> FindFileInPath() : trying c:\bin/osgdb_dae.dll ... 
> itr='C:\Program Files\CVSNT\'
> FindFileInPath() : trying C:\Program 
> Files\CVSNT\/osgdb_dae.dll ... 
> itr='d:\tools\c3d_dependencies\c3ddeps_dev\bin'
> FindFileInPath() : trying 
> d:\tools\c3d_dependencies\c3ddeps_dev\bin/osgdb_dae.dll ... 
> itr='d:\tools\c3d_dependencies\OpenSceneGraph\bin\win32'
> FindFileInPath() : trying 
> d:\tools\c3d_dependencies\OpenSceneGraph\bin\win32/osgdb_dae.dll ...
> FindFileInPath() : USING 
> d:\tools\c3d_dependencies\OpenSceneGraph\bin\win32/osgdb_dae.dll
> DynamicLibrary::failed loading "osgdb_dae.dll"
> Warning: Could not find plugin to read objects from file "test.dae".
> osgviewer: No data loaded
> 
> So it actually finds the osgdb_dae.dll and tries to load it, 
> but it fails.
> 
> Which can be seen when debugging osgviewer, it never gets to 
> the dae reader writer code at all...
> 
> Does anyone have a clue whats going on?
> All other plugins works just fine.
> 
> ________________________________________________________________
>  Anders Backman               Email:    [EMAIL PROTECTED]
>  HPC2N/VRlab                  Phone:    +46 (0)90-786 9936
>  Umea university              Cellular: +46 (0)70-392 64 67
>  S-901 87 UMEA SWEDEN         Fax:      +46 90-786 6126
>                                http://www.cs.umu.se/~andersb
>  
> 
> _______________________________________________
> 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/

Reply via email to