GRASS and C++: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
(+notes)
Line 4: Line 4:


For working examples, see:
For working examples, see:
Digitizer:
* http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/vdigit/


I/O:
I/O:

Revision as of 20:52, 5 May 2012

(page to be expanded)

Calling GRASS library functionality in C++

For working examples, see:

I/O:

Raster data processing

Image processing

Visualization:

Notes

When developing C++ code to call a C function you need to specified for the compiler that the gis.h include is C code with:

extern "C" 
{
#include <grass/gis.h>
}