don't worry, I'm recompiling collada with vc8-1.4.
Jaime.
Date: Wed, 6 May 2009 16:25:58 +0100
From: [email protected]
To: [email protected]
Subject: Re: [osg-users] Collada plugin not found.... but it is!
lucas Grijander wrote:
Thanks Roger, I installed the dependency tool and I updated
the path. Now what I get is an error in the libcollada15dom21-d.dll,
and more precisely in the file daeelement.cpp:
daeElement* daeElement::simpleAdd(daeString name, int index) {
if (daeElementRef elt = _meta->create(name))
return add(elt, index);
return NULL;
}
I get an "access violation" error.... very strange...
Jaime.
Date: Wed, 6 May 2009 15:07:19 +0100
From: [email protected]
To: [email protected]
Subject: Re: [osg-users] Collada plugin not found.... but it is!
lucas Grijander wrote:
I download collada dom 2.1, compile and installed it...
then
I recompiled osg 2.8.0... the dll are there but... still same error!
any clue?
thanks
Jaime.
Date: Tue, 5 May 2009 20:49:31 +0100
From: [email protected]
To: [email protected]
Subject: Re: [osg-users] Collada plugin not found.... but it is!
lucas Grijander wrote:
you mean I should use 2.1 version of collada DOM instead
of
2.2?
J.
Date: Tue, 5 May 2009 17:54:05 +0100
From: [email protected]
To: [email protected]
Subject: Re: [osg-users] Collada plugin not found.... but it is!
lucas Grijander wrote:
Dear all,
I installed the last version of OSG (2.8.0) and the 2.2 version of the
collada-dom. I compiled and installed everything (debug and release).
Now, when I execute my application and I try to "writeNodeFile" in dae
format I get the well-known warning: "plugin not found". I got this
information too:
trying c:........\osgdb_daed.dll
USING c:.......\osgdb_daed.dll
DynamicLibrary::failed loading "osgPlugins-2.8.0\osgdb_daed.dll".....
any idea of what's the problem?
many thanks!
Jaime.
>From memory osg_daed.dll normally links against version 2.1 of the
Collada DOM i.e. libcollada14dom21-d.dll
Roger
Yes
Roger
Jaime
I suggest you use this excellent utility http://www.dependencywalker.com/
on the dae plugin dll and see what other dlls it is trying to load
implicitly. Then make sure that these dlls are on the windows dll
search path.
Roger
Jaime,
Arghhh, you are running into one of the problems we are currently
discussing on another thread, and I have made one of the mistakes I was
referring to. That is, mixing the version of the Collada schema with
the version of the Collada DOM implementation code.
The Collada plugin definitely only works with version 1.4 of the
Collada schema. I cannot remember whether it also works with version
2.2 of the DOM implementation. What works here is Schema 1.4 DOM 2.1. I
have my CMake variables set up like this
//Path to a library.
COLLADA_DYNAMIC_LIBRARY:FILEPATH=C:/Environ
Project/APIs/collada-dom-trunk/dom/build/vc8-1.4/libcollada14dom21.lib
//Path to a library.
COLLADA_DYNAMIC_LIBRARY_DEBUG:FILEPATH=C:/Environ
Project/APIs/collada-dom-trunk/dom/build/vc8-1.4-d/libcollada14dom21-d.lib
By the way you should also be careful that you dont end up mixing
release and debug version of the C runtimes, this also causes random
crashes. You can use dependency walker to check for this also.
Roger
_________________________________________________________________
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
http://www.microsoft.com/windows/windowslive/products/photos.aspx_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org