View Single Post
Argh. Compiles, but linking goes wrong... Metamod related
Old
  (#1)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Argh. Compiles, but linking goes wrong... Metamod related - 17-12-2004

Hey guys,

I try to compile my own engine-independant bot framework , on HL1, using the metamod. It COMPILES fine. It has all the barebones on the interface, but then it get this:

Quote:
tm_interface_hl1.obj : error LNK2001: unresolved external symbol _GetEngineFunctions
itm_interface_hl1.obj : error LNK2001: unresolved external symbol "unsigned short __cdecl FixedUnsigned16(float,float)" (?FixedUnsigned16@@YAGMM@Z)
itm_interface_hl1.obj : error LNK2001: unresolved external symbol "short __cdecl FixedSigned16(float,float)" (?FixedSigned16@@YAFMM@Z)
Debug/ITM_HL1_BOT_CSTRIKE.dll : fatal error LNK1120: 3 unresolved externals
I had this before, but i can't recall what i have to do to make this dissapear. I have set my paths right, i can compile my metamod projects fine too. I must have forgotten something to link against obviously, but even after copying the exact line of my realbot project into this project, it gives me this stuff..

Any idea?


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote