Zopawa Posted October 1, 2023 I am attempting to add a Tec-9 weapon to my mod, but I keep getting this error when I compile the file in Visual C++ 2008. I am using this SDK: https://www.moddb.com/downloads/half-life-sdk-v23-for-visual-studio-2008 ------ Build started: Project: cl_dll, Configuration: Debug Win32 ------ Linking... Creating library .\Debug/client.lib and object .\Debug/client.exp hl_events.obj : error LNK2019: unresolved external symbol _EV_FireTec2 referenced in function "void __cdecl Game_HookEvents(void)" (?Game_HookEvents@@YAXXZ) hl_events.obj : error LNK2019: unresolved external symbol _EV_FireTec1 referenced in function "void __cdecl Game_HookEvents(void)" (?Game_HookEvents@@YAXXZ) .\Debug\client.dll : fatal error LNK1120: 2 unresolved externals Build log was saved at "file://f:\Documents and Settings\Jakub\Desktop\zombietakeover\sourcecode\cl_dll\Debug\BuildLog.htm" cl_dll - 3 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== 0 Quote Share this post Link to post
Zopawa Posted October 1, 2023 I found the error. I didn't define the event properly in ev_hldm.cpp. It's all fine now. 1 Quote Share this post Link to post
Obsidian Plague Posted October 1, 2023 19 minutes ago, Zopawa said: I found the error. i think the real error is you're not using samvanheer's sdk 0 Quote Share this post Link to post
Zopawa Posted October 2, 2023 21 hours ago, Obsidian Plague said: i think the real error is you're not using samvanheer's sdk I can't use VS 2019, or 2022 or anything of the sort, since I am using Windows XP. 0 Quote Share this post Link to post
DogsRNice Posted October 2, 2023 5 hours ago, Zopawa said: I can't use VS 2019, or 2022 or anything of the sort, since I am using Windows XP. Why though? 0 Quote Share this post Link to post
Murdoch Posted October 3, 2023 1 hour ago, DogsRNice said: Why though? His laptop is older than some of the people on this forum unfortunately. 3 Quote Share this post Link to post
Zopawa Posted October 3, 2023 2 hours ago, Murdoch said: His laptop is older than some of the people on this forum unfortunately. I found out I can run Windows 7, but, it doesn't run nearly as well as XP, and since i need as much performance as possible with a 16+ year old laptop, Windows XP is the right choice. 0 Quote Share this post Link to post
Murdoch Posted October 3, 2023 2 hours ago, Zopawa said: I found out I can run Windows 7, but, it doesn't run nearly as well as XP, and since i need as much performance as possible with a 16+ year old laptop, Windows XP is the right choice. No it would not. Plus your hard drive is probably worn out which won't help performance any. 0 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.