[GRASS-windows] compiler error 'undefined reference to G_gisinit(char const*)

Markus Neteler neteler at osgeo.org
Fri Mar 6 14:48:18 EST 2009


On Fri, Mar 6, 2009 at 1:39 PM, KB <kartik.ballal at wipro.com> wrote:
>
> Hi,
> I have installed 6.2.3 version on windows and trying to compile r.example
> using cygwin. I am using below command from /usr/local/grass-6.2.3 path
>
> gcc -I ./include main.cpp
>
> ---------------------
> on executing the above command I get an error 'undefined reference to ...'
> (all function used in rater.c). Please help ...
> --

You need to add the path to the GRASS include files.

Markus


More information about the grass-windows mailing list