TTF_Init() fails

I’m calling TTF_Init() and it is returning -1. I’m running Ubuntu Edgy. Can
someone tell me how to get this call to work?

Thanks,
Bob

El Viernes 22 Junio 2007, Bob Self escribi?:

I’m calling TTF_Init() and it is returning -1. I’m running Ubuntu Edgy. Can
someone tell me how to get this call to work?

Thanks,
Bob

Hi,

you can run your program with strace to know if it is finding the ttf library:

strace program 2> output.txt

look for lines containing ‘access’ or so.

HTH.

Try with printf( “%s\n”, TTF_GetError() ); to see why it fails.On Fri, Jun 22, 2007 at 10:41:49AM -0400, Bob Self wrote:

I’m calling TTF_Init() and it is returning -1. I’m running Ubuntu Edgy. Can
someone tell me how to get this call to work?