Compiling SDL_TTF ends with errors

Hi,

I get errors when compiling SDL_TTF, because I need “SDL_ttf.a”.
I use “MinGW-3.1.0-1.exe”, “MSYS-1.0.10.exe” and “msysDTK-1.0.1.exe”.

When I do a “./configure” all is fine, but when I do a “make” then I get
the following:
$ make
makefile:208: warning: overriding commands for target .s.o' makefile:205: warning: ignoring old commands for target.s.o’
makefile:227: warning: overriding commands for target .s.lo' makefile:224: warning: ignoring old commands for target.s.lo’
C:/msys/1.0/bin/sh.exe ./libtool --mode=compile gcc
-DPACKAGE=“SDL_ttf” -DVERSION=“2.0.6”
-DHAVE_ALLOCA=1 -I. -I. -g -O2
-Ic:/progra~1/FreeType/include/freetype2
-Ic:/progra~1/FreeType/include -I/usr/local/include/SDL
-Dmain=SDL_main -DHAVE_OPENGL -c SDL_ttf.c
rm: invalid option – D
Try rm --help' for more information. mkdir .libs gcc -DPACKAGE=\SDL_ttf" -DVERSION="2.0.6" -DHAVE_ALLOCA=1 -I. -I. -g -O2 -Ic:/progra~1/FreeType/include/freetype2 -Ic:/progra~1/FreeType/include -I/usr/local/include/SDL -Dmain=SDL_main -DHAVE_OPENGL -c SDL_ttf.c -DPIC -o .libs/SDL -Dmain=SDL_main -DHAVE_OPENGL -c SDL_ttf.lo ./libtool: eval: line 1: unexpected EOF while looking for matching"’
./libtool: eval: line 2: syntax error: unexpected end of file
rm: invalid option – D
Try `rm --help’ for more information.
c:\mingw\bin\make.exe: *** [SDL_ttf.lo] Error 1

Has somebody a clue, what went wrong ?

Greetings
Alex

Someone I know wants to receive timer events in the SDL event queue
(like the windows WM_TIMER message) instead of using callbacks.

Essentially my idea is just to assign a callback behavior that pushes
some sort of timer event into the SDL event queue.

How can I go about doing this? Is there an SDL_PushEvent() routine
somewhere? Also, what value for SDL_Event::type should I use? I assume
that if I wanted to push a “custom” event structure that was both A) No
bigger than the current SDL_event structure ; and B) the type value
doesn’t “run over” another SDL_Event::type enumeration, then it should
be possible.

Any advice?

How can I go about doing this? Is there an SDL_PushEvent() routine somewhere?
Also, what value for SDL_Event::type should I use? I assume that if I wanted
to push a “custom” event structure that was both A) No bigger than the
current SDL_event structure ; and B) the type value doesn’t "run over"
another SDL_Event::type enumeration, then it should be possible.

Take a look at http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fUserEvent,
which explains how to push user defined events onto the event queue.

Hope you find this relevant and useful,

// MartinOn Thu, 23 Sep 2004, Donny Viszneki wrote:

How can I go about doing this? Is there an SDL_PushEvent() routine?

You mean like SDL_PushEvent()? http://sdldoc.csn.ul.ie/sdlpushevent.php
:slight_smile:

How can I go about doing this? Is there an SDL_PushEvent() routine
somewhere? Also, what value for SDL_Event::type should I use? I
assume that if I wanted to push a “custom” event structure that was
both A) No bigger than the current SDL_event structure ; and B) the
type value doesn’t “run over” another SDL_Event::type enumeration,
then it should be possible.

Take a look at http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fUserEvent,
which explains how to push user defined events onto the event queue.

Hope you find this relevant and useful,

Sounds very relevant! Thanks!On Sep 23, 2004, at 2:45 PM, Martin Storsj? wrote:

On Thu, 23 Sep 2004, Donny Viszneki wrote:

// Martin


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl