• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: upgrade problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: upgrade problem


  • Subject: Re: upgrade problem
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Mon, 14 Mar 2011 19:36:29 +0100


Le 14 mars 2011 à 18:05, email@hidden a écrit :

hi,

i bought a new macbookpro (running 10.6.6) and used  a firewire cable to move
my existing stuff from my old macbookpro (running 10.4 and Xcode 3)

much to my delight the build of my project worked fine, so now i have Xcode Version 3.1.3
running under 10.6.6

however, if i compile a simple file like

#include <stdio.h>

int main(void){
printf("hello world");
return 0;
}


using the terminal, i get the following:

perry-macbookpro:~ za$ /Developer/usr/bin/gcc-4.0 test.cpp
test.cpp:1:19: error: stdio.h: No such file or directory
test.cpp: In function ‘int main()’:
test.cpp:4: error: ‘printf’ was not declared in this scope
perry-macbookpro:~ za$ 


 /Developer/usr/bin/g++ --sysroot=/Developer/SDKs/MacOSX10.5.sdk/ test.cpp


-- Jean-Daniel




 _______________________________________________
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

References: 
 >upgrade problem (From: email@hidden)

  • Prev by Date: Re: Xc4 UI
  • Next by Date: Re: Running on a device
  • Previous by thread: Re: upgrade problem
  • Next by thread: [Xcode 4] Number of recommended displays/spaces?
  • Index(es):
    • Date
    • Thread