Here is what XCode says:
In file included from /Volumes/Ogeima/Users/dpollet/Documents/Development/Squeak/squeak-svn/src/vm/intplugins/ADPCMCodecPlugin/ADPCMCodecPlugin.c:18: /Volumes/Ogeima/Users/dpollet/Documents/Development/Squeak/squeak-svn/platforms/Mac OS/vm/sqConfig.h:4:22: mactypes.h: No such file or directory
This is with a just dezipped xcode project, I have both 10.3.9 and 10.4 SDKs… what's the problem ?
I remember seeing this problem; it was something related to importing the frameworks correctly.
Cheers, - Andreas
Damien Pollet wrote:
Here is what XCode says:
In file included from /Volumes/Ogeima/Users/dpollet/Documents/Development/Squeak/squeak-svn/src/vm/intplugins/ADPCMCodecPlugin/ADPCMCodecPlugin.c:18:
/Volumes/Ogeima/Users/dpollet/Documents/Development/Squeak/squeak-svn/platforms/Mac
OS/vm/sqConfig.h:4:22: mactypes.h: No such file or directory
This is with a just dezipped xcode project, I have both 10.3.9 and 10.4 SDKs… what's the problem ?
Hmm I think the problem was that the actual file has a camelcase name (/Developer/Headers/FlatCarbon/MacTypes.h is the only file that spotlight finds with this name).
It's included as mactypes.h in lowercase in the code and I formatted my disk in case-sensitive HFS+.
Same for Types.h and TextUtils.h…
Then I get: /Volumes/Ogeima/Users/dpollet/Documents/Development/Squeak/squeak-svn/platforms/Mac OS/plugins/JoystickTabletPlugin/HID_Utilities.h:57:32: IOKit/HID/IOHIDLib.h: No such file or directory
…which only exists in the 10.4 SDK but the project file mentions 10.3.9… investigating that now.
On 02/05/07, Andreas Raab andreas.raab@gmx.de wrote:
I remember seeing this problem; it was something related to importing the frameworks correctly.
Cheers,
- Andreas
Damien Pollet wrote:
Here is what XCode says:
In file included from /Volumes/Ogeima/Users/dpollet/Documents/Development/Squeak/squeak-svn/src/vm/intplugins/ADPCMCodecPlugin/ADPCMCodecPlugin.c:18:
/Volumes/Ogeima/Users/dpollet/Documents/Development/Squeak/squeak-svn/platforms/Mac
OS/vm/sqConfig.h:4:22: mactypes.h: No such file or directory
This is with a just dezipped xcode project, I have both 10.3.9 and 10.4 SDKs… what's the problem ?
OK, I fixed a bunch of those case sensitiveness bugs, patch attached.
On 03/05/07, Damien Pollet damien.pollet@gmail.com wrote:
Hmm I think the problem was that the actual file has a camelcase name (/Developer/Headers/FlatCarbon/MacTypes.h is the only file that spotlight finds with this name).
It's included as mactypes.h in lowercase in the code and I formatted my disk in case-sensitive HFS+.
Same for Types.h and TextUtils.h…
Then I get: /Volumes/Ogeima/Users/dpollet/Documents/Development/Squeak/squeak-svn/platforms/Mac OS/plugins/JoystickTabletPlugin/HID_Utilities.h:57:32: IOKit/HID/IOHIDLib.h: No such file or directory
…which only exists in the 10.4 SDK but the project file mentions 10.3.9… investigating that now.
On 02/05/07, Andreas Raab andreas.raab@gmx.de wrote:
I remember seeing this problem; it was something related to importing the frameworks correctly.
Cheers,
- Andreas
Damien Pollet wrote:
Here is what XCode says:
In file included from /Volumes/Ogeima/Users/dpollet/Documents/Development/Squeak/squeak-svn/src/vm/intplugins/ADPCMCodecPlugin/ADPCMCodecPlugin.c:18:
/Volumes/Ogeima/Users/dpollet/Documents/Development/Squeak/squeak-svn/platforms/Mac
OS/vm/sqConfig.h:4:22: mactypes.h: No such file or directory
This is with a just dezipped xcode project, I have both 10.3.9 and 10.4 SDKs… what's the problem ?
-- Damien Pollet type less, do more [ | ] http://typo.cdlm.fasmz.org
I've checked these changes into the SVN tree, please cross check to ensure I got them correct.
On May 2, 2007, at 3:29 PM, Damien Pollet wrote:
OK, I fixed a bunch of those case sensitiveness bugs, patch attached.
-- ======================================================================== === John M. McIntosh johnmci@smalltalkconsulting.com Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ======================================================================== ===
On 03/05/07, John M McIntosh johnmci@smalltalkconsulting.com wrote:
I've checked these changes into the SVN tree, please cross check to ensure I got them correct.
Built OK, the only svn conflict I had was in sqMacOpenGL.h because you removed the metrowerks conditional I had kept. Thanks!
On May 2, 2007, at 3:29 PM, Damien Pollet wrote:
OK, I fixed a bunch of those case sensitiveness bugs, patch attached.
For the issues between 10.3.9 and 10.4, in XCode, at the bottom of Project / Edit Active Target / Build / Deployment / All Settings Change SDKROOT_ppc = /Developer/SDKs/MacOSX10.3.9.sdk/ to MacOSX10.4.0u.sdk.
Might solve some problems compiling.
Ken
Hmm I think the problem was that the actual file has a camelcase name (/Developer/Headers/FlatCarbon/MacTypes.h is the only file that spotlight finds with this name).
It's included as mactypes.h in lowercase in the code and I formatted my disk in case-sensitive HFS+.
Same for Types.h and TextUtils.h
Then I get: /Volumes/Ogeima/Users/dpollet/Documents/Development/Squeak/squeak-svn/platforms/Mac OS/plugins/JoystickTabletPlugin/HID_Utilities.h:57:32: IOKit/HID/IOHIDLib.h: No such file or directory
which only exists in the 10.4 SDK but the project file mentions 10.3.9 investigating that now.
On 02/05/07, Andreas Raab andreas.raab@gmx.de wrote:
I remember seeing this problem; it was something related to importing the frameworks correctly.
Cheers,
- Andreas
Damien Pollet wrote:
Here is what XCode says:
In file included from /Volumes/Ogeima/Users/dpollet/Documents/Development/Squeak/squeak-svn/src/vm/intplugins/ADPCMCodecPlugin/ADPCMCodecPlugin.c:18:
/Volumes/Ogeima/Users/dpollet/Documents/Development/Squeak/squeak-svn/platforms/Mac
OS/vm/sqConfig.h:4:22: mactypes.h: No such file or directory
This is with a just dezipped xcode project, I have both 10.3.9 and 10.4 SDKs what's the problem ?
-- Damien Pollet type less, do more [ | ] http://typo.cdlm.fasmz.org
Oops, make that MacOSX10.4u.sdk Ken
For the issues between 10.3.9 and 10.4, in XCode, at the bottom of Project / Edit Active Target / Build / Deployment / All Settings Change SDKROOT_ppc = /Developer/SDKs/MacOSX10.3.9.sdk/ to MacOSX10.4.0u.sdk.
Might solve some problems compiling.
Ken
<>
MacPro OS X 10.4.9 In fresh squeak-dev-118 image, running on Squeak 3.8.17beta5U.app:
From Package Universes, install FFI and VMMaker 3.8b6.1, from SqueakMap install Balloon 3D.
Open VMMakerTool, point to svn source tree, select TestOSZPlugin only, to be built external. Tell it to build entire. Get debug notifier, see below.
What needs to be done? Thx Ken
2 May 2007 5:37:09 pm
VM: Mac OS - a SmalltalkImage Image: Squeak3.9 [latest update: #7067]
SecurityManager state: Restricted: false FileAccess: true SocketAccess: true Working Dir /mySqueakStuff/Sqkb/Sqkb3.10a/squeak-dev-118VMfresh Trusted Dir /foobar/tooBar/forSqueak/bogus Untrusted Dir /Users/kbrownMPro/Library/Preferences/Squeak/Internet/My Squeak
SmartSyntaxPluginTMethod(Object)>>error: Receiver: a SmartSyntaxPluginTMethod (primOSAExecute) Arguments and temporary variables: aString: 'primOSAExecute: parameter spec must be a Behavior' Receiver's instance variables: selector: #primOSAExecute returnType: 'sqInt' args: an OrderedCollection('script' 'context' 'mode' 'result') locals: an OrderedCollection('component' 'resultsOfCall' 'giLocker') declarations: a Dictionary() primitive: 0 parseTree: [ component := self primitive: 'primOSAExecute' parameters: #(#OSAI...etc... labels: an OrderedCollection() possibleSideEffectsCache: nil complete: false export: false static: true sharedLabel: nil sharedCase: nil comment: nil definingClass: nil globalStructureBuildMethodHasFoo: nil isPrimitive: false suppressingFailureGuards: false fullSelector: #primOSAExecute:in:mode:to: fullArgs: nil parmSpecs: nil rcvrSpec: nil
[] in SmartSyntaxPluginTMethod>>primitive:parameters:receiver: {[^ self error: selector , ': parameter spec must be a Behavior']} Arguments and temporary variables: aString: 'primOSAExecute' anArray: #(#OSAID #OSAID #SmallInteger #OSAID) aClassSymbol: #ComponentInstance each: #OSAID
SystemDictionary(Dictionary)>>at:ifAbsent: Receiver: a SystemDictionary(lots of globals) Arguments and temporary variables: key: #OSAID aBlock: [] in SmartSyntaxPluginTMethod>>primitive:parameters:receiver: {[^ self...etc... assoc: nil Receiver's instance variables: tally: 2923 array: an Array(nil nil nil nil #SMInstaller->SMInstaller #EFontBDFFontReaderFo...etc... cachedClassNames: nil
[] in SmartSyntaxPluginTMethod>>primitive:parameters:receiver: {[:each | Smalltalk at: each ifAbsent: [^ self error: selector , ': param...]} Arguments and temporary variables: aString: 'primOSAExecute' anArray: #(#OSAID #OSAID #SmallInteger #OSAID) aClassSymbol: #ComponentInstance each: #OSAID
--- The full stack --- SmartSyntaxPluginTMethod(Object)>>error: [] in SmartSyntaxPluginTMethod>>primitive:parameters:receiver: {[^ self error: selector , ': parameter spec must be a Behavior']} SystemDictionary(Dictionary)>>at:ifAbsent: [] in SmartSyntaxPluginTMethod>>primitive:parameters:receiver: {[:each | Smalltalk at: each ifAbsent: [^ self error: selector , ': param...]} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Array(SequenceableCollection)>>collect: SmartSyntaxPluginTMethod>>primitive:parameters:receiver: SmartSyntaxPluginTMethod>>isPrimitiveDirectiveSend: SmartSyntaxPluginTMethod>>primitiveDirectiveWasHandled:on: [] in SmartSyntaxPluginTMethod>>extractPrimitiveDirectives {[:stmt | (self primitiveDirectiveWasHandled: stmt on: sStream) ifFalse: [s...]} OrderedCollection>>do: [] in SmartSyntaxPluginTMethod>>extractPrimitiveDirectives {[:sStream | parseTree statements do: [:stmt | (self primitiveDirectiveWasH...]} Array class(SequenceableCollection class)>>streamContents: SmartSyntaxPluginTMethod>>extractPrimitiveDirectives SmartSyntaxPluginTMethod>>setSelector:args:locals:block:primitive: MethodNode>>asTranslationMethodOfClass: [] in SmartSyntaxPluginCodeGenerator(CCodeGenerator)>>addClass: {[:sel :i | bar value: i. source := aClass sourceCodeAt: sel. self addMe...]} [] in IdentitySet(Set)>>doWithIndex: {[:item | aBlock2 value: item value: (index := index + 1)]} IdentitySet(Set)>>do: IdentitySet(Set)>>doWithIndex: [] in SmartSyntaxPluginCodeGenerator(CCodeGenerator)>>addClass: {[:bar | aClass selectors doWithIndex: [:sel :i | bar value: i. sour...]} [] in ProgressInitiationException>>defaultMorphicAction {[result := workBlock value: progress]} BlockContext>>ensure: ProgressInitiationException>>defaultMorphicAction ProgressInitiationException>>defaultAction UndefinedObject>>handleSignal: MethodContext(ContextPart)>>handleSignal: MethodContext(ContextPart)>>handleSignal: ProgressInitiationException(Exception)>>signal ProgressInitiationException>>display:at:from:to:during: ...etc...
On 2-May-07, at 4:45 PM, Ken G. Brown wrote:
MacPro OS X 10.4.9 In fresh squeak-dev-118 image, running on Squeak 3.8.17beta5U.app:
From Package Universes, install FFI and VMMaker 3.8b6.1, from SqueakMap install Balloon 3D.
Open VMMakerTool, point to svn source tree, select TestOSZPlugin only, to be built external. Tell it to build entire. Get debug notifier, see below.
I've never built the TestOSAPlugin (not exactly relevant on RISC OS!) but it looks to me like perhaps the pool or constants stuff is missing. Just like with the Balloon3D & Klatt plugins needing the same constants as the image code that uses them.
tim -- tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim Fractured Idiom:- VISA LA FRANCE - Don't leave chateau without it
Well there was
http://bugs.squeak.org/view.php?id=2146
but I think that is in VMMaker.
Mmm really of course it's the 'primOSAExecute: parameter spec must be a Behavior'
So where did the plugin code change set come from?
On May 2, 2007, at 5:01 PM, tim Rowledge wrote:
On 2-May-07, at 4:45 PM, Ken G. Brown wrote:
MacPro OS X 10.4.9 In fresh squeak-dev-118 image, running on Squeak 3.8.17beta5U.app:
From Package Universes, install FFI and VMMaker 3.8b6.1, from SqueakMap install Balloon 3D.
Open VMMakerTool, point to svn source tree, select TestOSZPlugin only, to be built external. Tell it to build entire. Get debug notifier, see below.
I've never built the TestOSAPlugin (not exactly relevant on RISC OS!) but it looks to me like perhaps the pool or constants stuff is missing. Just like with the Balloon3D & Klatt plugins needing the same constants as the image code that uses them.
tim
tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim Fractured Idiom:- VISA LA FRANCE - Don't leave chateau without it
-- ======================================================================== === John M. McIntosh johnmci@smalltalkconsulting.com Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ======================================================================== ===
vm-dev@lists.squeakfoundation.org