On Tue, Oct 23, 2012 at 12:09 PM, SIVA RAMA KRISHNA <[email protected]> wrote: > Dear All, > I am new to GRASS Development > I had build grass 6.4.2 on fedora16 in linux > i wanted to execute the .c files present in grass using terminal > > [support@localhost grass-6.4.2]$ ls > > [support@localhost grass-6.4.2]$ cd doc/vector > [support@localhost vector]$ ls > grass51atts.fig grass51concept.fig TODO v.example > grass51atts.png grass51concept.png vector.html v.modules.html > [support@localhost vector]$ cd v.example > [support@localhost v.example]$ ls > description.html main.c Makefile > [support@localhost v.example]$ gcc -o main main.c > main.c:22:23: fatal error: grass/gis.h: No such file or directory > compilation terminated. >
this works for me: $ cd v.example $ make this should then print the module usage $ v.example --help > I am not sure whether i can execute main.c from vector of grass > > i am unable use in the qt project http://grass.osgeo.org/wiki/Using_QtCreator_for_GRASS_C_development > any sort of help is greatly appricieted Anna > > _______________________________________________ > grass-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/grass-user > _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
