Hi All, Are these steps written README file in the PharoVM repo? e.g. https://github.com/pharo-project/pharo-vm/blob/master/README.md
Luc 2014-02-26 21:34 GMT+01:00 jannik laval <jannik.la...@gmail.com>: > Yes, but a Pharo1.4 > I tried with a Pharo2.0 but it freezes. Morover, for Pharo2.0 there are > some changes to do to download all the stuff. > > Here is the process for Pharo 1.4: > > ==== > git clone https://github.com/pharo-project/pharo-vm.git > cd pharo-vm/image/ > ./newImage.sh ==> it load a pharo20 > > ./pharo generator.image eval --save PharoIPhoneBuilder buildIPhoneSimulator > -- or -- > ./pharo generator.image eval --save PharoIPhoneBuilder buildIPhone > > cd ../iosbuild/resources/ > > ./generate.sh > > cd ../../build/ > > sudo ../scripts/extract-commit-info.sh > > sudo cmake -G Xcode . > > open iPharoSimulator.xcodeproj/ > > In the list "ALL_BUILD", go to edit scheme, and change the Executable > field to the iPharo... > Select your iOS version and compile it. > > > > > 2014-02-26 20:45 GMT+01:00 Alexandre Bergel <alexandre.ber...@me.com>: > > So, can we have Pharo on the iphone and ipad? >> >> Alexandre >> >> >> On Feb 26, 2014, at 7:33 AM, jannik laval <jannik.la...@gmail.com> wrote: >> >> > Thank you Esteban, >> > It works. I failed probably because I did not remove the app in the >> simulator. >> > >> > Thank you again. >> > >> > Jannik >> > >> > >> > 2014-02-25 13:26 GMT+01:00 Esteban Lorenzano <esteba...@gmail.com>: >> > btw what can be happening is that xcode fails to build freetype2. >> > the way to workaround this problem is: >> > >> > first, build a makefile version of the app: >> > >> > sh build.sh >> > >> > then, re-prepare for xcode: >> > >> > rm CMakeCache.txt >> > cmake -G Xcode . >> > >> > >> > (that will build freetype2 first, and when xcode tries to get it, it >> will be already there, so it will ski the build part, who often and >> mysteriously fails) >> > >> > Esteban >> > >> > >> > On 25 Feb 2014, at 13:22, Esteban Lorenzano <esteba...@gmail.com> >> wrote: >> > >> >> that works for me. >> >> what is the problem you are having? >> >> >> >> >> >> On 25 Feb 2014, at 12:10, jannik laval <jannik.la...@gmail.com> wrote: >> >> >> >>> It seems to not work :( >> >>> Here is the process I follow: >> >>> >> >>> === >> >>> git clone https://github.com/pharo-project/pharo-vm.git >> >>> cd pharo-vm/image/ >> >>> ./newImage.sh ==> it load a pharo20 >> >>> >> >>> ./pharo generator.image eval --save PharoIPhoneBuilder >> buildIPhoneSimulator >> >>> >> >>> cd ../iosbuild/resources/ >> >>> >> >>> ./generate.sh ==> it is a pharo1.4 image. >> >>> >> >>> sudo ../scripts/extract-commit-info.sh >> >>> sudo cmake -G Xcode . >> >>> >> >>> open iPharoSimulator.xcodeproj/ >> >>> >> >>> In the list "ALL_BUILD", go to edit scheme, and change the Executable >> field to the iPharo. >> >>> Select your iOS version and compile it. >> >>> === >> >>> >> >>> Jannik >> >>> >> >>> >> >>> 2014-02-25 9:23 GMT+01:00 Esteban Lorenzano <esteba...@gmail.com>: >> >>> >> >>> On 25 Feb 2014, at 08:04, Pharo4Stef <pharo4s...@free.fr> wrote: >> >>> >> >>>> >> >>>> On 25 Feb 2014, at 01:31, Esteban Lorenzano <esteba...@gmail.com> >> wrote: >> >>>> >> >>>>> it *should* be working now. >> >>>>> >> >>>>> cheers >> >>>>> Esteban (who needs to write more documentation, but he does what he >> can :) ) >> >>>> >> >>>> No need lentghly sentences just some nice bulleted lists of actions >> >>>> and we can do something with that. >> >>> >> >>> yes, I will... but as I always say: time is a tyrant. And writing >> documentation is boring :) >> >>> Anyway most of the process is already covered with current >> documentation, I just need to add a few points. >> >>> >> >>> (no one reads documentation either, is a bit annoying... every time is >> like starting from scratch... But don't take me into appoint, I'm having a >> cynical morning :P) >> >>> >> >>> Esteban >> >>> >> >>>> >> >>>> >> >>>> >> >>>>> >> >>>>> On 24 Feb 2014, at 08:58, Esteban Lorenzano <esteba...@gmail.com> >> wrote: >> >>>>> >> >>>>>> not yet... so far I restored the build capability, not the image >> event handling :( >> >>>>>> (nevertheless, I'm on it :) ) >> >>>>>> >> >>>>>> Esteban >> >>>>>> >> >>>>>> On 24 Feb 2014, at 08:00, jannik laval <jannik.la...@gmail.com> >> wrote: >> >>>>>> >> >>>>>>> Hi Esteban, >> >>>>>>> >> >>>>>>> Did you already try ? >> >>>>>>> I saw a message on the VM repo related to iOS, not sure it is for >> my problem. >> >>>>>>> >> >>>>>>> Cheers, >> >>>>>>> Jannik >> >>>>>>> >> >>>>>>> >> >>>>>>> 2014-01-29 17:32 GMT+01:00 Esteban Lorenzano <esteba...@gmail.com >> >: >> >>>>>>> oks... I will take a look... as soon as I can :S >> >>>>>>> >> >>>>>>> (damn... I need to learn how to do a mitosis...) >> >>>>>>> >> >>>>>>> On 29 Jan 2014, at 17:28, jannik laval <jannik.la...@gmail.com> >> wrote: >> >>>>>>> >> >>>>>>>> I confirm that it does not work: the simulator compile (but not >> the non-simulator). >> >>>>>>>> Then the image cannot be open: I have a white screen. >> >>>>>>>> Here is my process: >> >>>>>>>> >> >>>>>>>> === >> >>>>>>>> 1) git clone https://github.com/pharo-project/pharo-vm.git >> >>>>>>>> 2) in ./image dir prepare a VMMaker image (including download of >> a pharo 2.0): >> >>>>>>>> ./newImage.sh >> >>>>>>>> >> >>>>>>>> 3)open the generated.image and execute: >> >>>>>>>> === >> >>>>>>>> PharoIPhoneBuilder buildIPhone. >> >>>>>>>> -- or -- >> >>>>>>>> PharoIPhoneBuilder buildIPhoneSimulator. >> >>>>>>>> >> >>>>>>>> 4) Generate your iPhone image in iosbuild/resources/ >> >>>>>>>> ./generate.sh >> >>>>>>>> >> >>>>>>>> 5) In dir ./build: >> >>>>>>>> sh build.sh >> >>>>>>>> === >> >>>>>>>> >> >>>>>>>> Cheers, >> >>>>>>>> Jannik >> >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> >>>>>>>> 2014-01-29 Esteban Lorenzano <esteba...@gmail.com> >> >>>>>>>> and btw... >> >>>>>>>> >> >>>>>>>> iosbuild/resource$ ./generate.sh >> >>>>>>>> >> >>>>>>>> should generate a 1.4 image that *should* work in ipad (no idea >> if that will be the case, its been more than 6months since I do not test it >> and vm changed since then). >> >>>>>>>> >> >>>>>>>> Esteban >> >>>>>>>> >> >>>>>>>> >> >>>>>>>> On 29 Jan 2014, at 10:23, Esteban Lorenzano <esteba...@gmail.com> >> wrote: >> >>>>>>>> >> >>>>>>>>> PharoIPhoneBuilder buildIPhone. >> >>>>>>>>> >> >>>>>>>>> it should generate all sources and a "build.sh" >> >>>>>>>>> >> >>>>>>>>> then >> >>>>>>>>> >> >>>>>>>>> build$ sh build.sh >> >>>>>>>>> >> >>>>>>>>> will generate an xcode project. >> >>>>>>>>> >> >>>>>>>>> and let me remember... mmm... yeah, that was all :) >> >>>>>>>>> >> >>>>>>>>> >> >>>>>>>>> >> >>>>>>>>> On 29 Jan 2014, at 08:10, jannik laval <jannik.la...@gmail.com> >> wrote: >> >>>>>>>>> >> >>>>>>>>>> Hi Esteban, >> >>>>>>>>>> >> >>>>>>>>>> Hum, this means that my instructions are outdated. >> >>>>>>>>>> Where are the right instructions ? The ones on Github do not >> mention IOS. >> >>>>>>>>>> >> >>>>>>>>>> Cheers, >> >>>>>>>>>> Jannik >> >>>>>>>>>> >> >>>>>>>>>> >> >>>>>>>>>> 2014-01-29 Esteban Lorenzano <esteba...@gmail.com> >> >>>>>>>>>> >> >>>>>>>>>> On 29 Jan 2014, at 00:18, Eliot Miranda < >> eliot.mira...@gmail.com> wrote: >> >>>>>>>>>> >> >>>>>>>>>>> >> >>>>>>>>>>> >> >>>>>>>>>>> >> >>>>>>>>>>> On Tue, Jan 28, 2014 at 2:46 PM, Esteban Lorenzano < >> esteba...@gmail.com> wrote: >> >>>>>>>>>>> because you are not following the instructions ;) >> >>>>>>>>>>> >> >>>>>>>>>>> basically... you can generate them by: >> >>>>>>>>>>> >> >>>>>>>>>>> build$ ../scripts/extract-commit-info.sh >> >>>>>>>>>>> >> >>>>>>>>>>> I asked for this info last week ;-). Thanks! >> >>>>>>>>>> >> >>>>>>>>>> hey! I answered you! :P >> >>>>>>>>>> >> >>>>>>>>>> >> >>>>>>>>>>> >> >>>>>>>>>>> But this is alarming: >> >>>>>>>>>>> >> >>>>>>>>>>> McStalker.pharovm$ ./scripts/extract-commit-info.sh >> >>>>>>>>>>> readlink: ./scripts/extract-commit-info.sh Invalid >> argument >> >>>>>>>>>>> >> >>>>>>>>>>> I suggest changing >> >>>>>>>>>>> SCRIPT_DIR=`readlink "$0"` || SCRIPT_DIR="$0"; >> >>>>>>>>>>> to read >> >>>>>>>>>>> SCRIPT_DIR=`readlink "$0" >/dev/null` || SCRIPT_DIR="$0"; >> >>>>>>>>>>> >> >>>>>>>>>>> >> >>>>>>>>>>> Esteban >> >>>>>>>>>>> >> >>>>>>>>>>> On 28 Jan 2014, at 23:15, jannik.laval < >> jannik.la...@gmail.com> wrote: >> >>>>>>>>>>> >> >>>>>>>>>>>> Thank you, I am trying the latest one. >> >>>>>>>>>>>> >> >>>>>>>>>>>> When compiling for IOS, I have an error in sqSCCSVersion.h >> >>>>>>>>>>>> >> >>>>>>>>>>>> #include "vmVersionInfo.h" // defines REVISION_STRING >> >>>>>>>>>>>> the file is not found. >> >>>>>>>>>>>> >> >>>>>>>>>>>> Anyone knows where is this file ? >> >>>>>>>>>>>> >> >>>>>>>>>>>> Cheers, >> >>>>>>>>>>>> Jannik >> >>>>>>>>>>>> >> >>>>>>>>>>>> On Jan 28, 2014, at 8:58 PM, Pharo4Stef <pharo4s...@free.fr> >> wrote: >> >>>>>>>>>>>> >> >>>>>>>>>>>>> jannik the latest vm is not on gitoruous anymore but git >> >>>>>>>>>>>>> >> >>>>>>>>>>>>> >> >>>>>>>>>>>>> On 27 Jan 2014, at 22:03, jannik laval < >> jannik.la...@gmail.com> wrote: >> >>>>>>>>>>>>> >> >>>>>>>>>>>>>> Hum, have I the correct repository ? >> >>>>>>>>>>>>>> I used this one: >> https://git.gitorious.org/cogvm/cog-osx.git >> >>>>>>>>>>>>>> >> >>>>>>>>>>>>>> But, I just saw that this one exists: >> https://github.com/pharo-project/pharo-vm >> >>>>>>>>>>>>>> I should use it no? >> >>>>>>>>>>>>>> >> >>>>>>>>>>>>>> Jannik >> >>>>>>>>>>>>>> >> >>>>>>>>>>>>>> >> >>>>>>>>>>>>>> 2014-01-27 Esteban Lorenzano <esteba...@gmail.com> >> >>>>>>>>>>>>>> 1.4 and 2.0 worked out of the box... and after my latest >> integration, 3.0 should work too. >> >>>>>>>>>>>>>> I will take a look as soon as I have half and hour to >> spare. >> >>>>>>>>>>>>>> >> >>>>>>>>>>>>>> Esteban >> >>>>>>>>>>>>>> >> >>>>>>>>>>>>>> >> >>>>>>>>>>>>>> On 27 Jan 2014, at 14:27, jannik laval < >> jannik.la...@gmail.com> wrote: >> >>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> Hi list, >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> Does anyone try to load Pharoon iPad ? >> >>>>>>>>>>>>>>> In the past, the version 1.4 worked with XCode 4.4. >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> I just tried to recompile it with the new XCode (5.0.2). >> >>>>>>>>>>>>>>> The VM seems to work, but the pharo 1.4 image freezes. >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> Any idea ? >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> -- >> >>>>>>>>>>>>>>> ~~Jannik Laval~~ >> >>>>>>>>>>>>>>> École des Mines de Douai >> >>>>>>>>>>>>>>> Enseignant-chercheur >> >>>>>>>>>>>>>>> http://www.jannik-laval.eu >> >>>>>>>>>>>>>>> http://car.mines-douai.fr/ >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>> >> >>>>>>>>>>>>>> >> >>>>>>>>>>>>>> >> >>>>>>>>>>>>>> >> >>>>>>>>>>>>>> -- >> >>>>>>>>>>>>>> ~~Jannik Laval~~ >> >>>>>>>>>>>>>> École des Mines de Douai >> >>>>>>>>>>>>>> Enseignant-chercheur >> >>>>>>>>>>>>>> http://www.jannik-laval.eu >> >>>>>>>>>>>>>> http://car.mines-douai.fr/ >> >>>>>>>>>>>>>> >> >>>>>>>>>>>>> >> >>>>>>>>>>>> >> >>>>>>>>>>> >> >>>>>>>>>>> >> >>>>>>>>>>> >> >>>>>>>>>>> >> >>>>>>>>>>> -- >> >>>>>>>>>>> best, >> >>>>>>>>>>> Eliot >> >>>>>>>>>> >> >>>>>>>>>> >> >>>>>>>>>> >> >>>>>>>>>> >> >>>>>>>>>> -- >> >>>>>>>>>> ~~Jannik Laval~~ >> >>>>>>>>>> École des Mines de Douai >> >>>>>>>>>> Enseignant-chercheur >> >>>>>>>>>> http://www.jannik-laval.eu >> >>>>>>>>>> http://car.mines-douai.fr/ >> >>>>>>>>>> >> >>>>>>>>> >> >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> >>>>>>>> -- >> >>>>>>>> ~~Jannik Laval~~ >> >>>>>>>> École des Mines de Douai >> >>>>>>>> Enseignant-chercheur >> >>>>>>>> http://www.jannik-laval.eu >> >>>>>>>> http://car.mines-douai.fr/ >> >>>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> -- >> >>>>>>> ~~Jannik Laval~~ >> >>>>>>> École des Mines de Douai >> >>>>>>> Enseignant-chercheur >> >>>>>>> http://www.jannik-laval.eu >> >>>>>>> http://car.mines-douai.fr/ >> >>>>>>> >> >>>>>> >> >>>>> >> >>>> >> >>> >> >>> >> >>> >> >>> >> >>> -- >> >>> ~~Jannik Laval~~ >> >>> École des Mines de Douai >> >>> Enseignant-chercheur >> >>> http://www.jannik-laval.eu >> >>> http://car.mines-douai.fr/ >> >>> >> >> >> > >> > >> > >> > >> > -- >> > ~~Jannik Laval~~ >> > École des Mines de Douai >> > Enseignant-chercheur >> > http://www.jannik-laval.eu >> > http://car.mines-douai.fr/ >> > >> >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> >> >> > > > -- > > ~~Jannik Laval~~ > École des Mines de Douai > Enseignant-chercheur > http://www.jannik-laval.eu > http://car.mines-douai.fr/ >