There is no IOSPlugin class in the image.
Strange! Phil PharoScreenshot.8.png (22K) Download Attachment |
which VMMaker package version do you have? (bacause it has to be there, in latests versions)
On Apr 11, 2012, at 4:48 PM, [hidden email] wrote: > There is no IOSPlugin class in the image. > > Strange! > > Phil > <PharoScreenshot.8.png> |
I had a fresh 1.4 downloaded from Inria.
Then did this in a Workspace: Gofer it squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfCog'; load. (ConfigurationOfCog project version: '4.4') load. CogCocoaIOSConfig new "generateForDebug;" addExternalPlugins: #(FT2Plugin); generateSources; generate. (StackIPhoneConfig new) "generateForDebug;" addExternalPlugins: #(IOSPlugin) generateSources; generate. sic := StackIPhoneConfig new. sic generateSources. sic generate. The latest things were done with the sic variable. There a no versions of VMMaker I can see like that. My package cache contains: PhilMac:image philippeback$ cd package-cache/ PhilMac:package-cache philippeback$ ls Alien-Core-IgorStasenko.68.mcz Applescript-Core-SeanDeNigris.2.mcz Balloon-Engine-Pools-JB.2.mcz CMakeVMMaker-IgorStasenko.154.mcz CMakeVMMaker-MarianoMartinezPeck.83.mcz Cog-eem.46.mcz CogVMMakerPharoCompatibility-MarianoMartinezPeck.3.mcz ConfigurationOfCog-EstebanLorenzano.60.mcz ConfigurationOfGofer-dkh.36.mcz ConfigurationOfHelpSystem-DaleHenrichs.13.mcz ConfigurationOfMetacello-dkh.675.mcz FFI-Pools-eem.3.mcz Freetype-Plugin-dtl.63.mcz Metacello-Base-DaleHenrichs.19.mcz Metacello-Core-dkh.465.mcz Metacello-Core-dkh.468.mcz Metacello-Help-dkh.11.mcz Metacello-MC-dkh.522.mcz Metacello-MC-dkh.531.mcz Metacello-Platform.pharo-DaleHenrichs.25.mcz Metacello-Platform.pharo-dkh.27.mcz Metacello-ToolBox-dkh.107.mcz ObjectiveC-Plugin-John M McIntosh.20.mcz Qwaq-VMProfiling-Plugins-JB.5.mcz SharedPool-Speech-dtl.2.mcz Sound-MarianoMartinezPeck.67.mcz VMConstruction-Plugins-OSProcessPlugin.oscog-eem.32.mcz VMMaker-oscog-EstebanLorenzano.139.mcz Phil 2012/4/11 Esteban Lorenzano <[hidden email]> which VMMaker package version do you have? (bacause it has to be there, in latests versions) -- Philippe Back "Helping you hit the top 3 outcomes you really want to achieve" Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:
High Octane SPRL rue cour Boisacq 101 1301 Bierges |
that is strange, because you should have version VMMaker-oscog-EstebanLorenzano.150
On Apr 11, 2012, at 5:18 PM, [hidden email] wrote: I had a fresh 1.4 downloaded from Inria. |
version44: spec
<version: '4.4' imports: #('4.3' )> spec for: #'common' do: [ spec blessing: #'release'. spec author: 'EstebanLorenzano'. spec timestamp: '6 April 2012 3:18:03 pm'. spec package: 'CMakeVMMaker' with: 'CMakeVMMaker-IgorStasenko.154' ]. version43: spec <version: '4.3' imports: #('4.2' )> spec for: #'common' do: [ spec blessing: #'release'. spec author: 'EstebanLorenzano'. spec timestamp: '5 April 2012 2:06:47 pm'. spec package: 'CMakeVMMaker' with: 'CMakeVMMaker-EstebanLorenzano.153'; package: 'VMMaker' with: 'VMMaker-oscog-EstebanLorenzano.150' ]. But cache with what is in it. I can empty and do it again. Phil 2012/4/11 Esteban Lorenzano <[hidden email]>
-- Philippe Back "Helping you hit the top 3 outcomes you really want to achieve" Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:
High Octane SPRL rue cour Boisacq 101 1301 Bierges |
In reply to this post by EstebanLM
Something fetches .139 in there on the first:
(ConfigurationOfCog project version: '4.4') load. When doing it *again* (ConfigurationOfCog project version: '4.4') load. It loads the .150 version. I don't know why or how. But this is what happens. Package-cache after first: PhilMac:package-cache philippeback$ ls -l total 7640 -rw-r--r--@ 1 philippeback staff 39108 11 avr 18:03 Alien-Core-IgorStasenko.68.mcz -rw-r--r--@ 1 philippeback staff 28655 11 avr 18:03 Applescript-Core-SeanDeNigris.2.mcz -rw-r--r--@ 1 philippeback staff 10223 11 avr 18:03 Balloon-Engine-Pools-JB.2.mcz -rw-r--r--@ 1 philippeback staff 104943 11 avr 18:04 CMakeVMMaker-IgorStasenko.154.mcz -rw-r--r--@ 1 philippeback staff 86144 11 avr 18:04 Cog-eem.46.mcz -rw-r--r--@ 1 philippeback staff 3616 11 avr 18:03 CogVMMakerPharoCompatibility-MarianoMartinezPeck.3.mcz -rw-r--r--@ 1 philippeback staff 15512 11 avr 18:00 ConfigurationOfCog-EstebanLorenzano.60.mcz -rw-r--r--@ 1 philippeback staff 9370 11 avr 18:02 ConfigurationOfGofer-dkh.36.mcz -rw-r--r--@ 1 philippeback staff 4613 11 avr 18:02 ConfigurationOfHelpSystem-DaleHenrichs.13.mcz -rw-r--r--@ 1 philippeback staff 102918 11 avr 18:01 ConfigurationOfMetacello-dkh.675.mcz -rw-r--r--@ 1 philippeback staff 3799 11 avr 18:02 FFI-Pools-eem.3.mcz -rw-r--r--@ 1 philippeback staff 23387 11 avr 18:03 Freetype-Plugin-dtl.63.mcz -rw-r--r--@ 1 philippeback staff 8966 11 avr 18:01 Metacello-Base-DaleHenrichs.19.mcz -rw-r--r--@ 1 philippeback staff 88661 11 avr 18:01 Metacello-Core-dkh.465.mcz -rw-r--r--@ 1 philippeback staff 89663 11 avr 18:02 Metacello-Core-dkh.468.mcz -rw-r--r--@ 1 philippeback staff 7236 11 avr 18:02 Metacello-Help-dkh.11.mcz -rw-r--r--@ 1 philippeback staff 113626 11 avr 18:01 Metacello-MC-dkh.522.mcz -rw-r--r--@ 1 philippeback staff 116611 11 avr 18:02 Metacello-MC-dkh.531.mcz -rw-r--r--@ 1 philippeback staff 5693 11 avr 18:02 Metacello-Platform.pharo-DaleHenrichs.25.mcz -rw-r--r--@ 1 philippeback staff 5942 11 avr 18:02 Metacello-Platform.pharo-dkh.27.mcz -rw-r--r--@ 1 philippeback staff 31656 11 avr 18:02 Metacello-ToolBox-dkh.107.mcz -rw-r--r--@ 1 philippeback staff 15280 11 avr 18:03 ObjectiveC-Plugin-John M McIntosh.20.mcz -rw-r--r--@ 1 philippeback staff 3701 11 avr 18:04 Qwaq-VMProfiling-Plugins-JB.5.mcz -rw-r--r--@ 1 philippeback staff 3401 11 avr 18:02 SharedPool-Speech-dtl.2.mcz -rw-r--r--@ 1 philippeback staff 214595 11 avr 18:03 Sound-MarianoMartinezPeck.67.mcz -rw-r--r--@ 1 philippeback staff 78189 11 avr 18:04 VMConstruction-Plugins-OSProcessPlugin.oscog-eem.32.mcz -rw-r--r--@ 1 philippeback staff 2649278 11 avr 18:03 VMMaker-oscog-EstebanLorenzano.139.mcz PhilMac:package-cache philippeback$ Full load from zero. After second load: PhilMac:package-cache philippeback$ ls -l total 12832 -rw-r--r--@ 1 philippeback staff 39108 11 avr 18:03 Alien-Core-IgorStasenko.68.mcz -rw-r--r--@ 1 philippeback staff 28655 11 avr 18:03 Applescript-Core-SeanDeNigris.2.mcz -rw-r--r--@ 1 philippeback staff 10223 11 avr 18:03 Balloon-Engine-Pools-JB.2.mcz -rw-r--r--@ 1 philippeback staff 104943 11 avr 18:04 CMakeVMMaker-IgorStasenko.154.mcz -rw-r--r--@ 1 philippeback staff 86144 11 avr 18:04 Cog-eem.46.mcz -rw-r--r--@ 1 philippeback staff 3616 11 avr 18:03 CogVMMakerPharoCompatibility-MarianoMartinezPeck.3.mcz -rw-r--r--@ 1 philippeback staff 15512 11 avr 18:00 ConfigurationOfCog-EstebanLorenzano.60.mcz -rw-r--r--@ 1 philippeback staff 9370 11 avr 18:02 ConfigurationOfGofer-dkh.36.mcz -rw-r--r--@ 1 philippeback staff 4613 11 avr 18:02 ConfigurationOfHelpSystem-DaleHenrichs.13.mcz -rw-r--r--@ 1 philippeback staff 102918 11 avr 18:01 ConfigurationOfMetacello-dkh.675.mcz -rw-r--r--@ 1 philippeback staff 3799 11 avr 18:02 FFI-Pools-eem.3.mcz -rw-r--r--@ 1 philippeback staff 23387 11 avr 18:03 Freetype-Plugin-dtl.63.mcz -rw-r--r--@ 1 philippeback staff 8966 11 avr 18:01 Metacello-Base-DaleHenrichs.19.mcz -rw-r--r--@ 1 philippeback staff 88661 11 avr 18:01 Metacello-Core-dkh.465.mcz -rw-r--r--@ 1 philippeback staff 89663 11 avr 18:02 Metacello-Core-dkh.468.mcz -rw-r--r--@ 1 philippeback staff 7236 11 avr 18:02 Metacello-Help-dkh.11.mcz -rw-r--r--@ 1 philippeback staff 113626 11 avr 18:01 Metacello-MC-dkh.522.mcz -rw-r--r--@ 1 philippeback staff 116611 11 avr 18:02 Metacello-MC-dkh.531.mcz -rw-r--r--@ 1 philippeback staff 5693 11 avr 18:02 Metacello-Platform.pharo-DaleHenrichs.25.mcz -rw-r--r--@ 1 philippeback staff 5942 11 avr 18:02 Metacello-Platform.pharo-dkh.27.mcz -rw-r--r--@ 1 philippeback staff 31656 11 avr 18:02 Metacello-ToolBox-dkh.107.mcz -rw-r--r--@ 1 philippeback staff 15280 11 avr 18:03 ObjectiveC-Plugin-John M McIntosh.20.mcz -rw-r--r--@ 1 philippeback staff 3701 11 avr 18:04 Qwaq-VMProfiling-Plugins-JB.5.mcz -rw-r--r--@ 1 philippeback staff 3401 11 avr 18:02 SharedPool-Speech-dtl.2.mcz -rw-r--r--@ 1 philippeback staff 214595 11 avr 18:03 Sound-MarianoMartinezPeck.67.mcz -rw-r--r--@ 1 philippeback staff 78189 11 avr 18:04 VMConstruction-Plugins-OSProcessPlugin.oscog-eem.32.mcz -rw-r--r--@ 1 philippeback staff 2649278 11 avr 18:03 VMMaker-oscog-EstebanLorenzano.139.mcz -rw-r--r--@ 1 philippeback staff 2656869 11 avr 18:08 VMMaker-oscog-EstebanLorenzano.150.mcz After the second load: IOSPlugin is in there, no problem. There must be something wrong in the Metacello config. Phil 2012/4/11 Esteban Lorenzano <[hidden email]>
-- Philippe Back "Helping you hit the top 3 outcomes you really want to achieve" Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:
High Octane SPRL rue cour Boisacq 101 1301 Bierges |
nop... configuration is fine (I used same for build VMs on jenkins)
I don't know what the problem is :( On Apr 11, 2012, at 6:13 PM, [hidden email] wrote: Something fetches .139 in there on the first: |
Well, the first loads shows the 139 and the second the 150.
I can do a movie. But now, I got the source code for all right. Only error left is on the linking: clang: error: no such file or directory: '/Users/philippeback/iosvm43/blessed/build/ADPCMCodecPlugin/Release/libADPCMCodecPlugin.a' clang: error: no such file or directory: '/Users/philippeback/iosvm43/blessed/build/BMPReadWriterPlugin/Release/libBMPReadWriterPlugin.a' clang: error: no such file or directory: '/Users/philippeback/iosvm43/blessed/build/B2DPlugin/Release/libB2DPlugin.a' clang: error: no such file or directory: '/Users/philippeback/iosvm43/blessed/build/BitBltPlugin/Release/libBitBltPlugin.a' clang: error: no such file or directory: '/Users/philippeback/iosvm43/blessed/build/DSAPrims/Release/libDSAPrims.a' clang: error: no such file or directory: '/Users/philippeback/iosvm43/blessed/build/ZipPlugin/Release/libZipPlugin.a' clang: error: no such file or directory: '/Users/philippeback/iosvm43/blessed/build/LocalePlugin/Release/libLocalePlugin.a' clang: error: no such file or directory: '/Users/philippeback/iosvm43/blessed/build/FFTPlugin/Release/libFFTPlugin.a' clang: error: no such file or directory: '/Users/philippeback/iosvm43/blessed/build/FilePlugin/Release/libFilePlugin.a' clang: error: no such file or directory: '/Users/philippeback/iosvm43/blessed/build/FloatArrayPlugin/Release/libFloatArrayPlugin.a' clang: error: no such file or directory: '/Users/philippeback/iosvm43/blessed/build/HostWindowPlugin/Release/libHostWindowPlugin.a' clang: error: no such file or directory: '/Users/philippeback/iosvm43/blessed/build/JPEGReadWriter2Plugin/Release/libJPEGReadWriter2Plugin.a' clang: error: no such file or directory: '/Users/philippeback/iosvm43/blessed/build/JPEGReaderPlugin/Release/libJPEGReaderPlugin.a' clang: error: no such file or directory: '/Users/philippeback/iosvm43/blessed/build/LargeIntegers/Release/libLargeIntegers.a' clang: error: no such file or directory: '/Users/philippeback/iosvm43/blessed/build/Matrix2x3Plugin/Release/libMatrix2x3Plugin.a' clang: error: no such file or directory: '/Users/philippeback/iosvm43/blessed/build/MiscPrimitivePlugin/Release/libMiscPrimitivePlugin.a' clang: error: no such file or directory: '/Users/philippeback/iosvm43/blessed/build/SecurityPlugin/Release/libSecurityPlugin.a' clang: error: no such file or directory: '/Users/philippeback/iosvm43/blessed/build/SoundCodecPrims/Release/libSoundCodecPrims.a' clang: error: no such file or directory: '/Users/philippeback/iosvm43/blessed/build/SoundPlugin/Release/libSoundPlugin.a' clang: error: no such file or directory: '/Users/philippeback/iosvm43/blessed/build/SurfacePlugin/Release/libSurfacePlugin.a' clang: error: no such file or directory: '/Users/philippeback/iosvm43/blessed/build/UUIDPlugin/Release/libUUIDPlugin.a' clang: error: no such file or directory: '/Users/philippeback/iosvm43/blessed/build/ObjectiveCPlugin/Release/libObjectiveCPlugin.a' clang: error: no such file or directory: '/Users/philippeback/iosvm43/blessed/build/IOSPlugin/Release/libIOSPlugin.a' In fact the files are not in the Release/ folder but in Release-iphoneos See screenshot. Where do I change that? Almost there!!! Phil 2012/4/11 Esteban Lorenzano <[hidden email]>
-- Philippe Back "Helping you hit the top 3 outcomes you really want to achieve" Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:
High Octane SPRL rue cour Boisacq 101 1301 Bierges 2012-04-11_18-34-26-link.png (196K) Download Attachment |
In reply to this post by EstebanLM
In case it helps, this comes out of a parameter.
See screenshots. Phil 2012/4/11 Esteban Lorenzano <[hidden email]>
-- Philippe Back "Helping you hit the top 3 outcomes you really want to achieve" Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:
High Octane SPRL rue cour Boisacq 101 1301 Bierges 2012-04-11_18-38-39-platform.png (514K) Download Attachment 2012-04-11_18-39-36-config.png (29K) Download Attachment |
In reply to this post by philippeback
Hi,
On Apr 11, 2012, at 6:35 PM, [hidden email] wrote: Well, the first loads shows the 139 and the second the 150. he, no... I believe you :) I just saying that problem is not metacello configuration but something else (what, I don't know)
yep... now you are at same point as me –that should be 23 errors– :)
I don't know... there is something in cmake for xcode that tells where to look the static file, and I still didn't realize which rule I need to change, didn't had the time to work on that yet :(
|
In reply to this post by EstebanLM
Success!
I removed the platform variable in the main project and I am now able to run the thing on my iPad. It looks ugly and Pharo complains about a lack of memory. But it loads, I was able to show a world menu and a browser. More later. But it is already something. Thanks for your help! Phil 2012/4/11 Esteban Lorenzano <[hidden email]>
-- Philippe Back "Helping you hit the top 3 outcomes you really want to achieve" Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:
High Octane SPRL rue cour Boisacq 101 1301 Bierges |
congrats! Esteban On Apr 11, 2012, at 9:16 PM, [hidden email] wrote: Success! |
It was late. So, I removed the extra variable on the top config and the rest followed suit.
Now, the VM seems to be either eating too much memory or not having enough available.
Reading from John Mc Intosh text, it seems that his iSqueak VM had settings to configure that. They seem absent from the iStackVM as build. Also, a nib file isn't editable in Xcode 4.3 --> xib may be better now. We may have to recreate.
I see that the iPhone image in the resources folder contains customizations for iPhone (I think this is mostly for touch stuff). Is there any doc about that? Main concern now: how to configure the amount of RAM for the system?
Another problem is that the screen doesn't resizes when rotated. We may want to lock those things down. I see that the provided image is a 1.4 something. How to shrink that? Or is there a Squeak image I could run instead of a pharo one just for tests?
Rgds, philippe 2012/4/11 Esteban Lorenzano <[hidden email]>
Philippe Back "Helping you hit the top 3 outcomes you really want to achieve"
Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:
High Octane SPRL rue cour Boisacq 101 1301 Bierges |
On Wed, Apr 11, 2012 at 10:18 PM, [hidden email] <[hidden email]> wrote: It was late. So, I removed the extra variable on the top config and the rest followed suit. Hi Phil. Try a PharoCore image, evaluate ScriptLoader new cleanUpForProduction and save it. Then try to open that one. Cheers
-- Mariano http://marianopeck.wordpress.com |
In reply to this post by philippeback
On 11/04/12 3:16 PM, [hidden email] wrote:
> Success! > > I removed the platform variable in the main project and I am now able to > run the thing on my iPad. > > It looks ugly and Pharo complains about a lack of memory. > > But it loads, I was able to show a world menu and a browser. What, no screenshot? :) |
In reply to this post by EstebanLM
On Apr 11, 2012, at 10:18 PM, [hidden email] wrote: > > I see that the provided image is a 1.4 something. How to shrink that? Or is there a Squeak image I could run instead of a pharo one just for tests? > in 1.4, execute ScriptLoader new cleanUpForProduction. The result is a 8.2 MB image. Diff to the release image - No tests - No Help texts - No Monticello ancestry information - no deprecated code Marcus -- Marcus Denker -- http://marcusdenker.de |
In reply to this post by philippeback
Hi,
On Apr 11, 2012, at 10:18 PM, [hidden email] wrote: It was late. So, I removed the extra variable on the top config and the rest followed suit. yeah, I need to reproduce that on cmake level... should be easy, but I have no idea of what I need to change.
plain image is a memory eater... for production you need a smaller one (10-15m images works fine, bigger starts to have memory issues)
not anymore (for now). You need to touch that by hand, on startup sequence (I will send the right place tomorrow).
yup, but make can't compile xibs (that's why I'm using nib, I need make to automatize process and create a jenkins job. In future cmakemaker versions I will add an external compilation for that, but for now is ok like that)... you can just change nib with corresponding xib (it is there too).
yes, is to allow image to handle complex events. It also installs ObjectiveCBridge2 to allow some interaction with machine. Sadly no, there is no documentation, just the code.
answered (partially) up
it should rotate... after you install iPhone package.
ScriptLoader new cleanUpForProduction. cheers, Esteban
|
Ok.
Looks like there is no pharocore1.4 on Jenkins. Or is it me? I can spot a 1.3 Core but no 1.4 Anyway, the iPhone.image supplied with the blessed/ is not containing ScriptLoader. Where can I get it?
Phil
2012/4/11 Esteban Lorenzano <[hidden email]>
Philippe Back "Helping you hit the top 3 outcomes you really want to achieve" Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:
High Octane SPRL rue cour Boisacq 101 1301 Bierges |
In reply to this post by Yanni Chiu
Ah, Screenshots. There you go, direct from the device.
2012/4/11 Yanni Chiu <[hidden email]> On 11/04/12 3:16 PM, [hidden email] wrote: Philippe Back "Helping you hit the top 3 outcomes you really want to achieve" Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:
High Octane SPRL rue cour Boisacq 101 1301 Bierges Screenshot.png (83K) Download Attachment |
In reply to this post by EstebanLM
Other thing:
The debug console in Xcode shows an endless stream of >>STARTING SMALLTALK LOG<< like mad, works for a while, I get a memory error and then a dump. Check attachment.
2012/4/11 Esteban Lorenzano <[hidden email]>
Philippe Back "Helping you hit the top 3 outcomes you really want to achieve" Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: [hidden email] | Web: http://philippeback.eu | Blog:
High Octane SPRL rue cour Boisacq 101 1301 Bierges log.rtf (224K) Download Attachment |
Free forum by Nabble | Edit this page |