Mar 13, 2009 at 2:21pm Mar 13, 2009 at 2:21pm UTC
hi, i tried to compile a program, but i get this error:
Linking...
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_win32/ac_client.exe : fatal error LNK1120: 5 unresolved externals
Build log was saved at "file://c:\Program Files\AssaultCube\source\vcpp\Release\BuildLog.htm"
cube - 6 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
what can i do?
i have reed some files and they say that i need a libery, wich libery???
tank you!
wouter
Mar 13, 2009 at 10:35pm Mar 13, 2009 at 10:35pm UTC
Last edited on Mar 13, 2009 at 10:35pm Mar 13, 2009 at 10:35pm UTC
Mar 16, 2009 at 12:08pm Mar 16, 2009 at 12:08pm UTC
You need to link to user32.lib. The stuff you're missing is in user32.dll.