[SDL] MinGW developement libraries of SDL_ttf 2.0?
Jeff
j_post at pacbell.net
Sun Nov 12 19:07:47 PST 2006
Try reverting to SDL-1.2.9. I get some of the same errors when attempting to
cross-compile with later versions of SDL, but everything works fine with
version 1.2.9. Native compiles in Linux with SDL-1.2.11 work though. Don't
know why--ask Sam.
BTW Sam, ./build-cross.sh fails because it can't find the specified files on
the SDL web site. Version numbers of various files that are hard coded in
build-cross.sh don't exist on the web site. Something is severely out of
sync.
On Sun November 12 2006 13:14, Eric Lilja wrote:
>
> Easy? Not really, I can't even make it pass the configure stage.
> First I simply tried:
> $ ./configure
> Then it couldn't find sdl-config
> There is no such thing in the mingw-developement libraries of SDL but
> there is i386-mingw32msvc-sdl-config* in the bin-directory. So I created
> a symbolic link and told configure where to find it:
> $ ./configure --with-sdl-prefix=/home/hivemind/SDL-1.2.11
> Now I got past that, but the next error was:
> Error: SDL.h: No such file or directory
> So, I told configure where the SDL includes are:
> ./configure --with-sdl-prefix=/home/hivemind/SDL-1.2.11 CFLAGS='-I
> /home/hivemind/SDL-1.2.11/include/'
> Now it wanted to link it with -lmingw32 -lSDLmain -lSDL -mwindows but
> couldn't find them. I edited sdl-config and removed lmingw32 (I don't
> have it) and -mwindows (shouldn't be needed right?) and told configure
> where the libraries are:
> ./configure --with-sdl-prefix=/home/hivemind/SDL-1.2.11 CFLAGS='-I
> /home/hivemind/SDL-1.2.11/include/' LDFLAGS='-L
> /home/hivemind/SDL-1.2.11/lib'
> Now the error was:
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libcygwin.a(libcmain.o):(.text+0
>xab): undefined reference to `_WinMain at 16'
>
> Please help!
>
More information about the SDL
mailing list