[Vm-dev] Xcode 4.3 Lion

Guido Chari charig at gmail.com
Mon Jun 4 17:53:11 UTC 2012


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 at 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 at 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 at gmail.com>
>>
>>>
>>> On 4 June 2012 16:20, Guido Chari <charig at 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.
>>>
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20120604/cb7c7b55/attachment.htm


More information about the Vm-dev mailing list