Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Problem Linking to X11
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem Linking to X11



John T. Shaw wrote:
[]
Problem is I can't get my code to compile.  If I use "-L/usr/X11/lib
-lXft -lfreetype -lXrender -lfontconfig"  for my compiler flags I get:
"illegal reference to symbol: _XAddExtension defined in indirectly
referenced dynamic library
/usr/X11R6/lib/libX11.6.dylib"

If I add -lX11 to the list I get:
/usr/bin/libtool: can't locate file for: -lX11

Looks like you really wrote /usr/X11/lib instead of /usr/X11R6/lib.

--
Martin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Problem Linking to X11 (From: "John T. Shaw" <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.