[GRASS-dev] Call Grass modules from C++ code
pollo1_91 at yahoo.it
Fri Mar 15 06:58:15 PDT 2013
> Da: Vaclav Petras <wenzeslaus at gmail.com>
> Unfortunately it is not suitable. Modules are just programs and their
> functionality is available only through command line. So, through
> library calls, you can only use the core functionality in C and C++.
I've decided to follow this approach: I will use only the core
functionalities including the core library with the keyword extern.
> However, calling grass modules is convenient in Python. If Python is
> acceptable for you it is worth consider it. There are several ways how
> to access grass functionality including modules from Python .
Usually I use Python for everything, but this time I need performance :-)
Thank you for your answers!
I guess I'll need some more help digging in the core libraries ;-)
More information about the grass-dev