I just recently downloaded the Irrlicht 1.4 engine in MacOS format and compiled through Xcode. It went through fine and all of the examples run fine, but there is one more problem. Whenever I try to compile the tutorial files, I get this error:
cd /Users/jordanwalker/name
/Developer/usr/bin/gcc-4.0 -x c++-header -arch i386 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic -fmessage-length=0 -fvisibility=hidden -fvisibility-inlines-hidden -mmacosx-version-min=10.4 -gdwarf-2 -I/Users/jordanwalker/name/build/name.build/Release/hope.build/hope.hmap -F/Users/jordanwalker/name/build/Release -F/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks -I/Users/jordanwalker/name/build/Release/include -I/Users/jordanwalker/Desktop/irrlicht/include -I/Users/jordanwalker/name/build/name.build/Release/hope.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h -o /Library/Caches/com.apple.Xcode.502/SharedPrecompiledHeaders/Carbon-fcjgdqseudgvjzcrcwadbdcvsymj/Carbon.h.gch
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/IOKit.framework/Headers/OSMessageNotification.h:85: error: 'io_user_reference_t' was not declared in this scope
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/IOKit.framework/Headers/OSMessageNotification.h:87: error: 'io_user_reference_t' does not name a type
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/IOKit.framework/Headers/OSMessageNotification.h:92: error: 'OSAsyncReference64' does not name a type
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/IOKit.framework/Headers/OSMessageNotification.h:103: error: 'io_user_reference_t' does not name a type
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h:209: error: conflicting declaration 'typeCFStringRef'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h:158: error: 'typeCFStringRef' has a previous declaration as '<anonymous enum> typeCFStringRef'
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h:210: error: conflicting declaration 'typeCFMutableStringRef'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h:159: error: 'typeCFMutableStringRef' has a previous declaration as '<anonymous enum> typeCFMutableStringRef'
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h:211: error: conflicting declaration 'typeCFArrayRef'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h:160: error: 'typeCFArrayRef' has a previous declaration as '<anonymous enum> typeCFArrayRef'
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h:212: error: conflicting declaration 'typeCFMutableArrayRef'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h:161: error: 'typeCFMutableArrayRef' has a previous declaration as '<anonymous enum> typeCFMutableArrayRef'
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h:213: error: conflicting declaration 'typeCFDictionaryRef'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h:162: error: 'typeCFDictionaryRef' has a previous declaration as '<anonymous enum> typeCFDictionaryRef'
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h:214: error: conflicting declaration 'typeCFMutableDictionaryRef'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h:163: error: 'typeCFMutableDictionaryRef' has a previous declaration as '<anonymous enum> typeCFMutableDictionaryRef'
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h:215: error: conflicting declaration 'typeCFTypeRef'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h:166: error: 'typeCFTypeRef' has a previous declaration as '<anonymous enum> typeCFTypeRef'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/IOKit.framework/Headers/OSMessageNotification.h:85: error: 'io_user_reference_t' was not declared in this scope
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/IOKit.framework/Headers/OSMessageNotification.h:87: error: 'io_user_reference_t' does not name a type
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/IOKit.framework/Headers/OSMessageNotification.h:92: error: 'OSAsyncReference64' does not name a type
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/IOKit.framework/Headers/OSMessageNotification.h:103: error: 'io_user_reference_t' does not name a type
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h:209: error: conflicting declaration 'typeCFStringRef'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h:158: error: 'typeCFStringRef' has a previous declaration as '<anonymous enum> typeCFStringRef'
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h:210: error: conflicting declaration 'typeCFMutableStringRef'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h:159: error: 'typeCFMutableStringRef' has a previous declaration as '<anonymous enum> typeCFMutableStringRef'
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h:211: error: conflicting declaration 'typeCFArrayRef'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h:160: error: 'typeCFArrayRef' has a previous declaration as '<anonymous enum> typeCFArrayRef'
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h:212: error: conflicting declaration 'typeCFMutableArrayRef'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h:161: error: 'typeCFMutableArrayRef' has a previous declaration as '<anonymous enum> typeCFMutableArrayRef'
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h:213: error: conflicting declaration 'typeCFDictionaryRef'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h:162: error: 'typeCFDictionaryRef' has a previous declaration as '<anonymous enum> typeCFDictionaryRef'
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h:214: error: conflicting declaration 'typeCFMutableDictionaryRef'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h:163: error: 'typeCFMutableDictionaryRef' has a previous declaration as '<anonymous enum> typeCFMutableDictionaryRef'
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h:215: error: conflicting declaration 'typeCFTypeRef'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h:166: error: 'typeCFTypeRef' has a previous declaration as '<anonymous enum> typeCFTypeRef'
Its something to do with my local carbon header file, but I have no idea past that. This happens with all of the tutorials, regardless of which one. Any ideas?
-Jordan
carbon problems
-
- Posts: 5
- Joined: Mon Feb 25, 2008 9:34 pm