[SDL] I can't get to SDL_ttf work

Eric Lilja mindcooler at gmail.com
Wed Nov 15 23:01:16 PST 2006


Peter Mulholland skrev:
> Hello Eric,
> 
> Wednesday, November 15, 2006, 11:44:45 PM, you wrote:
> 
>> (gdb) run
>> Starting program:
>> /cygdrive/c/coding/OpenGL/TSBK05/lab1/1-3/sdl/1-3.exe
>> gdb: unknown target exception 0xc0000135 at 0x7c964ed1
> 
>> Program received signal ?, Unknown signal.
> 
>> Program exited with code 030000000465.
>> You can't do that without a process to debug.
>> (gdb) bt
>> No stack.
> 
>> I said exit right away. It doesn't print anything no matter where I put
>> it. So the executable gets seriosuly messed up as soon as I link with 
>> the TTF-library. Sigh.
> 
> Typical of GDB to be useless.
> 
> 0xC0000135 is the Windows "This application failed to initialize
> properly" error. You might want to try grabbing a copy of Depends and
> see if this helps.
> 
> This error is usually produced when some DLL is found but fails to
> load.

I will check out depends, thanks.

> 
> 
>> Sounds like an awful lot of work but thanks for the idea and for your reply.
> 
> It seems that it's so useful people have already done it. This looks
> like a good start:
> 
> http://www.linux-games.com/sfont/
> 
> 

Ok, tried it. It depends on SDL_image. So I downloaded SDL_image. But 
SDL_Image seems to want at least libpng (the test program for the 
library you linked uses .png) to be useful. So I installed libpng using 
cygwin setup. *But* make insists on passing -mno-cygwin when compiling 
so compilation fails. *sigh*

/ E





More information about the SDL mailing list