Hi Craig,
the macosx build is not supported since a lot, as you said in your post, it relies in deprecated functions (many of them now removed). I'm maintaining the Cocoa ones (which still have some problems, but at least they use non deprecated APIs).
Instead trying to build the MacOS configuration, you need to use: CogCocoaIOSConfig
best, Esteban
On Oct 19, 2012, at 6:40 PM, Craig Latta craig@netjam.org wrote:
Hi all--
The Cog-building instructions at [1] don't seem to work:
CMake Error at CMakeLists.txt:46 (add_executable): Cannot find source file:
/Users/craig/me/behavior/spoon/processor/kernel/cog-2012-10-19/blessed/macbuild/resources/ProjectBuilder/MainMenu.nib
Hack that one and get:
CMake Error at HostWindowPlugin/CMakeLists.txt:17 (add_library): Cannot find source file:
/Users/craig/me/behavior/spoon/processor/kernel/cog-2012-10-19/blessed/platforms/iOS/vm/iPhone/plugins/HostWindowPlugin/sqMacHostWindow.c
Hack that one and get:
CMake Error at CroquetPlugin/CMakeLists.txt:17 (add_library): Cannot find source file:
/Users/craig/me/behavior/spoon/processor/kernel/cog-2012-10-19/blessed/platforms/Cross/plugins/CroquetPlugin/tribox.c
There is no file called “tribox.c”. Now what?
thanks!
-C
[1] http://marianopeck.wordpress.com/2011/04/10/building-the-vm-from-scratch-usi...
-- Craig Latta www.netjam.org/resume +31 6 2757 7177
- 1 415 287 3547 (no SMS)
On 12-10-19 12:55 PM, Esteban Lorenzano wrote:
Hi Craig,
the macosx build is not supported since a lot, as you said in your post, it relies in deprecated functions (many of them now removed). I'm maintaining the Cocoa ones (which still have some problems, but at least they use non deprecated APIs).
Instead trying to build the MacOS configuration, you need to use: CogCocoaIOSConfig
best, Esteban
Since you're talking about the OSX build, I wonder if I could ask a question?
I see that Marcel Weiher's Clut is still in SqueakPureObjc.xcodeproj. I've been looking at his CocoaSqueak and am trying to see the path that bits for the DisplayForm travel to the screen.
Bits from the DisplayForm go to the Clut and then to NSBitmapImageRep and then to the CGContext, which puts them on the NSWindow.
Is that close? Any hints on this topic would help me a great deal.
Thanks,
vm-dev@lists.squeakfoundation.org