Linking...
Descriptor2.obj : error LNK2001: unresolved external symbol "void __cdecl status_update(class CCharacter *)" (?status_update@@YAXPAVCCharacter@@@Z)
.\Debug/SmaugWiz.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
SmaugWiz.exe - 2 error(s), 0 warning(s)
Working on a new status_update script on Smaug 1.4 that was ported to windows xp (everything runs fine through it) using SmaugWiz... Using a new system for things like.. if someone buffs your con stat (for instance) your life and defence woudl go up as well, all sat dependant.. and this script forces an update every time prompt is loaded...
Im having a problem with linking to the SMAUG.H file using a previous void status_update (CCharacter *ch); line
now...
This is the line I put into my SMAUG.H file
extern void status_update (CCharacter *ch);
question is, would this be all i need to do to link to my UPDATE.CPP file so it can be called upon by my Descriptor2.cpp file? Ive tried many different ways of using it, and searched through similar linkings to find how they did it, but i cant seem to find why i get the error as mentioned above.
Any help is appreciated, thanks! =)
Descriptor2.obj : error LNK2001: unresolved external symbol "void __cdecl status_update(class CCharacter *)" (?status_update@@YAXPAVCCharacter@@@Z)
.\Debug/SmaugWiz.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
SmaugWiz.exe - 2 error(s), 0 warning(s)
Working on a new status_update script on Smaug 1.4 that was ported to windows xp (everything runs fine through it) using SmaugWiz... Using a new system for things like.. if someone buffs your con stat (for instance) your life and defence woudl go up as well, all sat dependant.. and this script forces an update every time prompt is loaded...
Im having a problem with linking to the SMAUG.H file using a previous void status_update (CCharacter *ch); line
now...
This is the line I put into my SMAUG.H file
extern void status_update (CCharacter *ch);
question is, would this be all i need to do to link to my UPDATE.CPP file so it can be called upon by my Descriptor2.cpp file? Ive tried many different ways of using it, and searched through similar linkings to find how they did it, but i cant seem to find why i get the error as mentioned above.
Any help is appreciated, thanks! =)