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

From: Robert <>
Date: Sun, 21 Apr 2013 21:29:32 +0200


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
g++ -c -arch i386 -mdynamic-no-pic -mmacosx-version-min=10.5
-Iscintilla/include -Iscintilla/src -Iscintilla/lexlib -Wall
-Wno-missing-braces -Wno-char-subscripts -Wno-long-long
scintilla/src/AutoComplete.cxx scintilla/src/CallTip.cxx
scintilla/src/Catalogue.cxx scintilla/src/CellBuffer.cxx
scintilla/src/CharClassify.cxx scintilla/src/ContractionState.cxx
scintilla/src/Decoration.cxx scintilla/src/Document.cxx
scintilla/src/Editor.cxx scintilla/src/ExternalLexer.cxx
scintilla/src/Indicator.cxx scintilla/src/KeyMap.cxx
scintilla/src/LineMarker.cxx scintilla/src/PerLine.cxx
scintilla/src/PositionCache.cxx scintilla/src/RESearch.cxx
scintilla/src/RunStyles.cxx scintilla/src/ScintillaBase.cxx
scintilla/src/Selection.cxx scintilla/src/Style.cxx
scintilla/src/UniConversion.cxx scintilla/src/ViewStyle.cxx
scintilla/src/XPM.cxx scintilla/lexlib/Accessor.cxx
scintilla/lexlib/CharacterSet.cxx scintilla/lexlib/LexerBase.cxx
scintilla/lexlib/LexerSimple.cxx scintilla/lexlib/PropSetSimple.cxx
scintilla/lexlib/StyleContext.cxx scintilla/lexlib/WordList.cxx
g++ -c -arch i386 -mdynamic-no-pic -mmacosx-version-min=10.5
-Iscintilla/include -Iscintilla/src -Iscintilla/lexlib -Wall
-Wno-missing-braces -Wno-char-subscripts -Wno-long-long
-Iscintilla/term scintilla/term/ScintillaTerm.cxx
g++ -c -arch i386 -mdynamic-no-pic -mmacosx-version-min=10.5
-DG_THREADS_IMPL_NONE -Iscintilla/include -Iscintilla/src
-Iscintilla/lexlib -Wall -Wno-missing-braces -Wno-char-subscripts
-Wno-long-long -DLPEG_LEXER \
                -DNO_SCITE -DNCURSES -Ilua/src LexLPeg.cxx -o LexLPeg-ncurses.o
gcc -c -arch i386 -mdynamic-no-pic -mmacosx-version-min=10.5 -std=c99
-Iscintilla/include -Igtdialog -W -Wall -Wno-sign-compare -Wno-unused
-DSINGLE_INSTANCE -Ilua/src -Iscintilla/term -Itermkey \
                -Icdk textadept.c -o textadept-ncurses.o
textadept.c:16:49: error: gtkmacintegration/gtkosxapplication.h: No
such file or directory
textadept.c:25:21: error: gtk/gtk.h: No such file or directory

These shouldn't be necessary to build the Curses version? Do I need to
comment out something else?


>> On Thu, 28 Jun 2012, Robert wrote:
>>> Hi,
>>> trying to compile the ncurses version on OS X I wonder if it is
>>> possible to build this without any GTK libraries?
>>> Do I need to de-able these somehow?
>> The necessary code in the Makefile is commented out for now due to the
>> libcdk dependency until I figure out how to include it as a dylib. You can
>> install libcdk manually in /usr/local and add any necessary includes to get
>> it to compile. Please make sure you have the latest Makefile (committed
>> yesterday).
>> Mitchell

You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Sun 21 Apr 2013 - 15:29:32 EDT

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