[futurebasic] Re: [FB] FB compile problem

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 2012 : Group Archive : Group : All Groups

From: Deep <Info@...>
Date: Thu, 28 Jun 2012 18:49:58 +0100
Ted,

Congratulations on the new MacBook Pro! Sorry to hear you are having 
problems installing FB5 and FBtoC.

In FBtoC preferences, please check the Preferences. At the bottom, there 
is a button marked Advanced. When you press it, the drawer opens and a 
box marked "Path to Developer folder" is shown. Tick the box marked "Use 
compiler from Developer folder" and enter:

/Developer old

Also, in Xcode4, go to the Preferences. There is a tab called Downloads. 
In the Components list, you will see an item called "Command Line 
Tools". Is that shown as "Installed"? Not essential, but just checking 
to get a better feel for the problem.

Finally, if you are using a "Project" for your old app that previously 
compiled correctly, check the FBtoC settings in the Project as those may 
be different to the Preferences for FBtoC generally.

Kind regards,

Deep



On 28/06/2012 18:33, Spencer Ted wrote:
> There's a brand-new MacBook Pro here (10.7.4). I downloaded XCode 4.3.3 from The Store and got precisely the message (The compiler specified by build settings could not be found: /usr/bin/gcc-4.0) outlined in "Scenario 3" of the "FB in OS X 101.7", which said 2 things:
>
> 1. Change the compiler pop-up to anything but gcc 4.0. I changed it to all other things, but the same message appeared.
>
> 2. "If you are unhappy with these limitations, copy a Developer folder (containing Xcode 3) from another machine to the new one. From here on, see Scenario 2..."
>
> After 2., above, the messages are:
>
> Error: gcc:
> ld (that's ell dee): in /applications, can't map file, errno = 22
>
> Error: Could not create precompiled header.
>
> It's FB 5.7.3. XCode 3.2.6 is in /Developer old/Applications/XCode, and XCode 4.3.3 is in /Applications.
>
> There was mention in that OS10.7 note about the XCode installer creating a new developer folder. There is no longer an installer for XCode as far as I can see. Nor was there any evidence that XCode created a developer folder when it was launched.
>
> The thing I'm trying to compile works perfectly on the iMac 10.6.8.
>
> As usual, I'm lost...
>
> Ted