Hi guys,
I'm new at Mac. I used to compile the vm on Unix environments. So please forgive me if the topic i will asked is already answer and i skimmed it cause i was not using that environment.
I'm having problems compiling the vm. I need a NBCog vm with debug information. I have latest version of the git tree, the vmoscog and the cmake.
Generating and compiling the Cocoa Cog i have lot of errors i manage to solve. Mostly about setting the compilation environment.
But then i have problems with resources not found. My resources directory is nscogbuild. It hasn't cog.icns, mainmenu.nib and squeak vm.r. I manage to take them from other places but not the mainmenu.nib. So i manage to compile, but when i try yo execute i have a message saying that mainmenu.nib is not found.
I'm newie on mac so i don't know very well what this nib file is.
Is this a commom topic? How can i solve it?
Cheers, Guido.
On 4 June 2012 16:20, Guido Chari charig@gmail.com wrote:
Hi guys,
I'm new at Mac. I used to compile the vm on Unix environments. So please forgive me if the topic i will asked is already answer and i skimmed it cause i was not using that environment.
I'm having problems compiling the vm. I need a NBCog vm with debug information. I have latest version of the git tree, the vmoscog and the cmake.
Generating and compiling the Cocoa Cog i have lot of errors i manage to solve. Mostly about setting the compilation environment.
But then i have problems with resources not found. My resources directory is nscogbuild. It hasn't cog.icns, mainmenu.nib and squeak vm.r. I manage to take them from other places but not the mainmenu.nib. So i manage to compile, but when i try yo execute i have a message saying that mainmenu.nib is not found.
where you downloaded sources from? and how you build VM?
I'm newie on mac so i don't know very well what this nib file is.
Is this a commom topic? How can i solve it?
For building NB+Cog VM see mariano's blog for details (http://code.google.com/p/cog/wiki/Guide), or look at jenkins jobs to see how we doing that: https://ci.lille.inria.fr/pharo/view/Cog/
Cheers, Guido.
I managed to build the ios vm with Xcode 4.3 on Lion.
Will see what the OSX version gives. Cmake incantations and remove commit info needed for making things work.
Phil
-----Original Message----- From: vm-dev-bounces@lists.squeakfoundation.org [mailto:vm-dev-bounces@lists.squeakfoundation.org] On Behalf Of Igor Stasenko Sent: lundi 4 juin 2012 18:27 To: Squeak Virtual Machine Development Discussion Subject: Re: [Vm-dev] Xcode 4.3 Lion
On 4 June 2012 16:20, Guido Chari charig@gmail.com wrote:
Hi guys,
I'm new at Mac. I used to compile the vm on Unix environments. So please
forgive me if the topic i will asked is already answer and i skimmed it cause i was not using that environment.
I'm having problems compiling the vm. I need a NBCog vm with debug
information. I have latest version of the git tree, the vmoscog and the cmake.
Generating and compiling the Cocoa Cog i have lot of errors i manage to
solve. Mostly about setting the compilation environment.
But then i have problems with resources not found. My resources directory
is nscogbuild. It hasn't cog.icns, mainmenu.nib and squeak vm.r. I manage to take them from other places but not the mainmenu.nib. So i manage to compile, but when i try yo execute i have a message saying that mainmenu.nib is not found.
where you downloaded sources from? and how you build VM?
I'm newie on mac so i don't know very well what this nib file is.
Is this a commom topic? How can i solve it?
For building NB+Cog VM see mariano's blog for details (http://code.google.com/p/cog/wiki/Guide), or look at jenkins jobs to see how we doing that: https://ci.lille.inria.fr/pharo/view/Cog/
Cheers, Guido.
-- Best regards, Igor Stasenko.
On 4 June 2012 18:37, Philippe Back (High Octane) phil@highoctane.be wrote:
I managed to build the ios vm with Xcode 4.3 on Lion.
Will see what the OSX version gives. Cmake incantations and remove commit info needed for making things work.
why you need to remove commit info?
Phil
-----Original Message----- From: vm-dev-bounces@lists.squeakfoundation.org [mailto:vm-dev-bounces@lists.squeakfoundation.org] On Behalf Of Igor Stasenko Sent: lundi 4 juin 2012 18:27 To: Squeak Virtual Machine Development Discussion Subject: Re: [Vm-dev] Xcode 4.3 Lion
On 4 June 2012 16:20, Guido Chari charig@gmail.com wrote:
Hi guys,
I'm new at Mac. I used to compile the vm on Unix environments. So please
forgive me if the topic i will asked is already answer and i skimmed it cause i was not using that environment.
I'm having problems compiling the vm. I need a NBCog vm with debug
information. I have latest version of the git tree, the vmoscog and the cmake.
Generating and compiling the Cocoa Cog i have lot of errors i manage to
solve. Mostly about setting the compilation environment.
But then i have problems with resources not found. My resources directory
is nscogbuild. It hasn't cog.icns, mainmenu.nib and squeak vm.r. I manage to take them from other places but not the mainmenu.nib. So i manage to compile, but when i try yo execute i have a message saying that mainmenu.nib is not found.
where you downloaded sources from? and how you build VM?
I'm newie on mac so i don't know very well what this nib file is.
Is this a commom topic? How can i solve it?
For building NB+Cog VM see mariano's blog for details (http://code.google.com/p/cog/wiki/Guide), or look at jenkins jobs to see how we doing that: https://ci.lille.inria.fr/pharo/view/Cog/
Cheers, Guido.
-- Best regards, Igor Stasenko.
2012/6/4 Igor Stasenko siguctua@gmail.com
On 4 June 2012 16:20, Guido Chari charig@gmail.com wrote:
Hi guys,
I'm new at Mac. I used to compile the vm on Unix environments. So please
forgive me if the topic i will asked is already answer and i skimmed it cause i was not using that environment.
I'm having problems compiling the vm. I need a NBCog vm with debug
information. I have latest version of the git tree, the vmoscog and the cmake.
Generating and compiling the Cocoa Cog i have lot of errors i manage to
solve. Mostly about setting the compilation environment.
But then i have problems with resources not found. My resources
directory is nscogbuild. It hasn't cog.icns, mainmenu.nib and squeak vm.r. I manage to take them from other places but not the mainmenu.nib. So i manage to compile, but when i try yo execute i have a message saying that mainmenu.nib is not found.
where you downloaded sources from?
cog git://gitorious.org/cogvm/blessed.git
and how you build VM?
generate sources from NSCogCocoaIosConfig (i added the debug info), cmake, make...
I'm newie on mac so i don't know very well what this nib file is.
Is this a commom topic? How can i solve it?
For building NB+Cog VM see mariano's blog for details (http://code.google.com/p/cog/wiki/Guide), or look at jenkins jobs to see how we doing that: https://ci.lille.inria.fr/pharo/view/Cog/
Cheers, Guido.
-- Best regards, Igor Stasenko.
perhaps: cmake -DCMAKE_CXX_COMPILER=/usr/bin/g++-4.2 -DCMAKE_C_COMPILER=/usr/bin/gcc-4.2 .
On Jun 4, 2012, at 7:30 PM, Guido Chari wrote:
2012/6/4 Igor Stasenko siguctua@gmail.com
On 4 June 2012 16:20, Guido Chari charig@gmail.com wrote:
Hi guys,
I'm new at Mac. I used to compile the vm on Unix environments. So please forgive me if the topic i will asked is already answer and i skimmed it cause i was not using that environment.
I'm having problems compiling the vm. I need a NBCog vm with debug information. I have latest version of the git tree, the vmoscog and the cmake.
Generating and compiling the Cocoa Cog i have lot of errors i manage to solve. Mostly about setting the compilation environment.
But then i have problems with resources not found. My resources directory is nscogbuild. It hasn't cog.icns, mainmenu.nib and squeak vm.r. I manage to take them from other places but not the mainmenu.nib. So i manage to compile, but when i try yo execute i have a message saying that mainmenu.nib is not found.
where you downloaded sources from? cog git://gitorious.org/cogvm/blessed.git
and how you build VM? generate sources from NSCogCocoaIosConfig (i added the debug info), cmake, make...
I'm newie on mac so i don't know very well what this nib file is.
Is this a commom topic? How can i solve it?
For building NB+Cog VM see mariano's blog for details (http://code.google.com/p/cog/wiki/Guide), or look at jenkins jobs to see how we doing that: https://ci.lille.inria.fr/pharo/view/Cog/
Cheers, Guido.
-- Best regards, Igor Stasenko.
That files in my environment are symilnks to the llvc compiler. I read that they are not compatible with CogVM. I'm compiling with /opt/local/bin/gcc-apple-4.2...
2012/6/4 Esteban Lorenzano estebanlm@gmail.com
perhaps: cmake -DCMAKE_CXX_COMPILER=/usr/bin/g++-4.2 -DCMAKE_C_COMPILER=/usr/bin/gcc-4.2 .
On Jun 4, 2012, at 7:30 PM, Guido Chari wrote:
2012/6/4 Igor Stasenko siguctua@gmail.com
On 4 June 2012 16:20, Guido Chari charig@gmail.com wrote:
Hi guys,
I'm new at Mac. I used to compile the vm on Unix environments. So
please forgive me if the topic i will asked is already answer and i skimmed it cause i was not using that environment.
I'm having problems compiling the vm. I need a NBCog vm with debug
information. I have latest version of the git tree, the vmoscog and the cmake.
Generating and compiling the Cocoa Cog i have lot of errors i manage to
solve. Mostly about setting the compilation environment.
But then i have problems with resources not found. My resources
directory is nscogbuild. It hasn't cog.icns, mainmenu.nib and squeak vm.r. I manage to take them from other places but not the mainmenu.nib. So i manage to compile, but when i try yo execute i have a message saying that mainmenu.nib is not found.
where you downloaded sources from?
cog git://gitorious.org/cogvm/blessed.git
and how you build VM?
generate sources from NSCogCocoaIosConfig (i added the debug info), cmake, make...
I'm newie on mac so i don't know very well what this nib file is.
Is this a commom topic? How can i solve it?
For building NB+Cog VM see mariano's blog for details (http://code.google.com/p/cog/wiki/Guide), or look at jenkins jobs to see how we doing that: https://ci.lille.inria.fr/pharo/view/Cog/
Cheers, Guido.
-- Best regards, Igor Stasenko.
installed with macports? that's probably your problem... you better try with the mac gnu one... you can install it using: https://github.com/kennethreitz/osx-gcc-installer
On Jun 4, 2012, at 7:42 PM, Guido Chari wrote:
That files in my environment are symilnks to the llvc compiler. I read that they are not compatible with CogVM. I'm compiling with /opt/local/bin/gcc-apple-4.2...
2012/6/4 Esteban Lorenzano estebanlm@gmail.com
perhaps: cmake -DCMAKE_CXX_COMPILER=/usr/bin/g++-4.2 -DCMAKE_C_COMPILER=/usr/bin/gcc-4.2 .
On Jun 4, 2012, at 7:30 PM, Guido Chari wrote:
2012/6/4 Igor Stasenko siguctua@gmail.com
On 4 June 2012 16:20, Guido Chari charig@gmail.com wrote:
Hi guys,
I'm new at Mac. I used to compile the vm on Unix environments. So please forgive me if the topic i will asked is already answer and i skimmed it cause i was not using that environment.
I'm having problems compiling the vm. I need a NBCog vm with debug information. I have latest version of the git tree, the vmoscog and the cmake.
Generating and compiling the Cocoa Cog i have lot of errors i manage to solve. Mostly about setting the compilation environment.
But then i have problems with resources not found. My resources directory is nscogbuild. It hasn't cog.icns, mainmenu.nib and squeak vm.r. I manage to take them from other places but not the mainmenu.nib. So i manage to compile, but when i try yo execute i have a message saying that mainmenu.nib is not found.
where you downloaded sources from? cog git://gitorious.org/cogvm/blessed.git
and how you build VM? generate sources from NSCogCocoaIosConfig (i added the debug info), cmake, make...
I'm newie on mac so i don't know very well what this nib file is.
Is this a commom topic? How can i solve it?
For building NB+Cog VM see mariano's blog for details (http://code.google.com/p/cog/wiki/Guide), or look at jenkins jobs to see how we doing that: https://ci.lille.inria.fr/pharo/view/Cog/
Cheers, Guido.
-- Best regards, Igor Stasenko.
yes macports.
Ok I will try the one you suggest...But what about my last mail about the resource mainmenu.nib?
2012/6/4 Esteban Lorenzano estebanlm@gmail.com
installed with macports? that's probably your problem... you better try with the mac gnu one... you can install it using: https://github.com/kennethreitz/osx-gcc-installer
On Jun 4, 2012, at 7:42 PM, Guido Chari wrote:
That files in my environment are symilnks to the llvc compiler. I read that they are not compatible with CogVM. I'm compiling with /opt/local/bin/gcc-apple-4.2...
2012/6/4 Esteban Lorenzano estebanlm@gmail.com
perhaps: cmake -DCMAKE_CXX_COMPILER=/usr/bin/g++-4.2 -DCMAKE_C_COMPILER=/usr/bin/gcc-4.2 .
On Jun 4, 2012, at 7:30 PM, Guido Chari wrote:
2012/6/4 Igor Stasenko siguctua@gmail.com
On 4 June 2012 16:20, Guido Chari charig@gmail.com wrote:
Hi guys,
I'm new at Mac. I used to compile the vm on Unix environments. So
please forgive me if the topic i will asked is already answer and i skimmed it cause i was not using that environment.
I'm having problems compiling the vm. I need a NBCog vm with debug
information. I have latest version of the git tree, the vmoscog and the cmake.
Generating and compiling the Cocoa Cog i have lot of errors i manage
to solve. Mostly about setting the compilation environment.
But then i have problems with resources not found. My resources
directory is nscogbuild. It hasn't cog.icns, mainmenu.nib and squeak vm.r. I manage to take them from other places but not the mainmenu.nib. So i manage to compile, but when i try yo execute i have a message saying that mainmenu.nib is not found.
where you downloaded sources from?
cog git://gitorious.org/cogvm/blessed.git
and how you build VM?
generate sources from NSCogCocoaIosConfig (i added the debug info), cmake, make...
I'm newie on mac so i don't know very well what this nib file is.
Is this a commom topic? How can i solve it?
For building NB+Cog VM see mariano's blog for details (http://code.google.com/p/cog/wiki/Guide ), or look at jenkins jobs to see how we doing that: https://ci.lille.inria.fr/pharo/view/Cog/
Cheers, Guido.
-- Best regards, Igor Stasenko.
EstebanLM wrote
installed with macports? that's probably your problem...
I don't think so. At least it works in Xcode 4.2. Simple instructions on getting the macports version to work are at http://seandenigris.com/blog/?p=931
-- View this message in context: http://forum.world.st/Xcode-4-3-Lion-tp4633153p4633195.html Sent from the Squeak VM mailing list archive at Nabble.com.
You can install XCode 4.2 side by side with 4.3 and 4.2 has gcc.
2012/6/4 Sean P. DeNigris sean@clipperadams.com
EstebanLM wrote
installed with macports? that's probably your problem...
I don't think so. At least it works in Xcode 4.2. Simple instructions on getting the macports version to work are at http://seandenigris.com/blog/?p=931
-- View this message in context: http://forum.world.st/Xcode-4-3-Lion-tp4633153p4633195.html Sent from the Squeak VM mailing list archive at Nabble.com.
I installe the compilers Esteban suggest.
this is my cmake .
-- Configuring done CMake Error at CMakeLists.txt:41 (add_executable): Cannot find source file:
/Users/guidochari/Documents/Desarrollo/Smalltalk/Vms/Cog/charigs-blessed/nscogbuild/macbuild/resources/ProjectBuilder/English.lproj/MainMenu.nib
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
If i comment this line i manage to compile but as i said my executable fail to start because of this file missing under it resources directory...
2012/6/4 phil@highoctane.be phil@highoctane.be
You can install XCode 4.2 side by side with 4.3 and 4.2 has gcc.
2012/6/4 Sean P. DeNigris sean@clipperadams.com
EstebanLM wrote
installed with macports? that's probably your problem...
I don't think so. At least it works in Xcode 4.2. Simple instructions on getting the macports version to work are at http://seandenigris.com/blog/?p=931
-- View this message in context: http://forum.world.st/Xcode-4-3-Lion-tp4633153p4633195.html Sent from the Squeak VM mailing list archive at Nabble.com.
-- 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: http://philippeback.be
High Octane SPRL rue cour Boisacq 101 1301 Bierges
this part: /nscogbuild/macbuild/ sound suspicious
should be just one
On Jun 4, 2012, at 8:37 PM, Guido Chari wrote:
I installe the compilers Esteban suggest.
this is my cmake .
-- Configuring done CMake Error at CMakeLists.txt:41 (add_executable): Cannot find source file:
/Users/guidochari/Documents/Desarrollo/Smalltalk/Vms/Cog/charigs-blessed/nscogbuild/macbuild/resources/ProjectBuilder/English.lproj/MainMenu.nib
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
If i comment this line i manage to compile but as i said my executable fail to start because of this file missing under it resources directory...
2012/6/4 phil@highoctane.be phil@highoctane.be
You can install XCode 4.2 side by side with 4.3 and 4.2 has gcc.
2012/6/4 Sean P. DeNigris sean@clipperadams.com
EstebanLM wrote
installed with macports? that's probably your problem...
I don't think so. At least it works in Xcode 4.2. Simple instructions on getting the macports version to work are at http://seandenigris.com/blog/?p=931
-- View this message in context: http://forum.world.st/Xcode-4-3-Lion-tp4633153p4633195.html Sent from the Squeak VM mailing list archive at Nabble.com.
-- 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: http://philippeback.be
High Octane SPRL rue cour Boisacq 101 1301 Bierges
Well.
under the directory macbuild i have nothing, no files.
On my repository directory i have this:
git remote -v cog git://gitorious.org/cogvm/blessed.git (fetch) cog git://gitorious.org/cogvm/blessed.git (push) origin git@gitorious.org:~charig/cogvm/charigs-blessed.git (fetch) origin git@gitorious.org:~charig/cogvm/charigs-blessed.git (push)
git pull cog master
From git://gitorious.org/cogvm/blessed
* branch master -> FETCH_HEAD Already up-to-date.
What am i failing with?
2012/6/4 Esteban Lorenzano estebanlm@gmail.com
this part: /nscogbuild/macbuild/ sound suspicious
should be just one
On Jun 4, 2012, at 8:37 PM, Guido Chari wrote:
I installe the compilers Esteban suggest.
this is my cmake .
-- Configuring done CMake Error at CMakeLists.txt:41 (add_executable): Cannot find source file:
/Users/guidochari/Documents/Desarrollo/Smalltalk/Vms/Cog/charigs-blessed/nscogbuild/macbuild/resources/ProjectBuilder/English.lproj/MainMenu.nib
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
If i comment this line i manage to compile but as i said my executable fail to start because of this file missing under it resources directory...
2012/6/4 phil@highoctane.be phil@highoctane.be
You can install XCode 4.2 side by side with 4.3 and 4.2 has gcc.
2012/6/4 Sean P. DeNigris sean@clipperadams.com
EstebanLM wrote
installed with macports? that's probably your problem...
I don't think so. At least it works in Xcode 4.2. Simple instructions on getting the macports version to work are at http://seandenigris.com/blog/?p=931
-- View this message in context: http://forum.world.st/Xcode-4-3-Lion-tp4633153p4633195.html Sent from the Squeak VM mailing list archive at Nabble.com.
-- 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: http://philippeback.be
High Octane SPRL rue cour Boisacq 101 1301 Bierges
ups... my failt... is ok, nscogbuild/macbuild should exist. And it should have some file-contents too... it is empty?
On Jun 4, 2012, at 8:48 PM, Guido Chari wrote:
Well.
under the directory macbuild i have nothing, no files.
On my repository directory i have this:
git remote -v cog git://gitorious.org/cogvm/blessed.git (fetch) cog git://gitorious.org/cogvm/blessed.git (push) origin git@gitorious.org:~charig/cogvm/charigs-blessed.git (fetch) origin git@gitorious.org:~charig/cogvm/charigs-blessed.git (push)
git pull cog master From git://gitorious.org/cogvm/blessed
- branch master -> FETCH_HEAD
Already up-to-date.
What am i failing with?
2012/6/4 Esteban Lorenzano estebanlm@gmail.com
this part: /nscogbuild/macbuild/ sound suspicious
should be just one
On Jun 4, 2012, at 8:37 PM, Guido Chari wrote:
I installe the compilers Esteban suggest.
this is my cmake .
-- Configuring done CMake Error at CMakeLists.txt:41 (add_executable): Cannot find source file:
/Users/guidochari/Documents/Desarrollo/Smalltalk/Vms/Cog/charigs-blessed/nscogbuild/macbuild/resources/ProjectBuilder/English.lproj/MainMenu.nib
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
If i comment this line i manage to compile but as i said my executable fail to start because of this file missing under it resources directory...
2012/6/4 phil@highoctane.be phil@highoctane.be
You can install XCode 4.2 side by side with 4.3 and 4.2 has gcc.
2012/6/4 Sean P. DeNigris sean@clipperadams.com
EstebanLM wrote
installed with macports? that's probably your problem...
I don't think so. At least it works in Xcode 4.2. Simple instructions on getting the macports version to work are at http://seandenigris.com/blog/?p=931
-- View this message in context: http://forum.world.st/Xcode-4-3-Lion-tp4633153p4633195.html Sent from the Squeak VM mailing list archive at Nabble.com.
-- 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: http://philippeback.be
High Octane SPRL rue cour Boisacq 101 1301 Bierges
It has files, but it doesn't have mainmenu.nib, the one that is breaking my cmake...
2012/6/4 Esteban Lorenzano estebanlm@gmail.com
ups... my failt... is ok, nscogbuild/macbuild should exist. And it should have some file-contents too... it is empty?
On Jun 4, 2012, at 8:48 PM, Guido Chari wrote:
Well.
under the directory macbuild i have nothing, no files.
On my repository directory i have this:
git remote -v cog git://gitorious.org/cogvm/blessed.git (fetch) cog git://gitorious.org/cogvm/blessed.git (push) origin git@gitorious.org:~charig/cogvm/charigs-blessed.git (fetch) origin git@gitorious.org:~charig/cogvm/charigs-blessed.git (push)
git pull cog master From git://gitorious.org/cogvm/blessed
- branch master -> FETCH_HEAD
Already up-to-date.
What am i failing with?
2012/6/4 Esteban Lorenzano estebanlm@gmail.com
this part: /nscogbuild/macbuild/ sound suspicious
should be just one
On Jun 4, 2012, at 8:37 PM, Guido Chari wrote:
I installe the compilers Esteban suggest.
this is my cmake .
-- Configuring done CMake Error at CMakeLists.txt:41 (add_executable): Cannot find source file:
/Users/guidochari/Documents/Desarrollo/Smalltalk/Vms/Cog/charigs-blessed/nscogbuild/macbuild/resources/ProjectBuilder/English.lproj/MainMenu.nib
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
If i comment this line i manage to compile but as i said my executable fail to start because of this file missing under it resources directory...
2012/6/4 phil@highoctane.be phil@highoctane.be
You can install XCode 4.2 side by side with 4.3 and 4.2 has gcc.
2012/6/4 Sean P. DeNigris sean@clipperadams.com
EstebanLM wrote
installed with macports? that's probably your problem...
I don't think so. At least it works in Xcode 4.2. Simple instructions on getting the macports version to work are at http://seandenigris.com/blog/?p=931
-- View this message in context: http://forum.world.st/Xcode-4-3-Lion-tp4633153p4633195.html Sent from the Squeak VM mailing list archive at Nabble.com.
-- 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: http://philippeback.be
High Octane SPRL rue cour Boisacq 101 1301 Bierges
I got one here:
[blessed]: find . -name "MainMenu.nib" ./macbuild/resources/ProjectBuilder/English.lproj/MainMenu.nib
after update: [blessed]: git pull remote: Counting objects: 197, done. remote: Compressing objects: 100% (137/137), done. remote: Total 140 (delta 96), reused 0 (delta 0) Receiving objects: 100% (140/140), 7.85 MiB | 483 KiB/s, done. Resolving deltas: 100% (96/96), completed with 29 local objects.
From gitorious.org:cogvm/blessed
902ffac..744bfe9 master -> origin/master Updating 902ffac..744bfe9 Checking out files: 100% (14/14), done. Fast-forward codegen-scripts/LoadVMMaker.st | 2 +- codegen-scripts/LoadVMMaker.st.orig | 19 - iosbuild/resources/iPhone.changes | 68 +- iosbuild/resources/iPhone.image | Bin 9061168 -> 19786516 bytes .../ProjectBuilder/English.lproj/MainMenu.xib | 4 +- platforms/Cross/vm/sqAtomicOps.h | 8 +- .../Classes/sqSqueakFileDirectoryInterface.m | 2 +- .../iOS/vm/OSX/sqSqueakOSXFileDirectoryInterface.m | 14 +- platforms/iOS/vm/OSX/sqSqueakOSXNSView.m | 19 +- .../SqueakPureObjcCogVM.xcodeproj/project.pbxproj | 9 +- platforms/iOS/vm/iPhone/sqDummyaio.c | 6 + .../sqUnixInternetConfiguration.c | 128 ++ platforms/unix/plugins/SocketPlugin/sqUnixSocket.c | 872 +++++++++++-- platforms/unix/vm-display-X11/sqUnixX11.c | 1370 +------------------- 14 files changed, 1078 insertions(+), 1443 deletions(-) delete mode 100644 codegen-scripts/LoadVMMaker.st.orig create mode 100644 platforms/unix/plugins/InternetConfigPlugin/sqUnixInternetConfiguration.c [blessed]: top [blessed]: find . -name "MainMenu.nib" ./macbuild/resources/ProjectBuilder/English.lproj/MainMenu.nib
so, it is still there..
and someone still keeps image in repo..(i even know who ;):
iosbuild/resources/iPhone.changes | 68 +- iosbuild/resources/iPhone.image | Bin 9061168 -> 19786516 bytes
On 4 June 2012 20:48, Guido Chari charig@gmail.com wrote:
Well.
under the directory macbuild i have nothing, no files.
On my repository directory i have this:
git remote -v cog git://gitorious.org/cogvm/blessed.git (fetch) cog git://gitorious.org/cogvm/blessed.git (push) origin git@gitorious.org:~charig/cogvm/charigs-blessed.git (fetch) origin git@gitorious.org:~charig/cogvm/charigs-blessed.git (push)
git pull cog master From git://gitorious.org/cogvm/blessed * branch master -> FETCH_HEAD Already up-to-date.
What am i failing with?
2012/6/4 Esteban Lorenzano estebanlm@gmail.com
this part: /nscogbuild/macbuild/ sound suspicious
should be just one
On Jun 4, 2012, at 8:37 PM, Guido Chari wrote:
I installe the compilers Esteban suggest.
this is my cmake .
-- Configuring done CMake Error at CMakeLists.txt:41 (add_executable): Cannot find source file:
/Users/guidochari/Documents/Desarrollo/Smalltalk/Vms/Cog/charigs-blessed/nscogbuild/macbuild/resources/ProjectBuilder/English.lproj/MainMenu.nib
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
If i comment this line i manage to compile but as i said my executable fail to start because of this file missing under it resources directory...
2012/6/4 phil@highoctane.be phil@highoctane.be
You can install XCode 4.2 side by side with 4.3 and 4.2 has gcc.
2012/6/4 Sean P. DeNigris sean@clipperadams.com
EstebanLM wrote
installed with macports? that's probably your problem...
I don't think so. At least it works in Xcode 4.2. Simple instructions on getting the macports version to work are at http://seandenigris.com/blog/?p=931
-- View this message in context: http://forum.world.st/Xcode-4-3-Lion-tp4633153p4633195.html Sent from the Squeak VM mailing list archive at Nabble.com.
-- 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: http://philippeback.be
High Octane SPRL rue cour Boisacq 101 1301 Bierges
Ups, don't know why git pull doesn't update my broken directory.
I make a new checkout of macbuild directory and now everything goes well.
Thanks..
2012/6/4 Igor Stasenko siguctua@gmail.com
I got one here:
[blessed]: find . -name "MainMenu.nib" ./macbuild/resources/ProjectBuilder/English.lproj/MainMenu.nib
after update: [blessed]: git pull remote: Counting objects: 197, done. remote: Compressing objects: 100% (137/137), done. remote: Total 140 (delta 96), reused 0 (delta 0) Receiving objects: 100% (140/140), 7.85 MiB | 483 KiB/s, done. Resolving deltas: 100% (96/96), completed with 29 local objects.
From gitorious.org:cogvm/blessed
902ffac..744bfe9 master -> origin/master Updating 902ffac..744bfe9 Checking out files: 100% (14/14), done. Fast-forward codegen-scripts/LoadVMMaker.st | 2 +- codegen-scripts/LoadVMMaker.st.orig | 19 - iosbuild/resources/iPhone.changes | 68 +- iosbuild/resources/iPhone.image | Bin 9061168 -> 19786516 bytes .../ProjectBuilder/English.lproj/MainMenu.xib | 4 +- platforms/Cross/vm/sqAtomicOps.h | 8 +- .../Classes/sqSqueakFileDirectoryInterface.m | 2 +- .../iOS/vm/OSX/sqSqueakOSXFileDirectoryInterface.m | 14 +- platforms/iOS/vm/OSX/sqSqueakOSXNSView.m | 19 +- .../SqueakPureObjcCogVM.xcodeproj/project.pbxproj | 9 +- platforms/iOS/vm/iPhone/sqDummyaio.c | 6 + .../sqUnixInternetConfiguration.c | 128 ++ platforms/unix/plugins/SocketPlugin/sqUnixSocket.c | 872 +++++++++++-- platforms/unix/vm-display-X11/sqUnixX11.c | 1370 +------------------- 14 files changed, 1078 insertions(+), 1443 deletions(-) delete mode 100644 codegen-scripts/LoadVMMaker.st.orig create mode 100644 platforms/unix/plugins/InternetConfigPlugin/sqUnixInternetConfiguration.c [blessed]: top [blessed]: find . -name "MainMenu.nib" ./macbuild/resources/ProjectBuilder/English.lproj/MainMenu.nib
so, it is still there..
and someone still keeps image in repo..(i even know who ;):
iosbuild/resources/iPhone.changes | 68 +- iosbuild/resources/iPhone.image | Bin 9061168 -> 19786516 bytes
On 4 June 2012 20:48, Guido Chari charig@gmail.com wrote:
Well.
under the directory macbuild i have nothing, no files.
On my repository directory i have this:
git remote -v cog git://gitorious.org/cogvm/blessed.git (fetch) cog git://gitorious.org/cogvm/blessed.git (push) origin git@gitorious.org:~charig/cogvm/charigs-blessed.git (fetch) origin git@gitorious.org:~charig/cogvm/charigs-blessed.git (push)
git pull cog master From git://gitorious.org/cogvm/blessed
- branch master -> FETCH_HEAD
Already up-to-date.
What am i failing with?
2012/6/4 Esteban Lorenzano estebanlm@gmail.com
this part: /nscogbuild/macbuild/ sound suspicious
should be just one
On Jun 4, 2012, at 8:37 PM, Guido Chari wrote:
I installe the compilers Esteban suggest.
this is my cmake .
-- Configuring done CMake Error at CMakeLists.txt:41 (add_executable): Cannot find source file:
/Users/guidochari/Documents/Desarrollo/Smalltalk/Vms/Cog/charigs-blessed/nscogbuild/macbuild/resources/ProjectBuilder/English.lproj/MainMenu.nib
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm
.hpp
.hxx .in .txx
If i comment this line i manage to compile but as i said my executable
fail to start because of this file missing under it resources directory...
2012/6/4 phil@highoctane.be phil@highoctane.be
You can install XCode 4.2 side by side with 4.3 and 4.2 has gcc.
2012/6/4 Sean P. DeNigris sean@clipperadams.com
EstebanLM wrote
installed with macports? that's probably your problem...
I don't think so. At least it works in Xcode 4.2. Simple instructions
on
getting the macports version to work are at http://seandenigris.com/blog/?p=931
-- View this message in context:
http://forum.world.st/Xcode-4-3-Lion-tp4633153p4633195.html
Sent from the Squeak VM mailing list archive at Nabble.com.
-- 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
-- Best regards, Igor Stasenko.
Btw...
First on the image the method plistKeys includes a reference to NSMainNibFile. This finally links to MainMenu.nib. I don't have that file on my repository recently updated. Anyone have this file on his repository? Anyone has a configuration that doesn't make a configuration that links to that file?
This is the part of the CMakeLists.txt that is automatically generated that is bothering perhaps..
set(resourceDir "/Users/guidochari/Documents/Desarrollo/Smalltalk/Vms/Cog/charigs-blessed/nscogbuild/macbuild/resources/ProjectBuilder")
Here i had to add nscogbuild because that is the url in my repository.
set(resources "${resourceDir}/Squeak VM.r" "${resourceDir}/Cog.icns "${resourceDir}/Squeak.icns" "${resourceDir}/SqueakChanges.icns" "${resourceDir}/SqueakPlugin.icns" "${resourceDir}/SqueakScript.icns" "${resourceDir}/SqueakGeneric.icns" "${resourceDir}/SqueakProject.icns" "${resourceDir}/SqueakSources.icns") set(resourcesLocaleEnglish "${resourceDir}/English.lproj/InfoPlist.strings" ${resourceDir}/English.lproj/MainMenu.nib")
this last one is the line i'm missing. I can compile by commenting that line but i'm not able to execute the vm then
2012/6/4 Guido Chari charig@gmail.com
That files in my environment are symilnks to the llvc compiler. I read that they are not compatible with CogVM. I'm compiling with /opt/local/bin/gcc-apple-4.2...
2012/6/4 Esteban Lorenzano estebanlm@gmail.com
perhaps: cmake -DCMAKE_CXX_COMPILER=/usr/bin/g++-4.2 -DCMAKE_C_COMPILER=/usr/bin/gcc-4.2 .
On Jun 4, 2012, at 7:30 PM, Guido Chari wrote:
2012/6/4 Igor Stasenko siguctua@gmail.com
On 4 June 2012 16:20, Guido Chari charig@gmail.com wrote:
Hi guys,
I'm new at Mac. I used to compile the vm on Unix environments. So
please forgive me if the topic i will asked is already answer and i skimmed it cause i was not using that environment.
I'm having problems compiling the vm. I need a NBCog vm with debug
information. I have latest version of the git tree, the vmoscog and the cmake.
Generating and compiling the Cocoa Cog i have lot of errors i manage
to solve. Mostly about setting the compilation environment.
But then i have problems with resources not found. My resources
directory is nscogbuild. It hasn't cog.icns, mainmenu.nib and squeak vm.r. I manage to take them from other places but not the mainmenu.nib. So i manage to compile, but when i try yo execute i have a message saying that mainmenu.nib is not found.
where you downloaded sources from?
cog git://gitorious.org/cogvm/blessed.git
and how you build VM?
generate sources from NSCogCocoaIosConfig (i added the debug info), cmake, make...
I'm newie on mac so i don't know very well what this nib file is.
Is this a commom topic? How can i solve it?
For building NB+Cog VM see mariano's blog for details (http://code.google.com/p/cog/wiki/Guide ), or look at jenkins jobs to see how we doing that: https://ci.lille.inria.fr/pharo/view/Cog/
Cheers, Guido.
-- Best regards, Igor Stasenko.
mmm... now I understand it. You have an absent file (I don't know why... maybe Igor can explain that) you can try copying the structure at: iosbuild/resources/English.lproj and see what happens... not sure it is going to work, but it worths a try.
On Jun 4, 2012, at 7:53 PM, Guido Chari wrote:
Btw...
First on the image the method plistKeys includes a reference to NSMainNibFile. This finally links to MainMenu.nib. I don't have that file on my repository recently updated. Anyone have this file on his repository? Anyone has a configuration that doesn't make a configuration that links to that file?
This is the part of the CMakeLists.txt that is automatically generated that is bothering perhaps..
set(resourceDir "/Users/guidochari/Documents/Desarrollo/Smalltalk/Vms/Cog/charigs-blessed/nscogbuild/macbuild/resources/ProjectBuilder")
Here i had to add nscogbuild because that is the url in my repository.
set(resources "${resourceDir}/Squeak VM.r" "${resourceDir}/Cog.icns "${resourceDir}/Squeak.icns" "${resourceDir}/SqueakChanges.icns" "${resourceDir}/SqueakPlugin.icns" "${resourceDir}/SqueakScript.icns" "${resourceDir}/SqueakGeneric.icns" "${resourceDir}/SqueakProject.icns" "${resourceDir}/SqueakSources.icns") set(resourcesLocaleEnglish "${resourceDir}/English.lproj/InfoPlist.strings" ${resourceDir}/English.lproj/MainMenu.nib")
this last one is the line i'm missing. I can compile by commenting that line but i'm not able to execute the vm then
2012/6/4 Guido Chari charig@gmail.com That files in my environment are symilnks to the llvc compiler. I read that they are not compatible with CogVM. I'm compiling with /opt/local/bin/gcc-apple-4.2...
2012/6/4 Esteban Lorenzano estebanlm@gmail.com
perhaps: cmake -DCMAKE_CXX_COMPILER=/usr/bin/g++-4.2 -DCMAKE_C_COMPILER=/usr/bin/gcc-4.2 .
On Jun 4, 2012, at 7:30 PM, Guido Chari wrote:
2012/6/4 Igor Stasenko siguctua@gmail.com
On 4 June 2012 16:20, Guido Chari charig@gmail.com wrote:
Hi guys,
I'm new at Mac. I used to compile the vm on Unix environments. So please forgive me if the topic i will asked is already answer and i skimmed it cause i was not using that environment.
I'm having problems compiling the vm. I need a NBCog vm with debug information. I have latest version of the git tree, the vmoscog and the cmake.
Generating and compiling the Cocoa Cog i have lot of errors i manage to solve. Mostly about setting the compilation environment.
But then i have problems with resources not found. My resources directory is nscogbuild. It hasn't cog.icns, mainmenu.nib and squeak vm.r. I manage to take them from other places but not the mainmenu.nib. So i manage to compile, but when i try yo execute i have a message saying that mainmenu.nib is not found.
where you downloaded sources from? cog git://gitorious.org/cogvm/blessed.git
and how you build VM? generate sources from NSCogCocoaIosConfig (i added the debug info), cmake, make...
I'm newie on mac so i don't know very well what this nib file is.
Is this a commom topic? How can i solve it?
For building NB+Cog VM see mariano's blog for details (http://code.google.com/p/cog/wiki/Guide), or look at jenkins jobs to see how we doing that: https://ci.lille.inria.fr/pharo/view/Cog/
Cheers, Guido.
-- Best regards, Igor Stasenko.
vm-dev@lists.squeakfoundation.org