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?
 
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.