I just downloaded DS-5 a little while ago, just getting all of this stuff "out of the box" I have an error with the include statements. I know the C++ is correct because this is a waaaaay elementary task, but I get an error when building the project. I imagine this is because Eclipse is looking in the wrong directory for the header files...how can I change where it expects headers to be?
Which include files are not being found?
I can build this:
#include <iostream> using namespace std; int main(int argc, char** argv) { cout << "Hello World" << endl; return 0; }
using:
arm-none-linux-gnueabi-g++ -c -g hello.cpp -o hello.o arm-none-linux-gnueabi-g++ hello.o -o hello
If you're using headers from more interesting libraries (e.g. gtk) then you may find what you need by Import...ing the "distribution" project from DS-5/examples/examples.zip -- you'll need to tell the compiler where the headers are with -I and where the libraries are with -L.