Re: Better description of problem with XQuartz, Fortran and Xcode
Re: Better description of problem with XQuartz, Fortran and Xcode
- Subject: Re: Better description of problem with XQuartz, Fortran and Xcode
- From: Merle Reinhart <email@hidden>
- Date: Fri, 19 Jul 2013 10:43:47 -0400
On Mountain Lion, the /usr/include/X11 symbolic link tends to wind up missing.
Either explicitly pass /opt/X11/include/X11 to your app build process, or recreate the symbolic link if it is missing.
For the libs, the XQuartz installer should have put in the symbolic links in /usr (they point at /opt/X11).
Merle
On Jul 19, 2013, at 10:31 AM, Richard Bartholomew <email@hidden> wrote:
> I should perhaps apologize for being terse in describing my problem earlier. I am able to run XQuartz.app in place of X11.app. What I cannot do is build my apps. Under X11, I would use the following linker commands:
>
> Other Linker Flags = -lX11
>
> Library Search Paths = /usr/X11R6/lib
>
> This caused the liner to search for libraries that contained filed such as Xlib.h and Xutil.h. However, under Mountain Lion and XQuartz, the libraries no longer can be found. The specific error messages when linking are:
>
> /libtool: can't locate file for: -lX11
>
> /libtool: file: -lX11 is not an object file (not allowed in a library)
>
> Lexical or Preprocessor issue: X11/Xlib.h' file not found
>
> What files am I missing and what do I do to fix this? Again, thanks for your help in advance.
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> X11-users mailing list (email@hidden)
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden