I had the same problem. The SDLCALL typedef was unknown. I think I removed
it from the prototype… Then it worked ;-)>On Tue, 25 Feb 2003 17:28:28 -0500 Colin Hart wrote.
I’m trying out SDL_TTF, but I get compile errors with the include file!
How terrible. What is wrong with this:
extern DECLSPEC int SDLCALL TTF_Init(void);
I get the errors:
c:\sdl\bin\include\sdl_ttf.h(45) : error C2146: syntax error :
missing ‘;’ before identifier 'TTF_Init’
c:\sdl\bin\include\sdl_ttf.h(45) : fatal error C1004: unexpected end of
file found