[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] FreeType 2.4.7 no longer compiles on Mac OS X, 2.4.6 does
From: |
Adam Twardoch (List) |
Subject: |
Re: [ft-devel] FreeType 2.4.7 no longer compiles on Mac OS X, 2.4.6 does |
Date: |
Thu, 27 Oct 2011 13:37:30 +0200 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 |
On 11-10-24 15:51, Werner LEMBERG wrote:
> This looks like you are still using the header files of 2.4.6 (or even
> an older version)!
OK, I sorted that out. It seemed indeed that the existing (installed)
2.4.6 freetype headers were included before the new ones during
compilation. So, freetype compiled, but now I'm having problems with
compiling ft2demos on Mac OS X 10.6:
all goes well until
/usr/bin/gcc -c -Wall -Os -arch i386 -arch x86_64
-DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_OPTION_USE_BZIP2
-DDARWIN_NO_CARBON -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -Igraph -o
obj/gblblit.o graph/gblblit.c
/usr/bin/gcc -c -Wall -Os -arch i386 -arch x86_64
-DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_OPTION_USE_BZIP2
-DDARWIN_NO_CARBON -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -Igraph \
-Igraph/x11 \
-I/opt/X11/include -I/usr/X11/include \
-o obj/grx11.o graph/x11/grx11.c
ar -r obj/graph.a obj/grblit.o obj/grobjs.o obj/grfont.o obj/grfill.o
obj/grswizzle.o obj/grdevice.o obj/grinit.o obj/gblender.o obj/gblblit.o
obj/grx11.o
ar: creating archive obj/graph.a
/usr/bin/gcc -c -Wall -Os -arch i386 -arch x86_64
-DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_OPTION_USE_BZIP2
-DDARWIN_NO_CARBON -DFT_CONFIG_CONFIG_H="<ftconfig.h>"
-I../freetype2/builds/unix -I../freetype2/builds/unix
-I../freetype2/include -Isrc -DFT_CONFIG_MODULES_H="<ftmodule.h>" -Igraph \
-o obj/ftdiff.o src/ftdiff.c
/usr/bin/gcc -c -Wall -Os -arch i386 -arch x86_64
-DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_OPTION_USE_BZIP2
-DDARWIN_NO_CARBON -DFT_CONFIG_CONFIG_H="<ftconfig.h>"
-I../freetype2/builds/unix -I../freetype2/builds/unix
-I../freetype2/include -Isrc -DFT_CONFIG_MODULES_H="<ftmodule.h>" -Igraph \
-o obj/ftcommon.o src/ftcommon.c
../freetype2/builds/unix/libtool --mode=link /usr/bin/gcc
-L/usr/local/lib -L/usr/lib -lz -lbz2 -arch i386 -arch x86_64 -o
bin/ftdiff obj/ftdiff.o obj/common.o obj/ftcommon.o
../freetype2/objs/libfreetype.la obj/graph.a -R/opt/X11/lib
-R/usr/X11/lib -L/opt/X11/lib -L/usr/X11/lib -lX11 -lm
And then (abbreviated):
libtool: link: /usr/bin/gcc -arch i386 -arch x86_64 -o bin/.libs/ftdiff
obj/ftdiff.o obj/common.o obj/ftcommon.o -L/usr/local/lib -L/usr/lib
freetype2/objs/.libs/libfreetype.dylib -lz -lbz2 obj/graph.a
-L/opt/X11/lib -L/usr/X11/lib -lX11 -lm
ld: warning: ignoring file obj/graph.a, file was built for archive which
is not the architecture being linked (i386)
...
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
ld: warning: ignoring file obj/graph.a, file was built for archive which
is not the architecture being linked (x86_64)
...
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
Any hints?
A.
--
May success attend your efforts,
-- Adam Twardoch
(Remove "list." from e-mail address to contact me directly.)
- [ft-devel] FreeType 2.4.7 no longer compiles on Mac OS X, 2.4.6 does, Adam Twardoch (List), 2011/10/24
- Re: [ft-devel] FreeType 2.4.7 no longer compiles on Mac OS X, 2.4.6 does, suzuki toshiya, 2011/10/24
- Re: [ft-devel] FreeType 2.4.7 no longer compiles on Mac OS X, 2.4.6 does, Werner LEMBERG, 2011/10/24
- Re: [ft-devel] FreeType 2.4.7 no longer compiles on Mac OS X, 2.4.6 does, suzuki toshiya, 2011/10/24
- Re: [ft-devel] FreeType 2.4.7 no longer compiles on Mac OS X, 2.4.6 does,
Adam Twardoch (List) <=
- Re: [ft-devel] FreeType 2.4.7 no longer compiles on Mac OS X, 2.4.6 does, suzuki toshiya, 2011/10/27
- Re: [ft-devel] FreeType 2.4.7 no longer compiles on Mac OS X, 2.4.6 does, Christian Demmer, 2011/10/27
- Re: [ft-devel] FreeType 2.4.7 no longer compiles on Mac OS X, 2.4.6 does, suzuki toshiya, 2011/10/27
- Re: [ft-devel] FreeType 2.4.7 no longer compiles on Mac OS X, 2.4.6 does, mpsuzuki, 2011/10/30
- Re: [ft-devel] FreeType 2.4.7 no longer compiles on Mac OS X, 2.4.6 does, Werner LEMBERG, 2011/10/30
- Re: [ft-devel] FreeType 2.4.7 no longer compiles on Mac OS X, 2.4.6 does, suzuki toshiya, 2011/10/30
- Re: [ft-devel] FreeType 2.4.7 no longer compiles on Mac OS X, 2.4.6 does, Werner LEMBERG, 2011/10/30
- [ft-devel] `make devel' on Mac OS X, suzuki toshiya, 2011/10/30
- Re: [ft-devel] `make devel' on Mac OS X, mpsuzuki, 2011/10/31