We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Problems include .h Eclipse
I have a small program with # include <gtk/gtk.h> This. H is in / home/Gabriel/workspace/distribution/filesystem/armv5t_mtx/usr/include/gtk-2.0/gtk/gtk.h This path is configured in properties-patches and symbols of three different ways in the order / Home/Gabriel/workspace/distribution/filesystem/armv5t_mtx/usr/include/gtk-2.0 / / Home/Gabriel/workspace/distribution/filesystem/armv5t_mtx/usr/include / Home/Gabriel/workspace/distribution/filesystem/armv5t_mtx/usr/include/gtk-2.0/gtk/gtk.h Despite this, still the msg **** Build of configuration Default for project hello ****
make all arm-none-linux-gnueabi-gcc-march = armv5te-c-O0-g hello.c-o hello.o hello.c: 20: fatal error: gtk / gtk.h: No such file or directory compilation terminated. make: *** [hello.o] Error 1
Can anyone help? Thanks in advance
that sounds like an eminently sensible way to proceed with any new environment!
"This project comes with a pre-configured makefile, and any changes you make in Eclipse are used only for navigation and searching in the GUI and are not used when compiling."
That sounds like a really dumb and unhelpful thing to do!
As noted above, surely it is natural - even to be encouraged - for a new user to start with the supplied "Hello" project and work from there?!
There are two types of projects in Eclipse: managed projects in which Eclipse autogenerates a makefile based on the settings in the GUI, and imported makefile projects in which it is your responsibility to maintain the makefile manually. The examples supplied with DS-5 come with manually written makefiles. We will consider providing managed projects for the examples instead of or as well as makefiles in a future release.
I don't know much about Makefile, but it seems that, the targeted users of DS-5 are not been decided?
Problem solved! Thanks to all!