Re: question regarding Xcode Project settings
Re: question regarding Xcode Project settings
- Subject: Re: question regarding Xcode Project settings
- From: "chinmoy Gavini" <email@hidden>
- Date: Mon, 26 Mar 2007 10:20:23 -0600
Thanks for the prompt reply Shawn. I already modified the extension to .mm
I will put a sample of the exact build error I am getting later
tonight, but basically my question is, how do I map the -I and -L
switches and -llapack, -lblas, etc. to the project settings in xcode?
Thanks,
Chinmoy.
On 3/26/07, Shawn Erickson <email@hidden> wrote:
On 3/26/07, chinmoy Gavini <email@hidden> wrote:
> Hi,
>
> I am using Xcode 2.4.1 (Mac OS X 10.4.9) on Intel. I am trying to use
> some C++ objects in a Cocoa application(so I am using the
> Objective-C++ bridge). If I had simply made a commandline pure-C++
> program called filt.cpp with these classes, I could compile that
> program from the Terminal as follows:
>
> g++ -I/usr/local/include -o filt filt.cpp -L/usr/local/lib -litpp
> -lfftw3 -llapack -lblas -lg2c
>
> (That's -I (pronounced like capital eye) /usr/local/include , and -l
> (pronounced like el) itpp, fftw3, lapack,blas,g2c ).
>
> How would I change the settings in Xcode Project settings to build an
> objective-C++ program--I tried messing with C++ flags, Header search
> paths, etc, but I could not get it to work.
>
> I appreciate your help.
Files that end in .mm are Objective-C++ and the tool chain will do the
right thing(TM).
-Shawn
_______________________________________________
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