Re: [code] [textadept] ncurses on OS X

From: Robert <rob.g.att.web.de>
Date: Mon, 22 Apr 2013 08:53:50 +0200

Hi Mitchell,

I tried again with a recent version using Chris' script.
Now I get

$ make osx-curses
g++ -c -arch i386 -mdynamic-no-pic -mmacosx-version-min=10.5
-pedantic -Os -DCURSES -DSCI_LEXER -DNDEBUG -DG_THREADS_IMPL_NONE
-Iscintilla/include -Iscintilla/src -Iscintilla/lexlib -Wall
-Wno-missing-braces -Wno-char-subscripts -Wno-long-long
-Iscintilla/term scintilla/term/ScintillaTerm.cxx
scintilla/term/ScintillaTerm.cxx:72: error: ISO C++ forbids
declaration of ‘cchar_t’ with no type
scintilla/term/ScintillaTerm.cxx:72: error: expected ‘;’ before ‘*’ token
scintilla/term/ScintillaTerm.cxx: In member function ‘virtual void
SurfaceImpl::AlphaRectangle(PRectangle, int, ColourDesired, int,
ColourDesired, int, int)’:
scintilla/term/ScintillaTerm.cxx:318: error: invalid use of incomplete
type ‘struct _win_st’
/usr/include/curses.h:322: error: forward declaration of ‘struct _win_st’
scintilla/term/ScintillaTerm.cxx: In member function ‘virtual void
SurfaceImpl::DrawTextTransparent(PRectangle, Font&, XYPOSITION, const
char*, int, ColourDesired)’:
scintilla/term/ScintillaTerm.cxx:375: error: invalid use of incomplete
type ‘struct _win_st’
/usr/include/curses.h:322: error: forward declaration of ‘struct _win_st’
make: *** [ScintillaTerm.o] Error 1

Any pointers?

Thanks!
Robert

On Mon, Apr 22, 2013 at 5:09 AM, Mitchell <m.att.foicica.com> wrote:
> Hi Robert,
>
>
> On Sun, 21 Apr 2013, Robert wrote:
>
>> Hi,
>>
>> I am trying to compile the Ncurses version on OS X, using Xcode 4.6.2
>> and Textadept Sources 6.5. I uncommented the Darwin section and
>> removed the '-isysroot' setting (libs are found in /usr/include/) but
>> now it complains about missing gtk libraries.
>>
>> $ make osx-ncurses
>
>
> Latest hg uses 'curses' instead of 'ncurses'.
>
> $ make osx-curses
>
> should work.
>
> Cheers,
>
> Mitchell
> --
> You are subscribed to code.att.foicica.com.
> To change subscription settings, send an e-mail to code+help.att.foicica.com.
> To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
>

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Mon 22 Apr 2013 - 02:53:50 EDT

This archive was generated by hypermail 2.2.0 : Mon 22 Apr 2013 - 06:53:04 EDT