Results 1 to 2 of 2
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 ...
  1. #1
    Newbie Array

    Join Date
    Sep 2010
    Posts
    9
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Question Xcode Open Toolchain Application link error?

    Hi All,

    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,
    Syam
    Last edited by syamooo; 09-28-2010 at 06:58 AM.



  2. #2
    Newbie Array

    Join Date
    Sep 2010
    Posts
    9
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by syamooo View Post
    Hi All,

    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,
    Syam
    Or let me know is it possible to access frameworks after 2.0 in open toolchain?

 

 

Similar Threads

  1. Can I use toolchain with my xcode 4.01?
    By ginvod in forum iPhone Developer Exchange
    Replies: 0
    Last Post: 04-20-2011, 04:09 AM
  2. [Xcode Problems] About Open Toolchain dev in Xcode
    By satashi in forum iPhone Developer Exchange
    Replies: 2
    Last Post: 02-08-2011, 11:26 AM
  3. [XCode Template] for SDK and Open Toolchain API in firmware 2.0
    By javacom in forum iPhone Developer Exchange
    Replies: 143
    Last Post: 04-11-2009, 07:23 PM
  4. Open toolchain odcctools build error
    By binli120 in forum Free Toolchain Software (Cydia App's)
    Replies: 0
    Last Post: 04-10-2008, 06:32 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 09:11 PM.
twitter, follow us!