[GRASS-windows] Compiling r.example for WINGRASS
Colin Nielsen
colin.nielsen at gmail.com
Tue Nov 10 18:43:00 EST 2009
Hi Antonio,
Have you looked at http://trac.osgeo.org/grass/wiki/CompileOnWindows
There are instructions there for compiling grass on a windows machine
specifically.
>From the error message, it looks like you're missing a couple of
required dependencies (gettext,libintl) these are available from the
osgeo4w installer (see link above).
-Colin
2009/11/9 António Rocha <antonio.rocha at deimos.com.pt>:
> Greetings
>
> Based on previous messages
> (http://lists.osgeo.org/pipermail/grass-windows/2009-March/001684.html) I'm
> starting to go deep into WinGrass. So, I decided to try and compile
> r.example.
> I'm using gcc (included in Dev-C++) and I use as command:
> gcc.exe "C:\GRASS6\tests\r.example\main.c" -o
> "C:\GRASS6\tests\r.example\main.exe" -I"C:\GRASS6\include"
>
> And I got the following error:
>
> /In file included from C:\GRASS6\tests\r.example\main.c:23:
> C:/GRASS6/include/grass/glocale.h:9:21: libintl.h: No such file or directory
> C:\GRASS6\tests\r.example\main.c: In function `main':
> C:\GRASS6\tests\r.example\main.c:83: error: `PACKAGE' undeclared (first use
> in this function)
> C:\GRASS6\tests\r.example\main.c:83: error: (Each undeclared identifier is
> reported only once
> C:\GRASS6\tests\r.example\main.c:83: error: for each function it appears
> in.)
> C:\GRASS6\tests\r.example\main.c:122: warning: assignment makes pointer from
> integer without a cast
> C:\GRASS6\tests\r.example\main.c:127: warning: assignment makes pointer from
> int
> eger without a cast
> /
> Has anyone have an idea of how to solve this? Or any "tutorial/handbook" to
> solve this?
>
> Thanks
>
> Best Regards
> António Rocha
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature
> database 4588 (20091109) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
> _______________________________________________
> grass-windows mailing list
> grass-windows at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-windows
>
More information about the grass-windows
mailing list