Re: upgrade problem
Re: upgrade problem
- Subject: Re: upgrade problem
- From: Jean-Daniel Dupas <email@hidden>
- Date: Mon, 14 Mar 2011 19:36:29 +0100
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
|
_______________________________________________
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