Re: iOS v OSX Compile
Re: iOS v OSX Compile
- Subject: Re: iOS v OSX Compile
- From: Mark Wagner <email@hidden>
- Date: Mon, 20 Aug 2012 13:46:19 -0700
On Mon, Aug 20, 2012 at 12:46 PM, koko <email@hidden> wrote:
> I added an iOS Target to an existing project that had only OSX Targets.
>
> The OSX Target build just fine.
>
> The iOS Target build gives the error:
>
> /Volumes/repos/_working/LibBase/_XC44/../_source/BZip.cpp:10:10: fatal
> error: 'stdafx.h' file not found
> #include <stdafx.h>
>
>
> Does iOS not like < >?
#include <stdafx.h> means "Search the system include-file locations
for the file 'stdafx.h'".
#include "stdafx.h" means "Search the user-defined locations for the
file 'stdafx.h', and if that fails, search the system locations".
This is probably what you want, since "stdafx.h" isn't a system header
on Mac.
--
Mark
_______________________________________________
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