• 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: Jens Alfke <email@hidden>
  • Date: Thu, 14 Jan 2016 11:26:38 -0800


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
 _______________________________________________
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

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

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