Adding a Separate Project for the Max 4 max2mapExporter in VC6.
by David Dougher · 04/29/2002 (12:34 pm) · 2 comments
Download Code File
There are three files on the zip. The first is the max2mapExporter3.dsp for a Project for creating a max2map file using Max 3. The second is max2mapExporter4.dsp, a project for you guessed it! creating a max2map file using Max 4. Finally, there is Torque SDK2.dsw a new workspace which manages the two new projects as well as all the old ones. I decided to set it up this way in case anyone has special settings or paths that might need to be changed. With a separate project file you can let CVS do its thing and not have to worry about anything else being overwritten. I hope eventually that GG will roll this change into the regular build process.
Simply copy these three files into your current vc6 subdirectory in torque. The internal paths are relative to each other so even if you use a different hard disk they should work fine. They also don't care about any changes that have been made to the files in individual projects. Just copy them over, double click on Torque SDK2.dsw to Load Visual C++, go to Build -> Batch Build -> Rebuild All and you should be good to go.
The resulting max2mapExporter3.dle, max2mapExporter3_Debug.dle, max2map4Exporter.dle and max2map4_Debug.dle can be substituted into the plugins directory of the appropriate version of Max replacing the current version if necessary. YOU CANNOT HAVE max2mapExporter.dle and max2mapExporter3.dle in the same plugins directory or they will generate errors on loading Max. Remove the old version.
Good hunting!
There are three files on the zip. The first is the max2mapExporter3.dsp for a Project for creating a max2map file using Max 3. The second is max2mapExporter4.dsp, a project for you guessed it! creating a max2map file using Max 4. Finally, there is Torque SDK2.dsw a new workspace which manages the two new projects as well as all the old ones. I decided to set it up this way in case anyone has special settings or paths that might need to be changed. With a separate project file you can let CVS do its thing and not have to worry about anything else being overwritten. I hope eventually that GG will roll this change into the regular build process.
Simply copy these three files into your current vc6 subdirectory in torque. The internal paths are relative to each other so even if you use a different hard disk they should work fine. They also don't care about any changes that have been made to the files in individual projects. Just copy them over, double click on Torque SDK2.dsw to Load Visual C++, go to Build -> Batch Build -> Rebuild All and you should be good to go.
The resulting max2mapExporter3.dle, max2mapExporter3_Debug.dle, max2map4Exporter.dle and max2map4_Debug.dle can be substituted into the plugins directory of the appropriate version of Max replacing the current version if necessary. YOU CANNOT HAVE max2mapExporter.dle and max2mapExporter3.dle in the same plugins directory or they will generate errors on loading Max. Remove the old version.
Good hunting!
About the author
Owner - Pariah Games, Adjunct Professor - Bristol Community College, Mentor - Game Design - Met School Newport, Mentor - Game Design - Met School Providence
#2
http://www.garagegames.com/index.php?sec=mg&mod=forums&page=result.thread&qt=5212
05/16/2002 (12:09 pm)
This does not appear to be a problem with the files I put up (although I will double check them to be sure.) This appears to be a problem with the order in which you have your include and library files. Check out this thread...http://www.garagegames.com/index.php?sec=mg&mod=forums&page=result.thread&qt=5212
Torque Owner Dylan Sale
Linking...
Creating library ../tools/out.VC6.RELEASE/max2mapExporter4.lib and object ../tools/out.VC6.RELEASE/max2mapExporter4.exp
main.obj : error LNK2001: unresolved external symbol "public: virtual char * __thiscall ClassDesc::GetRsrcString(long)" (?GetRsrcString@ClassDesc@@UAEPADJ@Z)
../tools/max2mapExporter4.dle : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
max2mapExporter4.dle - 2 error(s), 0 warning(s)
I get this error when i compile.. what is wrong??