Problem compiling SDL_ttf2 with CYGWIN

Hello !

I just checked out the newest CVS Version
from SDL_ttf2 and get the following error
when compiling with CYGWIN:

gcc -shared .libs/SDL_ttf.o -Wl,–whole-archive
/usr/local/lib/.libs/libfreetyp
e.a -Wl,–no-whole-archive -L/usr/local/lib -lz -lmingw32 -lSDLmain
/usr/local/
lib/libSDL.dll.a -mno-cygwin -mwindows -mno-cygwin -o .libs/SDL_ttf.dll
-Wl,–e
nable-auto-image-base -Wl,–out-implib,.libs/libSDL_ttf.dll.a
gcc: /usr/local/lib/.libs/libfreetype.a: No such file or directory
make: *** [libSDL_ttf.la] Error 1

CU

Torsten Giebl wrote:

gcc: /usr/local/lib/.libs/libfreetype.a: No such file or directory

So install libfreetype.

Hello !

Torsten Giebl wrote:

gcc: /usr/local/lib/.libs/libfreetype.a: No such file or directory

So install libfreetype.

I have Freetype2 installed. Look at the message, it wants
to have the lib in /usr/local/lib/.libs :slight_smile: ?!?!

I think this is an error in the Autoconf / Configure Script.

CU

Torsten Giebl wrote:

I have Freetype2 installed. Look at the message, it wants
to have the lib in /usr/local/lib/.libs :slight_smile: ?!?!

That’s a libtool-ism. Look at the Makefile.am file. Is it refereincing
libfreetype.la or something like that? If so, change it to -lfreetype.

Hello !

I just checked out the newest CVS Version
from SDL_ttf2 and get the following error
when compiling with CYGWIN:

Try doing an update. I updated the libtool stuff last night, and that
might have either broken or fixed things. :slight_smile:

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Hello !

Try doing an update. I updated the libtool stuff last night, and that
might have either broken or fixed things. :slight_smile:

I used the latest CVS version. Using the new libtool scripts
is a great thing, because you can compile SDL and the Helper Libs.
strip them and pack them with UPX now. They are then as big as the
UPX compressed created VC compiled DLLs.

CU

Hello !

Try doing an update. I updated the libtool stuff last night, and that
might have either broken or fixed things. :slight_smile:

I used the latest CVS version. Using the new libtool scripts
is a great thing, because you can compile SDL and the Helper Libs.
strip them and pack them with UPX now. They are then as big as the
UPX compressed created VC compiled DLLs.

Compressing works with SDL, SDL_image, SDL_mixer, SDL_net.
I couldn?t test SDL_ttf2 because of the error and SDL_rtf depends
on SDL_rtf :slight_smile:

CU