[futurebasic] Re: [FB] Compiling problem FB 5.7

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2011 : Group Archive : Group : All Groups

From: Tom Russell <tsrdatatech@...>
Date: Thu, 17 Nov 2011 18:13:42 -0500
I know my client just reinstalled xcode and that resolved this issue.
Maybe try that before spinning your wheels too much.

Tom

On Thu, Nov 17, 2011 at 6:04 PM, Brian S <fblistserve@...> wrote:
> Dan,
> This is the same error ( not finding Carbon ) Tom Russell reported on
> 15-Oct-2011( subject: "Compiling Error" ). Do any of the suggestions in that
> thread provide a clue?
> btw: 'Min OS deployment' and 'Base SDK" settings should be irrelevant when
> Architecture 'Current Mac' is selected. That’s not saying there isn’t an
> issue but that is the expectation.
> Keep in mind that there are separate Build Settings for a single source file
> and a project.
> Brian S
>
> On Nov 17, 2011, at 1:49 PM, Dan Baeckström wrote:
>
> Upon switching to FB 5.7, I have encountered the same problem that Eugen
> Rosu did when upgrading to FB 5.6.2 (see below): a long list of errors
> beginning with
> FBtoC.h:32:27: error: no include path in which to search for Carbon/Carbon.h
> Just like Eugen reported, this could be circumvented by selecting another
> "Architecture" option than "Current Mac" in FBtoC prefs.
> I don't see why it shouldn't work with "Current Mac".
> Eugen was asked to post the UNIX command log from FBtoC. It doesn't seem
> like he did that, at least not to the whole list. I'll post mine to the
> enlightenment of the already enlightened:
> FBtoC: translating untitled 1
> mkdir -p /Users/dan/Documents/Data/Misc/build_temp 2>&1
> FBtoC: build settings from FBtoC preferences
> FBtoC: translation time:   0.32 s
> test -e /usr/bin/gcc-4.2
> FBtoC: copying files
> cd /Developer/FutureBasic/FB\ 5.7/FutureBasic\
> 5.app/Contents/Resources/FBtoC/build_goodies;
> cp -f Runtime.h ArrayIndices.c FBtoC_Prefix_gcc.h FBtoC.h General.c
> Containers.c FileHandling.c Index.c AppThings.c EditFields.c
> FilesDollarFunction.c Prefs.c /Users/dan/Documents/Data/Misc/build_temp 2>&1
> rm -r -f /Users/dan/Documents/Data/Misc/untitled\ 1.app
> mkdir -p /Users/dan/Documents/Data/Misc/untitled\
> 1.app/Contents/{MacOS,Resources/en.lproj} 2>&1
> test -e /Users/dan/Documents/Data/Misc/Info.plist
> cd /Users/dan/Documents/Data/Misc/untitled\ 1.app/Contents;
> cp /Developer/FutureBasic/FB\ 5.7/FutureBasic\
> 5.app/Contents/Resources/FBtoC/build_goodies/BlueLeaf.icns ./Resources 2>&1;
> sed -e "s/EXECUTABLE/untitled\ 1/" /Developer/FutureBasic/FB\
> 5.7/FutureBasic\ 5.app/Contents/Resources/FBtoC/build_goodies/Info.plist.in
>> Info.plist 2>&1
> FBtoC: copy time:          0.14 s
> Using: i686-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5566)
> mkdir -p /Users/dan/Documents/Data/Misc/build_temp/FBtoC_Prefix_gcc.h.gch
> 2>&1
> test -e
> /Users/dan/Documents/Data/Misc/build_temp/FBtoC_Prefix_gcc.h.gch/032031_171.gch
> FBtoC: creating precompiled header
> rm -f
> /Users/dan/Documents/Data/Misc/build_temp/FBtoC_Prefix_gcc.h.gch/0*.gch
> /Users/dan/Documents/Data/Misc/build_temp/FBtoC_Prefix_gcc.h.gch/2*.gch
> cd /Users/dan/Documents/Data/Misc/build_temp;
>  /usr/bin/gcc-4.2 FBtoC_Prefix_gcc.h -o
> /Users/dan/Documents/Data/Misc/build_temp/FBtoC_Prefix_gcc.h.gch/032031_171.gch
> -fpascal-strings -mdynamic-no-pic -g3 -arch i386 -mmacosx-version-min=10.5
> -isysroot /Developer/SDKs/MacOSX10.6.sdk 2>&1
> In file included from FBtoC_Prefix_gcc.h:8:
> FBtoC.h:32:27: error: no include path in which to search for Carbon/Carbon.h
> (etc.)
>
> Hardware & software specs:
> MacBook Pro 3.1, Intel Core 2 Duo 2.2 GHz
> System 10.5.8 (9L31a)
> Kernel Version Darwin 9.8.0
> Xcode 3.1.2
> FB 5.7
> FBtoC settings: All Default
>
> Regards,
> Dan
> On 19 Sep 2011, at 16:02, Eugen Rosu wrote:
>
> Thanks,
> It worked when I changed "Curent Mac" to "PPC"
> Eugen R
>
>
> On 19.09.2011, at 14:59, Robert Purves wrote:
>
>
> Eugen Rosu wrote:
>
> I used one of the simplest code ever, on a PPC with Mac OS 10.5.8 :
>
> But I have a tone of errors with FB 5.6.2
>
> NB: I works perfect with FB 5.6.1
>
> Error: gcc:
>
> no include path in which to search for Carbon/Carbon.h [line 22:27 of
> FBtoC.h]
>
> The compiler has lost its way.
>
> Try trashing the build_temp folder.
>
> In FBtoC settings, click the button 'Set all to defaults'.
>
>
> If the problem persists
>
> - turn ON the FBtoC settings checkbox 'Log UNIX commands'
>
> - quit FBtoC.app
>
> - run your simple code
>
> - in the FBtoC log window, copy all text down to the first compiler error
> only, and post it.
>
> Robert P.
>
>
>
>
> --
>
> To unsubscribe, send ANY message to: futurebasic-unsubscribe@...
>
> To access the list archives, go to:
>  http://freegroups.net/groups/futurebasic/
>
>
>
> --
> To unsubscribe, send ANY message to: futurebasic-unsubscribe@...
> To access the list archives, go to:
>  http://freegroups.net/groups/futurebasic/
>
>
>
> =
>
> --
> To unsubscribe, send ANY message to: futurebasic-unsubscribe@... =
> To access the list archives, go to:
> http://freegroups.net/groups/futurebasic/
>
> =
>
> Brian S
>
>
>
>
>
>
> --
> To unsubscribe, send ANY message to: futurebasic-unsubscribe@...
> To access the list archives, go to:
> http://freegroups.net/groups/futurebasic/
>