Re: EXC_BAD_ACCESS when trying to use X11
Re: EXC_BAD_ACCESS when trying to use X11
- Subject: Re: EXC_BAD_ACCESS when trying to use X11
- From: Martin Costabel <email@hidden>
- Date: Wed, 18 Jul 2007 00:59:16 +0200
Kustaa Nyholm wrote:
[]
So my thinking is that there is something wrong in my configuration or
enviroment, or the way I link the Tcl,Tk&X11
libs to the application, or the way this code accesses them.
[]
./configure CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-arch i386" LDFLAGS="-arch i386"
--with-gl-include=/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include
--x-includes=/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include
--x-libraries=/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib --with-x
--with-tcl=/System/Library/Frameworks/Tcl.framework
--with-tk=/System/Library/Frameworks/Tk.framework
Apple's Tk.framework uses Carbon for graphics, not X11. You could try if
using tcltk from Fink instead of the frameworks works better.
Another problem is that the X11 dylibs in
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6 are only stubs, not real
libraries. Use the real dylibs in /usr/X11R6 instead. Why do you try to
incude all this universal stuff anyway, when you build for the intel
architecture on an intel machine?
--
Martin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden