| Can build my first project in C++ [message #543298] |
Mon, 28 June 2010 21:22 |
Esau Messages: 1 Registered: June 2010 |
Junior Member |
|
|
It´s my first time using eclipse, i have no problems compiling and building in the batch of cygwin, but i want to try eclipse for faster programming. So my problem is that when I try to build all the project to errors appear:
make: *** [Hello.exe] Error 1
undefined reference to `_WinMain@16'
and i don´t know what to do, does anyone know what can i do to solve this problem?
Also for more info im using windows XP and here is what the console says:
**** Build of configuration Debug for project Hello ****
make all
Building target: Hello.exe
Invoking: Cygwin C++ Linker
g++ -o"Hello.exe" ./test.o
cygwin warning:
MS-DOS style path detected: C:\Programing\Hello\Debug
Preferred POSIX equivalent is: /cygdrive/c/Programing/Hello/Debug
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../libcygwin.a(libcm ain.o) .text+0xa9): undefined reference to `_WinMain@16'
collect2: ld returned 1 exit status
make: *** [Hello.exe] Error 1
|
|
|
Powered by
FUDForum. Page generated in 0.01463 seconds