Discuss Xcode Open Toolchain Application link error? at the iPhone Developer Exchange - Hackint0sh.org; Hi All,
I just started an open toolchain application. In which I am trying to ...
Xcode Open Toolchain Application link error?
I just started an open toolchain application. In which I am trying to play a sound using AVFoundation framework. But when I tried to link to AVFoundation framework I am getting the error "syntax error before NSUInteger".
In the other C Flags property I found the following lines:
-I/Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include -I/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/usr/include -I/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/gcc/arm-apple-darwin9/4.0.1/include -F/System/Library/Frameworks -F/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Library/Frameworks -F/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Library/PrivateFrameworks -DASPEN -DDEBUG -DVERSION='"2.1.0"' -O3 -funroll-loops -DMAC_OS_X_VERSION_MAX_ALLOWED=1050
Then I found that it only referring 2.0 SDK headers. AVFoundation was available SDK2.2 onwards. When I tried to change it to 2.2 in the Other C Flags section am still getting the same error.
So can anybody tell me how to link to standard sdk frameworks in an open toolchain application.(Default use of open toolchain headers only application).
Thanks in advance,
Last edited by syamooo; 09-28-2010 at 06:58 AM.
Or let me know is it possible to access frameworks after 2.0 in open toolchain?
Originally Posted by syamooo
By ginvod in forum iPhone Developer Exchange
Last Post: 04-20-2011, 04:09 AM
By satashi in forum iPhone Developer Exchange
Last Post: 02-08-2011, 12:26 PM
By javacom in forum iPhone Developer Exchange
Last Post: 04-11-2009, 07:23 PM
By binli120 in forum Free Toolchain Software
Last Post: 04-10-2008, 06:32 PM
Tags for this Thread