and class IOSPlugin is on system or not?

On Apr 11, 2012, at 3:10 PM, phil@highoctane.be wrote:

I did that. But it keeps on saying key #IOSPlugin not found in SystemDictionary.

StackIPhoneConfig>>prepareVMMaker

...

"touch plugins to force their source generation unconditionally"
allPlugins do: [:name | (Smalltalk globals at: name) touch ].
...

A print it on allPlugins gives:

 #(#ADPCMCodecPlugin #BMPReadWriterPlugin #BalloonEnginePlugin #BitBltSimulation #DSAPlugin #DeflatePlugin #LocalePlugin #FFTPlugin #FilePlugin #FloatArrayPlugin #HostWindowPlugin #JPEGReadWriter2Plugin #JPEGReaderPlugin #LargeIntegersPlugin #Matrix2x3Plugin #MiscPrimitivePlugin #SecurityPlugin #SoundCodecPlugin #SoundGenerationPlugin #SoundPlugin #SurfacePlugin #UUIDPlugin #ObjectiveCPlugin #IOSPlugin)

What could be causing that?

Phil

2012/4/11 Esteban Lorenzano <estebanlm@gmail.com>
strange... just remove the "#"... and don't add it to #addExternalPlugins:

On Apr 11, 2012, at 2:56 PM, phil@highoctane.be wrote:

I investigated for the plugin and found this as the only reference:

StackIPhoneConfig>>defaultInternalPlugins
^ #(
ADPCMCodecPlugin
BMPReadWriterPlugin 
BalloonEnginePlugin 
BitBltSimulation 
DSAPlugin 
DeflatePlugin 
"DropPlugin"
LocalePlugin 
FFTPlugin 
FilePlugin 
FloatArrayPlugin 
HostWindowPlugin 
JPEGReadWriter2Plugin 
JPEGReaderPlugin 
LargeIntegersPlugin 
Matrix2x3Plugin 
MiscPrimitivePlugin 
"RePlugin" 
SecurityPlugin 
"SocketPlugin"
SoundCodecPlugin 
SoundGenerationPlugin 
SoundPlugin
SurfacePlugin
UUIDPlugin
ObjectiveCPlugin 
#IOSPlugin)

IOSPlugin is in there with a # symbol.

And you told me to 

addExternalPlugins: #(iOSPlugin).

I am lost here, especially since it doesn't work. (Key Not Found)


Help!

Phil



2012/4/10 phil@highoctane.be <phil@highoctane.be>
Fail: Key #IOSPlugin not found.

I have removed the build/ folder before generating anything.

See screenshot.

Phil


2012/4/10 Esteban Lorenzano <estebanlm@gmail.com>
yeah... but you don't need FT2 for iOS... that instructions were for plain cog vm.

Run this instead: 

StackIPhoneConfig new 
"generateForDebug;"
generateSources; generate.

btw... you will need to remove CMakeCache.txt before running cmake again. 

On Apr 10, 2012, at 6:09 PM, phil@highoctane.be wrote:

Looks like OSX 10.7 needs a bit of sudo port install automake to have the right version for FT2 plugin.

Let's see.

Phil

2012/4/10 Esteban Lorenzano <estebanlm@gmail.com>
on ./build

execute: 

../codegen-scripts/extract-commit-info.sh 

then... you are going to have errors (23, if everything is like my installation)... and you are going to be in the same stage as me (I still didn't fixed that, is an cmakemaker issue)

On Apr 10, 2012, at 2:58 PM, phil@highoctane.be wrote:

Ok, it generates sources.

I used the cmake you told me:

So, on Lion, some frameworks are not found. I guess that I'll have to update that by hand.

Philippe

2012/4/10 Esteban Lorenzano <estebanlm@gmail.com>
sorry, my fault... there is no stable version on cog

try:

(ConfigurationOfCog project version: '4.4') load.


On Apr 10, 2012, at 2:11 PM, phil@highoctane.be wrote:

Sorry, fails on #stable load.

Did you meant #release ?

Phil


2012/4/10 Esteban Lorenzano <estebanlm@gmail.com>
that's a pretty old version of CMakeMaker... you should:

1) download latest pharo 1.4 (and place it in ./image)
2) install ConfigurationOfCog

Gofer it 
squeaksource: 'MetacelloRepository';
package: 'ConfigurationOfCog';
load.

3) execute

(ConfigurationOfCog project version: #stable) load.

4) then execute: 

CogCocoaIOSConfig new 
"generateForDebug;"
addExternalPlugins: #(FT2Plugin);
generateSources; generate.

that's the correct way of doing

best,
Esteban

On Apr 10, 2012, at 1:51 PM, phil@highoctane.be wrote:

The CocoaIOSJitConfig>>prepareForGeneration

"force using LF on Macs"
CrLfFileStream defaultToLF.

^ self prepareForCogGeneration

fails on CrLfFileStream defaultToLF.

The only implementer was  MultiByteFileStream defaultToLF.

The CrLfFileStream occurs in quite a *Config places.

Phil

2012/4/10 Mariano Martinez Peck <marianopeck@gmail.com>


On Tue, Apr 10, 2012 at 12:16 AM, phil@highoctane.be <phil@highoctane.be> wrote:
I do have the cloned repos now.

For ConfigurationOfCog where can I pick this one up ? In the supplied image I guess. Right?

... moving (slowly) forward.

Thanks!

2012/4/6 phil@highoctane.be <phil@highoctane.be>

Oh great news!
Tomorrow will be Pharo iOS day.

Le 6 avr. 2012 17:54, "Esteban Lorenzano" <estebanlm@gmail.com> a �crit :
Hi,

On Apr 6, 2012, at 10:51 AM, phil@highoctane.be wrote:

I am still unable to get this to work.

latest nightly build from cmake is able to build valid xcode projects again [1].
Some adjusts are needed to actually build, but it is almost there (I will take care about that this days)

Also I see a jenkins build for OSX but not for iOS.

Yeah, and I want to have one, but it will take time (and time is tyrant, you know). 

XCode 4.3 will open old xcode projects so posting a full set of files that work out of cmake (ie a fully made build/ folder) would help a lot.

Would you be able to ship me such a set of files?

you already have them: clone of my repository [2] or blessed [3] and install latest ConfigurationOfCog

best,
Esteban







--
Philippe Back
"Helping you hit the top 3 outcomes you really want to achieve"


High Octane SPRL
rue cour Boisacq 101
1301 Bierges




--
Mariano
http://marianopeck.wordpress.com




--
Philippe Back
"Helping you hit the top 3 outcomes you really want to achieve"


High Octane SPRL
rue cour Boisacq 101
1301 Bierges





--
Philippe Back
"Helping you hit the top 3 outcomes you really want to achieve"


High Octane SPRL
rue cour Boisacq 101
1301 Bierges

<PharoScreenshot.3.png>




--
Philippe Back
"Helping you hit the top 3 outcomes you really want to achieve"


High Octane SPRL
rue cour Boisacq 101
1301 Bierges

<2012-04-10_14-56-49-cmake.png>




--
Philippe Back
"Helping you hit the top 3 outcomes you really want to achieve"


High Octane SPRL
rue cour Boisacq 101
1301 Bierges





--
Philippe Back
"Helping you hit the top 3 outcomes you really want to achieve"


High Octane SPRL
rue cour Boisacq 101
1301 Bierges




--
Philippe Back
"Helping you hit the top 3 outcomes you really want to achieve"


High Octane SPRL
rue cour Boisacq 101
1301 Bierges





--
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: phil@highoctane.be | Web: http://philippeback.eu | Blog:

High Octane SPRL
rue cour Boisacq 101
1301 Bierges