PDA

View Full Version : Compling Problems


Tiduz
24th October 2004, 02:47
Hi guys...
Im trying to compile my private version of Evilhack (2.0b) but I got these errors:

--------------------Configuration: evilhack - Win32 Debug--------------------
Linking...
evilhack.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __stdcall NewIDirect3D8::Release(void)" (?Release@NewIDirect3D8@@UAGKXZ)
evilhack.obj : error LNK2001: unresolved external symbol "struct NewIDirect3D8 MyD3D8" (?MyD3D8@@3UNewIDirect3D8@@A)
evilhack.obj : error LNK2001: unresolved external symbol "public: void __thiscall CEvilSettings::ReadIniFiles(void)" (?ReadIniFiles@CEvilSettings@@QAEXXZ)
evilhack.obj : error LNK2001: unresolved external symbol "public: void __thiscall CEvilSettings::ConvertColors(void)" (?ConvertColors@CEvilSettings@@QAEXXZ)
evilhack.obj : error LNK2001: unresolved external symbol "public: void __thiscall CEvilSettings::ReadSettings(char *)" (?ReadSettings@CEvilSettings@@QAEXPAD@Z)
evilhack.obj : error LNK2001: unresolved external symbol "bool __cdecl HookAPICalls(struct SDLLHook *,struct HINSTANCE__ *)" (?HookAPICalls@@YA_NPAUSDLLHook@@PAUHINSTANCE__@@@ Z)
evilhack.obj : error LNK2001: unresolved external symbol "struct SDLLHook LoadLibraryHook" (?LoadLibraryHook@@3USDLLHook@@A)
evilhack.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CEvilSettings::SpywareScan(bool)" (?SpywareScan@CEvilSettings@@QAE_N_N@Z)
evilhack.obj : error LNK2001: unresolved external symbol "void __cdecl UnHookDDrawCreate(void)" (?UnHookDDrawCreate@@YAXXZ)
evilhack.obj : error LNK2001: unresolved external symbol "void __cdecl HookDDrawCreate(void)" (?HookDDrawCreate@@YAXXZ)
evilhack.obj : error LNK2001: unresolved external symbol "struct NewIDirect3D8 * pMyD3D8" (?pMyD3D8@@3PAUNewIDirect3D8@@A)
evilhack.obj : error LNK2001: unresolved external symbol "struct IDirect3D8 * pD3D8" (?pD3D8@@3PAUIDirect3D8@@A)
evilhack.obj : error LNK2001: unresolved external symbol "public: __thiscall CCrc32::~CCrc32(void)" (??1CCrc32@@QAE@XZ)
evilhack.obj : error LNK2001: unresolved external symbol "public: __thiscall CWeapon::~CWeapon(void)" (??1CWeapon@@QAE@XZ)
evilhack.obj : error LNK2001: unresolved external symbol "public: __thiscall CCrc32::CCrc32(void)" (??0CCrc32@@QAE@XZ)
evilhack.obj : error LNK2001: unresolved external symbol "public: __thiscall CEvilSettings::CEvilSettings(void)" (??0CEvilSettings@@QAE@XZ)
libcd.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/evilhack.exe : fatal error LNK1120: 17 unresolved externals
Error executing link.exe.

evilhack.exe - 18 error(s), 0 warning(s)

Any ideas?

BaDToY
24th October 2004, 04:52
Well first off it looks like you needto download DX 8.1 SDK

megawhey
24th October 2004, 12:01
holly cow.. what did u do? thats a lotta errors :(

wait.. are you debuggint it or release it?

Tiduz
24th October 2004, 16:15
Well first off it looks like you needto download DX 8.1 SDK

Yesterday I got DirectX 9.0 SDK (about 200 MB), then I copied all files from directx include folder in my Microsoft Visua Studio C++ include folder..

But I got the same errors..

holly cow.. what did u do? thats a lotta errors

wait.. are you debuggint it or release it?

I have no problems when I compile it, I have problems when I try to build the .exe :(

Can someone zip /include & /lib folder and put them here please? Thanks

Tiduz
24th October 2004, 21:43
Help?.. :cry:

Can someone zip /include and /lib folders and put them here?

mlitn
24th October 2004, 22:02
what things did you change to your hack (also just removing white space etc)

Tiduz
25th October 2004, 13:45
what things did you change to your hack (also just removing white space etc)

nothing, it's the original version of EvilHack 2.0b source. I tried also to compile my modified version of EvilHack, but I got the same errors :P

Im using Vs 2003 and I need the Include/ folder :\

Arkan
25th October 2004, 15:43
You Must have screwed with the compile settings, or something, or have a flawed Library. You can download a new library from microsoft.com.

Tiduz
25th October 2004, 16:52
Thanks :\ I'll try

MrBarby
1st December 2004, 01:01
you need to include the dx8 .lib file in ur link settings... cant remember the exact filename... but its in the sdk lib folder, about 1meg in size.

TABACKY
1st December 2004, 06:38
unresolved external symbol
oh jesus go back and read your c++ book or go to www.msdn.com (http://www.msdn.com)
and search for the error LNK2001