From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nehru Juman To: cygwin@sourceware.cygnus.com Subject: (Problem building program) Date: Fri, 05 Mar 1999 17:34:00 -0000 Message-id: <36E09392.F58D9168@solutions2000.net> X-SW-Source: 1999-03/msg00142.html Hello Everybody, I've just installed MingW32 and have my path and files set up properly but when I try and build the simple hello world program below everything compiles fine but during the linking process I get the following error message: C:\WINDOWS\TEMP\cc8480511.o(.text+0x66):two.cc:undefined reference to 'MessageBoxA@16' Can anyone please tell me what I'm doing wrong. // Hello World Program #include #include int PASCAL WinMain(HANDLE hInstance, HANDLE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { cout<<"Hey, I'm working."< To: cygwin@sourceware.cygnus.com Subject: (Problem building program) Date: Wed, 31 Mar 1999 19:45:00 -0000 Message-ID: <36E09392.F58D9168@solutions2000.net> X-SW-Source: 1999-03n/msg00142.html Message-ID: <19990331194500.97YZq7lJUkwB6cjZX5jCQ-LKn_g2a-PydFlY_L2TG-I@z> Hello Everybody, I've just installed MingW32 and have my path and files set up properly but when I try and build the simple hello world program below everything compiles fine but during the linking process I get the following error message: C:\WINDOWS\TEMP\cc8480511.o(.text+0x66):two.cc:undefined reference to 'MessageBoxA@16' Can anyone please tell me what I'm doing wrong. // Hello World Program #include #include int PASCAL WinMain(HANDLE hInstance, HANDLE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { cout<<"Hey, I'm working."<