Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EXC_BAD_ACCESS when trying to use X11



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)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden
References: 
 >EXC_BAD_ACCESS when trying to use X11 (From: "Kustaa Nyholm" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.