Re: Can't include objective c file in carbon project
Re: Can't include objective c file in carbon project
- Subject: Re: Can't include objective c file in carbon project
- From: Kurt Spaker <email@hidden>
- Date: Wed, 29 Oct 2008 09:28:11 -0400
- Organization: Asar Corporation
On Oct 28, 2008, Nick Zitzmann wrote:
> Can you please provide the exact output from the build log when
> building your project? (Feel free to obfuscate paths if you like, but
> the rest of it is important.)
Here's the result of compiling NSCursorWrappers.m:
CompileC build/TestProject.build/Debug/TestProject.build/Objects-normal/i386/NSCursorWrappers.o
/Code/Projects/XProjects/TestProject/Source/Common/Utilities/NSCursorWrappers.m normal i386 c++ com.apple.compilers.gcc.4_0
cd /Code/Projects/XProjects/TestProject
/Developer/usr/bin/gcc-4.0 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0
-Wreturn-type -Wnon-virtual-dtor -Woverloaded-virtual -Wunused-variable -DDEBUG=1 -DqNeoDebug=1 -DDebug_Signal=1
-isysroot /Developer/SDKs/MacOSX10.4u.sdk -mfix-and-continue -fvisibility-inlines-hidden -Wno-deprecated-declarations
-mmacosx-version-min=10.4 -gdwarf-2 -I/Code/Projects/XProjects/TestProject/build/TestProject.build/Debug/TestProject.build/TestProject.hmap
-F/Code/Projects/XProjects/TestProject/build/Debug -F/Volumes/Code/Code/Projects/XProjects/Growl
-F/Code/Projects/XProjects/TestProject/../Growl -F/Code/Projects/XProjects/TestProject -I/Code/Projects/XProjects/TestProject/build/Debug/include
-I/Developer/Headers/FlatCarbon -I/Code/Projects/XProjects/TestProject/build/TestProject.build/Debug/TestProject.build/DerivedSources
-ObjC -include /var/folders/H1/H1NGU35dG0iO8Oojg4rWQk+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/
TestProject _Prefix-fyblntnnojduhagqftnwimxjzpkt/TestProject _Prefix.pch -c /Code/Projects/XProjects/TestProject/Source/Common/Utilities/NSCursorWrappers.m
-o /Code/Projects/XProjects/TestProject/build/TestProject.build/Debug/TestProject.build/Objects-normal/i386/NSCursorWrappers.o
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:60: error: expected unqualified-id before '@' token
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:62: error: expected constructor, destructor, or type
conversion before '*' token
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:63: error: 'NSString' was not declared in this scope
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:63: error: 'aSelectorName' was not declared in this scope
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:64: error: 'NSString' was not declared in this scope
{plus a few thousand more errors from AppKit, Foundation, and CoreData framework headers}
Kurt
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden