Hi,

Whatever happened to the OSX carbon version of scintilla? Is it still being used in Komodo? Are we going to see the changes folded back into the main branch? The post below seems to be the last word on the subject and that was nearly a year ago


The instructions in Shane's post are bit old but I was able to get things working with the following modifications:

0) These instructions worked on my machine with osx 10.4.7, intel, and xcode 2.3

1) CVS checkout: 
Login using the first command below then hit return when it asks for a password. Then paste in the second command and you should get everything you need to build scintilla for the OSX.

cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/scintilla login

cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/scintilla co -r rel-1-66-osx-carbon -P scintilla


2) Build scintilla library:

Open scintilla/macosx/makefile with your favorite editor
Delete '-arch ppc $(OPT_G4)'  from the CXXBASEFLAGS line. I'm on an intel mac so I had to do that. 
Save the file.
cd to the scintilla/macosx directory
Execute make. You will get a bunch of warnings but no errors

make

3) Build the test application

Open the xcode project file at scintilla/macosx/SciTest/SciTest.xcode
Xcode will want to create an update project file. Go ahead and do that then save it with the same name.
In Xcode, select the libstdc++ framework located in the groups and files window under "SciTest:Sources:External Frameworks and Libraries"
Select getinfo from the menu at "File:Get Info"
In the getinfo window select choose, then go find yourself an appropriate c++ lib. /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libstdc++.6.0.4.dylib worked for me.
Close the info box and then build and run.

The test application should start and you should have a functioning scintilla osx carbon based editor staring you in the face. Yeah!

It would be massively cool if the main scintilla branch could get the osx version with all the latest bug fixes and features. Shane, any chance of that happening anytime soon? 1 year is a long time to wait ;-)

Thanks!
Marty
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to