|
-
Oct 3rd, 2003, 02:58 PM
#1
Thread Starter
Frenzied Member
Strange linker errors.....
Hi.
I get these strange linker errors while compiling a dx app.....i have tried anything to solve them, but I just can't figure out what causes them....
Hope you have better eyes than me! 
Code:
--------------------Configuration: test - Win32 Debug--------------------
Linking...
GPTEMP2.OBJ : error LNK2005: "long __stdcall WindowProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WindowProc@@YGJPAUHWND__@@IIJ@Z) already defined in main.obj
GPTEMP2.OBJ : error LNK2005: _WinMain@16 already defined in main.obj
GPTEMP2.OBJ : error LNK2005: "int __cdecl Game_Init(void *)" (?Game_Init@@YAHPAX@Z) already defined in main.obj
GPTEMP2.OBJ : error LNK2005: "int __cdecl Game_Shutdown(void *)" (?Game_Shutdown@@YAHPAX@Z) already defined in main.obj
GPTEMP2.OBJ : error LNK2005: "int __cdecl Game_Main(void *)" (?Game_Main@@YAHPAX@Z) already defined in main.obj
GPTEMP2.OBJ : error LNK2005: "struct HINSTANCE__ * main_instance" (?main_instance@@3PAUHINSTANCE__@@A) already defined in main.obj
GPTEMP2.OBJ : error LNK2005: "struct HWND__ * main_window_handle" (?main_window_handle@@3PAUHWND__@@A) already defined in main.obj
GPTEMP2.OBJ : error LNK2005: "char * buffer" (?buffer@@3PADA) already defined in main.obj
Debug/test.exe : fatal error LNK1169: one or more multiply defined symbols found
Error executing link.exe.
test.exe - 9 error(s), 0 warning(s)
-
Oct 3rd, 2003, 03:09 PM
#2
So Unbanned
Uhm...
Debug/test.exe : fatal error LNK1169: one or more multiply defined symbols found
and several:
already defined in main.obj
Yea....
-
Oct 3rd, 2003, 03:11 PM
#3
Thread Starter
Frenzied Member
Le problem is solved!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|