Compiling maya2dts
by J. Alan Atherton · in Artist Corner · 08/26/2005 (12:15 am) · 0 replies
I once compiled the maya2dts exporter on my machine, but I'm having trouble with it now. I'd like to get it working so I can modify some things to hopefully make the exporter easier to use.
I've had to do a lot of hacking around and getting dependencies in order, and now it finally seems so close, but I can't figure these out.
Now, these only come up when I build the maya exporter. These are the only errors that come up. The one that kills me the most is the last one... the unresolved external. That's a class/function I added to my own game, which is part of the Torque Demo project... nothing to do with the maya exporter or dtsSdkPlus. How on earth is it getting referenced?
The only thing I could think of is that I have to link against basically every library that is built when building the torque engine. Otherwise, dozens of unresolved externals come up... related to everything from OGG to jpeg. If I link against those libraries, the unresolved externals disappear. But again.... why does the exporter NEED those libraries? What have I done wrong?
I'm currently using Visual Studio 7.1, and the previous time I used 7.0.
I've had to do a lot of hacking around and getting dependencies in order, and now it finally seems so close, but I can't figure these out.
dtsSdkPlus_DEBUG.lib(winMemory.obj) : error LNK2005: "void * __cdecl operator new(unsigned int,void *)" (??2@YAPAXIPAX@Z) already defined in mayaAppMesh.obj dtsSdkPlus_DEBUG.lib(winMemory.obj) : warning LNK4006: "void * __cdecl operator new(unsigned int,void *)" (??2@YAPAXIPAX@Z) already defined in mayaAppMesh.obj; second definition ignored Creating library .\../tools/out.VC6.DEBUG/maya2dtsExporter.lib and object .\../tools/out.VC6.DEBUG/maya2dtsExporter.exp dtsSdkPlus_DEBUG.lib(main.obj) : error LNK2019: unresolved external symbol "public: static void __cdecl Bulwark::init(void)" (?init@Bulwark@@SAXXZ) referenced in function "bool __cdecl initGame(int,char const * *)" (?initGame@@YA_NHPAPBD@Z) C:\Program Files\AliasWavefront\Maya6.0\bin\plug-ins\maya2dtsExporter.mll : fatal error LNK1120: 1 unresolved externals
Now, these only come up when I build the maya exporter. These are the only errors that come up. The one that kills me the most is the last one... the unresolved external. That's a class/function I added to my own game, which is part of the Torque Demo project... nothing to do with the maya exporter or dtsSdkPlus. How on earth is it getting referenced?
The only thing I could think of is that I have to link against basically every library that is built when building the torque engine. Otherwise, dozens of unresolved externals come up... related to everything from OGG to jpeg. If I link against those libraries, the unresolved externals disappear. But again.... why does the exporter NEED those libraries? What have I done wrong?
I'm currently using Visual Studio 7.1, and the previous time I used 7.0.