Linker errors when compiling Cube2/Sauerbraten |
by Anteater
on 02/12/2007 00:02, 5 messages, last message: 02/12/2007 19:23, 1053 views, last view: 04/30/2024 17:07 |
|
Hi. I'm compiling a 100% unmodified Sauerbraten GUI Edition in MSVC2005. It compiles fine until it starts linking. I get:
console.obj : error LNK2001: unresolved external symbol __imp__IsClipboardFormatAvailable@4
console.obj : error LNK2001: unresolved external symbol __imp__OpenClipboard@4
console.obj : error LNK2001: unresolved external symbol __imp__GetClipboardData@4
console.obj : error LNK2001: unresolved external symbol __imp__CloseClipboard@0
main.obj : error LNK2001: unresolved external symbol __imp__MessageBoxA@16
..\..\bin\sauerbraten.exe : fatal error LNK1120: 5 unresolved externals
How do I fix this?
|
|
Board Index
|
|
#1: .. |
by Drakas
on 02/12/2007 08:54
|
|
Try using mingw or another compiler & linker.
reply to this message
|
|
#2: .. |
by Anteater
on 02/12/2007 13:34
|
|
So there's no way to compile under MSVC 2005? Dang...
reply to this message
|
|
#3: Re: .. |
by Drakas
on 02/12/2007 13:41, refers to #2
|
|
nobody said that, it's just that i'm suggesting to use a different way of doing it :)
reply to this message
|
|
#4: this is the error that should help |
by Aardappel_
on 02/12/2007 17:48
|
|
console.obj : error LNK2002: user with no knowledge of C++ detected (please deinstall VS 2005 to fix this problem).
reply to this message
|
|
#5: .. |
by Anteater
on 02/12/2007 19:23
|
|
I've got a bit of C++ knowledge. A linker error of that type could mean a missing .lib file or an incorrect function declaration.
reply to this message
|
|
|
Board Index
|
|