> On Jan 14, 2016, at 10:35 AM, Carl Hoefs <newsli...@autonomy.caltech.edu> 
> 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      (Xcode-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to