10-15-2008, 08:32 AM
It couldn't find it before, but now I copied the contents of /Xcode2.5/usr/bin into usr/bin and now it can find it.
It still doesn't work though, when I'm trying to compile something (we have to use Eclipse at Uni) I get an error message saying:
Building file: ../src/TestHelloWorld.cpp
Invoking: GCC C++ Compiler
g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/TestHelloWorld.d" -MT"src/TestHelloWorld.d" -o"src/TestHelloWorld.o" "../src/TestHelloWorld.cpp"
../src/TestHelloWorld.cpp:9:20: error: iostream: No such file or directory
../src/TestHelloWorld.cpp: In function 'int main()':
../src/TestHelloWorld.cpp:13: error: 'cout' was not declared in this scope
../src/TestHelloWorld.cpp:13: error: 'endl' was not declared in this scope
make: *** [src/TestHelloWorld.o] Error 1
which makes me think that just copying the bin contents was not really a solution to my problem.
How can I set it so Eclipse (and the terminal) can find something that lies in /Xcode2.5?