[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Cairo/Glitz backend woes (was: GNUStep FreeBSD 6.0)
From: |
Chris B. Vetter |
Subject: |
Cairo/Glitz backend woes (was: GNUStep FreeBSD 6.0) |
Date: |
Wed, 18 Jan 2006 09:46:17 +0100 |
On 1/16/06, Dirk Meyer <dirk.meyer@dinoex.sub.org> wrote:
[...]
> > > Default is still the x11 backend, this will be switched to cairo soon.
> > Not sure whether this is a good idea. I haven't been able to get
> > back-cairo working (based on GNUstep's CVS).
[...]
> I was able to fix this by:
> CFLAGS+= -I${LOCALBASE}/include/freetype2
Yes, that include is indeed missing for cairo.
Since I'm using CVS, I ran
# CC=gcc42 ./configure --enable-graphics=cairo --with-name=cairo
--enable-glitz
and manually added -I/usr/local/include/freetype2 in config.make
That will fix this problem.
However, after installing the cairo bundle, changing the backend in my
defaults and launching any application, eg EasyDiff, I will get
:0> openapp EasyDiff.app
Error (objc-load):
/Library/Bundles/libgnustep-cairo-010.bundle/./libgnustep-cairo-010:
Undefined symbol "__objc_class_name_XGCairoGlitzSurface"
2006-01-18 09:35:13.121 EasyDiff[12487] NSApplication.m:284
Assertion failed in initialize_gnustep_backend.
Can't load object file from backend at path
/Library/Bundles/libgnustep-cairo-010.bundle
/Applications/EasyDiff.app/EasyDiff:
Uncaught exception NSInternalInconsistencyException, reason:
NSApplication.m:284 Assertion failed in initialize_gnustep_backend.
Can't load object file from backend at path
/Library/Bundles/libgnustep-cairo-010.bundle
Ummm-kay, so I reconfigure and disable glitz, put the include for
freetype2 back into config.make. Again, it compiles fine, so I install
it again and try EasyDiff:
:1> openapp EasyDiff.app
/usr/libexec/ld-elf.so.1:
/Library/Bundles/libgnustep-cairo-010.bundle/./libgnustep-cairo-010:
Undefined symbol "_cairo_toy_font_face_create"
Oh well... Looks like this function is defined as static, as I can't
find it in any of cairo's header files.
--
Chris
- Cairo/Glitz backend woes (was: GNUStep FreeBSD 6.0),
Chris B. Vetter <=