_WinMain@16 [message #116482] |
Sun, 22 August 2004 12:46  |
Eclipse User |
|
|
|
Originally posted by: cazo66.hotmail.com
Hi all!
I'm newbie using the CDT, and suffering to put all things working
fine. Using Cygwin, it finds the library to link, but it appears
some symbols is missing.
Using MS-XP 512Mb RAM, CYGWIN_NT-5.1, CDT 2.0, eclipse 3.0.0
make -k all
Building target: mytst.exe
g++ -omytst.exe MyTest.o
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../libcygwin.a(l ibcmain.o)(.text+0x7a):
undefined reference to `_WinMain@16'
collect2: ld returned 1 exit status
make: *** [mytst.exe] Error 1
make: Target `all' not remade because of errors.
Build complete for project mytst
Thanx!
Claudio Cardozo
|
|
|
|
Re: _WinMain@16 [message #116495 is a reply to message #116488] |
Sun, 22 August 2004 15:20  |
Eclipse User |
|
|
|
Originally posted by: cazo66.hotmail.com
Sean Evoy wrote:
> Claudio ,
> This isn't a CDT error; it comes from the Cygwin linker. It cannot
> create an executable because ou don't have a main method in your code.
> Sean
Thanx a lot Sean, sometimes the things are so obvious that
come in mind the question "Why did I do that?"...
again, thanx!
--
Claudio
|
|
|
Powered by
FUDForum. Page generated in 0.02764 seconds