Compilador: Default compiler
Building Makefile: "H:\Vision 3\Iñaki\SDK - 2009\Virtual_Eyes\"
Ejecutando  make...
make.exe -f "H:\Vision 3\Iñaki\SDK - 2009\Virtual_Eyes\" all
g++.exe -c Virtual_Eyes.cpp -o Virtual_Eyes.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"C:/Dev-Cpp/include/c++/3.4.2/backward"  -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"C:/Dev-Cpp/include/c++/3.4.2"  -I"C:/Dev-Cpp/include"   

g++.exe Virtual_Eyes.o  -o "Eye Tracker.exe" -L"C:/Dev-Cpp/lib" -lwinmm -lmingw32 -mwindows -lSDLmain -lSDL -mwindows falcon.lib C:/Dev-Cpp/lib/SDL.lib C:/Dev-Cpp/lib/SDLmain.lib  

C:/Dev-Cpp/lib/libSDLmain.a(SDL_win32_main.o)(.text+0x397): In function `console_main':
/Users/hercules/trunk/SDL-1.2/./src/main/win32/SDL_win32_main.c:217: undefined reference to `SDL_main'
collect2: ld returned 1 exit status

make.exe: *** ["Eye] Error 1

Ejecución Terminada

On Wed, Oct 28, 2009 at 1:13 PM, Iñaki <> wrote:
Salvatore Thanks for the response but that is not the problem, # include "SDL / SDL.h" works well, and the file is well-linked.

Any ideas?

On Wed, Oct 28, 2009 at 12:59 PM, Salvatore Santagati <> wrote:
> #include <windows.h>
> #include "SDL/SDL.h"
> #include "falcon.h"
> #include <math.h>
> #pragma comment(lib,"SDL.lib")
> #pragma comment(lib,"SDLmain.lib")


Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
MinGW-users mailing list

This list observes the Etiquette found at
We ask that you be polite and do the same.

Most annoying abuses are:
1) Top posting
2) Thread hijacking
3) HTML/MIME encoded mail
4) Improper quoting
5) Improper trimming
You may change your MinGW Account Options or unsubscribe at:

Iñaki Cormenzana Méndez

Computer Science Deliriums.

Iñaki Cormenzana Méndez

Computer Science Deliriums.