Re: Problem finding c++ headers...
Re: Problem finding c++ headers...
- Subject: Re: Problem finding c++ headers...
- From: Steven Hamblin <email@hidden>
- Date: Sat, 26 Nov 2005 23:43:35 -0700
Markus,
Thanks for replying! As it turned out, I managed to fix this just a
few minutes before I got your reply (go figure.. :). I had to edit
the project settings, where under the build tab I added /usr/local/
include to the header search paths.
I especially appreciate your advice on the libraries, because that
was what was really holding me up after I got the header files included.
Cheers,
Steven
--
Master of Arts student
Department of Psychology, University of Alberta.
Office: P-319F, Biological Sciences
Phone: 492-6681 e-mail: email@hidden
On 26-Nov-05, at 5:24 PM, Markus Hitter wrote:
Am 27.11.2005 um 00:29 schrieb Steven Hamblin:
#include <es.h>
However, XCode immediately tells me it can't find the header files.
If you are CLI proof, add the --verbose flag to gcc to learn what
gcc/g++ searches and about the differences between:
#include "eo"
#include "eo.h"
#include <eo> and
#include <eo.h>
(i.e. error: eo: No such file or directory.) The example program
compiles fine with the makefile that came with the library.
The Xcode-type way is to go to preferences and to add /usr/local/
include to the known source trees, IIRC. As you can edit about any
flag Xcode passes to the undelying CLI tools, you can add a -I
directive as well. See all the settings when you double click your
target and/or your project.
... I have to do anything special to get the libraries to link as
well?
Add the library to the project like you'd add a source file or a
framework. Xcode will pick it up and pass the appropriate flags to
the linker.
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden