[cfe-dev] Compiling a simple Win32 program
Cesar Mello
cmello at gmail.com
Wed Jun 6 03:54:53 PDT 2012
Hi!
I've tried to compile this simple program:
#include <windows.h>
int main()
{
::MessageBoxW(NULL, L"Test!", L"Test!", MB_OK);
return 0;
}
It compiles nicely, but fails to link. Please can you tell me how to
specify user32 and gdi32 libraries for the linker? Sorry if I'm being too
newbie. :-)
Thank you a lot!
Best regards
Mello
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120606/59a1650a/attachment.html>
More information about the cfe-dev
mailing list