Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID
Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.

stdarg.h & float.h build errors?

trappertrapper Posts: 299Registered Users
Ok so just loaded up my project into 3.0 sdk and had a crack at compiling it for 3.0. Got two errors as shown below, anyone seen this before or understand what it means?

In file included from /Developer 3.0/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:12,
from /Developer 3.0/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6,
from /Users/trapper/Desktop/iPhone Code/App/App_Prefix.pch:6:
/Developer 3.0/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory
In file included from /Developer 3.0/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16,
from /Developer 3.0/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6,
from /Users/trapper/Desktop/iPhone Code/App/App_Prefix.pch:6:
/Developer 3.0/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/usr/include/float.h:8:24: error: float.h: No such file or directory
Post edited by trapper on
Black or Red - Possibly the first ever iPhone drinking game! Try it tonight.

<a href="http://itunes.apple.com/WebObjects/MZStore.woa/

Replies

  • trappertrapper Posts: 299Registered Users
    btw; have checked both paths below and the files do exist??

    /Developer 3.0/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/usr/include/stdarg.h
    /Developer 3.0/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/usr/include/float.h
    Black or Red - Possibly the first ever iPhone drinking game! Try it tonight.

    <a href="http://itunes.apple.com/WebObjects/MZStore.woa/
  • manicaesarmanicaesar Posts: 103Registered Users
    trapper;91293 said:
    btw; have checked both paths below and the files do exist??

    /Developer 3.0/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/usr/include/stdarg.h
    /Developer 3.0/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/usr/include/float.h
    I've got similar problem. I have an application which:
    - builds without problem for iPhone Simulator OS 2.2.1
    - builds without problem for iPhone Device OS 3.0
    - builds with above errors for iPhone Device OS 2.2.1 :(

    I've also checked, that the files exists in above paths...

    Any ideas?
    Do you like Age Of War? Have you played 'The Wars' and are not fully satisfied? Try Empires At War - we bet you will love it!



    [SIGPIC][/SIGPIC]

    ------------------<br /
  • manicaesarmanicaesar Posts: 103Registered Users
    manicaesar;97071 said:
    I've got similar problem. I have an application which:
    - builds without problem for iPhone Simulator OS 2.2.1
    - builds without problem for iPhone Device OS 3.0
    - builds with above errors for iPhone Device OS 2.2.1 :(

    I've also checked, that the files exists in above paths...

    Any ideas?
    Ok. I've solved the problem for myself. I found the information, that these files aren't supported for GCC 4.2.

    So I switched to version 4.0. (In Group & Files window on the left, Click Targets -> . Then go to Build tab, find GCC Compiler version option and change it to 4.0)
    Do you like Age Of War? Have you played 'The Wars' and are not fully satisfied? Try Empires At War - we bet you will love it!



    [SIGPIC][/SIGPIC]

    ------------------<br /
  • TEEKAYTEEKAY Posts: 4New Users
    manicaesar;97078 said:
    Ok. I've solved the problem for myself. I found the information, that these files aren't supported for GCC 4.2.

    So I switched to version 4.0. (In Group & Files window on the left, Click Targets -> . Then go to Build tab, find GCC Compiler version option and change it to 4.0)
    Where did you get the 4.0 from. I'm getting the same errors and only have 4.2 showing when i try to change it. Should I already have it and just need to browse to it (if so where?)

    Thanks,
    TK
  • manicaesarmanicaesar Posts: 103Registered Users
    TEEKAY;292256 said:
    Where did you get the 4.0 from. I'm getting the same errors and only have 4.2 showing when i try to change it. Should I already have it and just need to browse to it (if so where?)

    Thanks,
    TK
    Then, just use 4.2 (or better, set it to 'Latest iOS'). It should work.
    Do you like Age Of War? Have you played 'The Wars' and are not fully satisfied? Try Empires At War - we bet you will love it!



    [SIGPIC][/SIGPIC]

    ------------------<br /
Sign In or Register to comment.