concerning my last thread, i tried to update my collada DOM. I downloaded the installers for windows and run them.
unfortunately i get tons of linker errors. i’ll just shortly describe my setup:
I think I know your problem.
You are linking against the DOM dynamicly. There are two things. 1) the dynamic COLLADA DOM already links in libxml2 and zlib and iconv (dynamicly). That wouldn’t cause your errors but just for your info.
2) To link against the DOM dynamically you need to have this defined DOM_DYNAMIC. By default we expect client apps to static link (because thats what they are all doing prior to this release) so if you are dynamic linking you need to define that.
I had this same error yesturday and after reading your post I figured it out that I was missing that too. My program links fine now. I’m pretty sure yours will be fine after that.
thx! now it builds again.
the problem now is that on starting (.exe or debug mode) i get a message that libcollada141dom12_d.dll cannot be found (though while compiling it’s no problem). if i try to link against the dll i get an error of an invalid or corrupt file. if i try to build colladaDOM with the option DOM_DYNAMIC i get quite a lot of errors, but i think that is also not what you meant. looks like it somehow needs to be linked in the system.
i should really link dynamically, since if i understand this right static linking would mean introducing the GPL to the code.