Compiler error

I am using FreeBasic and I am getting an undefined reference to load_font. Did I convert the h file wrong?

From the font.h file:
AL_FUNC(FONT *, load_font, (AL_CONST char *filename, RGB *pal, void *param));

Here is my conversion:
declare function load_font cdecl alias "load_font" (byval filename as zstring ptr, byval pal as RGB ptr, byval param as any ptr) as FONT ptr

Thanks for your help
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!