Send grass-windows mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.osgeo.org/mailman/listinfo/grass-windows
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of grass-windows digest..."
Today's Topics:
1. Compile an addon to GRASS in Windows (Ant?nio Rocha)
2. Compiling r.example for WINGRASS (Ant?nio Rocha)
----------------------------------------------------------------------
Message: 1
Date: Mon, 09 Nov 2009 12:41:57 +0000
From: Ant?nio Rocha <[email protected]>
Subject: [GRASS-windows] Compile an addon to GRASS in Windows
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Greetings
I'm quite new in using GRASS GIS. I want to use a GRASS addon in Windows
platform but I need to compile it. Since all compiling/installation
instructions are directed to UNIX/LINUX users, I want to know what C
compiler are you using in Windows? And, if there is any documentation
explaining what to do and pre-requisits.
And by the way, what is your general idea/experience about compling
addons and other modules for Windows-GRASS?
Best Regards
Antonio Rocha
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4587 (20091109) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
------------------------------
Message: 2
Date: Mon, 09 Nov 2009 16:18:31 +0000
From: Ant?nio Rocha <[email protected]>
Subject: [GRASS-windows] Compiling r.example for WINGRASS
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
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
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-windows
End of grass-windows Digest, Vol 39, Issue 3
********************************************