Game Development Community

Problem with preliminary Doors resource !

by Ian Roach · in Torque Game Engine · 07/08/2002 (5:32 pm) · 7 replies

Hello all.

Recently i tried the Preliminary Doors tutorial, The Torque Demo compiles fine with no errors however the map2diff gets the following

--------------------Configuration: map2dif - Win32 Release--------------------
Linking...
engine.lib(interiorInstance.obj) : error LNK2001: unresolved external symbol "public: __thiscall PathedInterior::PathedInterior(void)" (??0PathedInterior@@QAE@XZ)
../tools/map2dif.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

map2dif.exe - 2 error(s), 0 warning(s)

Ive tried the tutorial 3 times now each starting from a fresh head build.

Any ideas where im going wrong ? In the tutorial it says NOT to add the PathInterior files to the project. So why is it looking for it ?

#2
07/10/2002 (11:29 am)
did you work it out?
#3
07/10/2002 (5:21 pm)
Nope :/

Still getting the errors.

Badguy can you possible send me a working map2diff with doors ?

Thats all i need ?

Thanks in Advance

Ian
#4
07/10/2002 (5:33 pm)
BadGuy, the pathedInteriors need to be added to the Torque Lib also and a clean build done. I don't think you cover that in your resource.
#5
07/10/2002 (6:46 pm)
Torque lib as well ?

OO thats probably my problem then :)

Thanks ill check it out.
#6
07/10/2002 (9:39 pm)
Ok, well before I had set it up by including those files in each project the map2dif and the torque engine
but yes I believe the correct way would be to add them on a onetime to the torque lib, which works just as well.

I have updated the tutorial, find the *NEW*
:)
thanks for the tip.
#7
07/11/2002 (5:46 pm)
Still wont work :/

Even with the files added to Torque Lib i get the following.

Compiling...
exportGeometry.cc
Linking...
engine.lib(audio.obj) : error LNK2001: unresolved external symbol "public: static class AudioStreamSource * __cdecl AudioStreamSourceFactory::getNewInstance(char const *)" (?getNewInstance@AudioStreamSourceFactory@@SAPAVAudioStreamSource@@PBD@Z)
../tools/map2dif.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

map2dif.exe - 2 error(s), 0 warning(s)

Desmond or Badguy could you guys just send me a copy of map2diff with doors included. I just neeed to compile once for the mappers thne i never have to worry about it again :)