[self-interest] OS X El Capitan

Tobias Pape Das.Linux at gmx.de
Mon Oct 19 08:04:50 UTC 2015


On 19.10.2015, at 09:09, Russell Allen mail at russell-allen.com [self-interest] <self-interest at yahoogroups.com> wrote:

> Ouch!
> 
>> On 19 Oct 2015, at 5:59 pm, Tobias Pape Das.Linux at gmx.de [self-interest] <self-interest at yahoogroups.com> wrote:
>> The general problem here is, that Since at least OS X 10.6, QuickDraw is 
>> deprecated and was removed in OS X 10.8. 
>> 
>> Here are the ways to go forward:
>> a) Use [xcodelegacy] to compile against the 10.6 or 10.7 SDKs
>> b) Ditch the OS X Interface and use solely X11 (requires XQuartz to be installed)
>> c) User Cocoa interface stuff (ie, Quartz2D) instead of Carbon (ie Quickdraw)
>>   (Squeak is (or has already been) moving towards this currently)
> 
> How is Squeak finding the transition? Is it a lot of work or just renaming some functions?
> Cheers, Russell
> 

It's actually a completely different approach:


OLD:
http://squeakvm.org/svn/squeak/trunk/platforms/Mac%20OS/vm/sqMacWindowUniversal.c

(search for ioShowDisplayOnWindow or QDEndCGContext to see in how far this is similar)

NEW a)
http://squeakvm.org/svn/squeak/trunk/platforms/iOS/vm/OSX/sqSqueakOSXOpenGLView.m
(a opengl view that uses a single texture)
NEW b)
https://github.com/pharo-project/pharo-vm/blob/master/platforms/iOS/vm/OSX/sqSqueakOSXCGView.m
(a cg view that does custom rendering)

Best regards
	-Tobias


> 
>> 
>> Best regards
>> 	-Tobias 
>> 
>> 
>> 
>> [xcodelegacy]: https://github.com/devernay/xcodelegacy
>> 
>> 
>>> It’s the same when I try to build it with the XCode generator:
>>> 
>>> /Users/ddp/src/dvcs/self/vm/src/any/os/quartzWindow.cpp:227:5: error: use of undeclared identifier
>>> 'QDEndCGContext'
>>> QDEndCGContext( gp, &myContext );
>>> ^
>>> /Users/ddp/src/dvcs/self/vm/src/any/os/quartzWindow.cpp:364:5: error: use of undeclared identifier
>>> 'QDEndCGContext'
>>> QDEndCGContext( gp, &myContext );
>>> ^
>>> /Users/ddp/src/dvcs/self/vm/src/any/os/quartzWindow.cpp:418:5: error: use of undeclared identifier
>>> 'QDBeginCGContext'
>>> QDBeginCGContext( GetWindowPort(my_window()), &myContext);
>>> ^
>>> 3 errors generated.
>>> 
>>> .
>>> .
>>> .
>>> 
>>> ** BUILD FAILED **
>>> 
>>> The following build commands failed:
>>> CompileC vm/SelfDistribution.build/Debug/Self.build/Objects-normal/i386/quartzWindow.o vm/src/any/os/quartzWindow.cpp normal i386 c++ com.apple.compilers.llvm.clang.1_0.compiler
>>> (1 failure)
>>> 
>>> 
>>> 
>> 
>> 
>> 
>> 
>> ------------------------------------
>> 
>> ------------------------------------
>> 
>> 
>> ------------------------------------
>> 
>> Yahoo Groups Links






More information about the Self-interest mailing list