• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode 7 can't build "Command Line Tool" projects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 7 can't build "Command Line Tool" projects


  • Subject: Re: Xcode 7 can't build "Command Line Tool" projects
  • From: Carl Hoefs <email@hidden>
  • Date: Thu, 14 Jan 2016 11:56:31 -0800
  • Importance: Normal

>
>> On Jan 14, 2016, at 10:35 AM, Carl Hoefs
>> <email@hidden> wrote:
>>
>> In file included from
>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/ncurses.h:141:
>> /opt/local/include/unctrl.h:60:63: error: unknown type name 'SCREEN'
>> NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*,
>> chtype);
>
>
> (tl;dr: You’ve installed headers for some different version of ncurses
> in /opt, and the preprocessor is finding some of those headers in addition
> to the standard ones and getting mixed up because they’re not
> compatible.)
>
> Looks like you’ve got a header named unctrl.h in /opt/local/include that
> is in the compiler’s header search path before the SDK header paths, so
> when the standard ncurses.h includes unctrl.h it gets your local one
> instead of the standard one. And then it appears that your local one is
> not compatible — when I look at that header in the Mac OS SDK, there is
> no declaration like the one quoted above.
>
>> Once failed it
>> never recovers and I have to create a new "Command Line Tool" project
>> and
>> copy my source code over to it.
>
> That shouldn’t be necessary. Have you tried Clean Build Folder?
> (Cmd-Shift-Opt-K)
>
> —Jens

Thx for the feedback. User paths can't get placed before the SDK header
paths, can they? Odd that Clean Build Folder doesn't seem to affect this
but copying the project to a new one does... for a while. Maybe there are
too many people here doing things to the machine configurations. I just
blew away all of Mac Ports and am now rebuilding it for El Cap. Hoping for
the best...
-Carl


 _______________________________________________
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


References: 
 >Xcode 7 can't build "Command Line Tool" projects (From: Carl Hoefs <email@hidden>)
 >Re: Xcode 7 can't build "Command Line Tool" projects (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Xcode 7 can't build "Command Line Tool" projects
  • Next by Date: Adding dynamic library soft links
  • Previous by thread: Re: Xcode 7 can't build "Command Line Tool" projects
  • Next by thread: Adding dynamic library soft links
  • Index(es):
    • Date
    • Thread