freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft] Some problem (or bug) about compiling freetype library on AmigaOS4.


From: Nagy Károly
Subject: [ft] Some problem (or bug) about compiling freetype library on AmigaOS4.1FE Update 1
Date: Sat, 3 Nov 2018 10:27:36 +0000

Dear FreeType.Org,

I would like to make an SDL application using SDL_ttf which is wrapped in
FreeType library, so I downloaded it and try to compile on my AmigaOne with
SDK and I type what the README says: "make -f makefile.os4", in turn the
following error has occured:

makefile.os4:67: *** target pattern contains no `%'.  Stop.
(ftbase.ppc.o: FT:src/base/ftbase.c)

Well, I try to rewrite this makefile and replace all occurrences of "FT:"
with "FT\:", BUT I meet the next error:

ppc-amigaos-gcc: /FT/src/base/ftbase.c: No such device or address
($(CC) -c $(CFLAGS) -o $@ /FT/:src/base/ftbase.c)

Well, exchange all "/FT/" with "FT\:" (maybe "FT:" is good), and the make
command start to work...
("assign FT: //" and "DIRFLAGS  = -Iinclude -IFT:src -IFT:include
-I/SDK/include")

In the end, when I try to compile my SDL with SDL_ttf, I run into the
trouble again:

/SDK/local/newlib/lib/libSDL_ttf.a(SDL_ttf.o): In function `TTF_Init':
SDL_ttf.c:(.text+0xdbc): undefined reference to `FT_Init_FreeType'
/SDK/local/newlib/lib/libSDL_ttf.a(SDL_ttf.o): In function `TTF_Quit':
SDL_ttf.c:(.text+0x33c8): undefined reference to `FT_Done_FreeType'
/SDK/local/newlib/lib/libft2_ppc.a(ftbase.ppc.o): In function
`FT_Stream_New':
ftbase.c:(.text+0xdd0c): undefined reference to `FT_Stream_Open'
make: *** [all] Error 1

I don't understand it... why???

Regards,
Károly Nagy




reply via email to

[Prev in Thread] Current Thread [Next in Thread]