[GRASS-dev] Star in the grass programing

Juan Diego Giraldo Osorio Juan.Giraldo at upct.es
Tue May 29 09:30:10 EDT 2007

Hi Glynn

I had ran the "make" file, and I have a directory
(OBJ.x86_64-unknown-linux-gnu) in r.example (together with the main.c,
makefile, ... files). In OBJ.x86_64-unknown-linux-gnu directory I found
and object file (main.o). Excuse me, but I don't know what to do with
this file. Can I execute it from grass??? Compile it with gcc??? Run it

Again, thanks for your help, and again, excuse me for the insistence.

Juan Diego Giraldo Osorio

> Juan Diego Giraldo Osorio wrote:
> > Thanks for your help. The question about the folder permission is
> > overcome. Now, when I had compiled the r.example code, I had followed
> > the next procedure:
> > 
> > - Get in to the dir
> > cd /usr/COMPILA_GRASS62/doc/raster/r.example
> > 
> > - in this folder is located the code. And I try to compile here:
> > gcc main.c -o main
> > 
> > You're telling me about a makefile. Is it necessary? If is necessary,
> > how do I use the makefile???
> Run "make" from the r.example directory, i.e.:
> 	cd /usr/COMPILA_GRASS62/doc/raster/r.example
> 	make
> -- 
> Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list