Re: [GRASS-dev] diglib test.c fails on 64bit win

2010-05-19 Thread Markus Metz
Glynn Clements wrote: Markus Metz wrote: So, how about  #ifdef __MINGW32__ #if defined(__MINGW32__) defined(_FILE_OFFSET_BITS) _FILE_OFFSET_BITS == 64 +/* add/remove as needed */  #define off_t off64_t  #define fseeko fseeko64  #define ftello ftello64 +#define lseek lseek64

Re: [GRASS-dev] 6.4.0 blocker bugs

2010-05-19 Thread Paul Kelly
On Mon, 17 May 2010, Maciej Sieczka wrote: GRASS already has the correct parameters for Poland. The problem is that it doesn't recognise the datum name Pulkovo_1942_58; it is looking for Pulkovo_1942. I would recommend the patch below for working around this problem. Index:

[GRASS-dev] Re: [GRASS-SVN] r42316 - in grass/trunk/vector/lidar: lidarlib r.resamp.bspline v.lidar.correction v.lidar.edgedetection v.lidar.growing v.outlier v.surf.bspline

2010-05-19 Thread Martin Landa
Hi, 2010/5/19 svn_gr...@osgeo.org: Added:   grass/trunk/vector/lidar/lidarlib/lidar.h Removed:   grass/trunk/vector/lidar/lidarlib/PolimiFunct.h probably lidarlib/ could be moved to lib/ and r.resamp.bspline to raster/ (?). Martin -- Martin Landa landa.martin gmail.com *

Re: [GRASS-dev] Re: [GRASS-SVN] r42316 - in grass/trunk/vector/lidar: lidarlib r.resamp.bspline v.lidar.correction v.lidar.edgedetection v.lidar.growing v.outlier v.surf.bspline

2010-05-19 Thread Markus Metz
Martin Landa wrote: Hi, 2010/5/19  svn_gr...@osgeo.org: Added:   grass/trunk/vector/lidar/lidarlib/lidar.h Removed:   grass/trunk/vector/lidar/lidarlib/PolimiFunct.h probably lidarlib/ could be moved to lib/ and r.resamp.bspline to raster/ (?). It's planned, but one step after another,

Re: [GRASS-dev] RE: [GRASS-user] Question with Python-SWIG example [SEC=UNCLASSIFIED]

2010-05-19 Thread Martin Landa
Hi, 2010/5/19 Glynn Clements gl...@gclements.plus.com: [...] This particular issue should be fixed by r42311. I don't know if this is related to the problem, but it's something to eliminate. right, this issue is eliminated, anyway the reported problem still persists. Martin -- Martin

[GRASS-dev] ctypesgen issue???

2010-05-19 Thread Michael Barton
I compiled OS X binaries for 6.5 and for 7 with the new ctypesgen replacement for SWIG. One person has tried the GRASS 7 AFAIK and it failed to open. I posted the error to the dev list a couple days back. I've had no replies but am wondering if either 1) the user needs to have ctypesgen

Re: [GRASS-dev] diglib test.c fails on 64bit win

2010-05-19 Thread Glynn Clements
Markus Metz wrote: If you redirect stat() to stat64(), you also need to redirect struct stat to struct __stat64. But I'm not sure how to go about that. I was looking around a bit in the Linux system headers but could not find anything. Either redirecting stat() to stat64() seems to

Re: [GRASS-dev] RE: [GRASS-user] Question with Python-SWIG example [SEC=UNCLASSIFIED]

2010-05-19 Thread Glynn Clements
Martin Landa wrote: This particular issue should be fixed by r42311. I don't know if this is related to the problem, but it's something to eliminate. right, this issue is eliminated, anyway the reported problem still persists. The only other thing which I can suggest is to add print

[GRASS-dev] Using Valgrind with GRASS C programs

2010-05-19 Thread António Rocha
(20100519) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev

[GRASS-dev] [GRASS GIS] #1074: $GRASS_BATCH_JOB isn't executed

2010-05-19 Thread GRASS GIS
#1074: $GRASS_BATCH_JOB isn't executed -+-- Reporter: martin | Owner: grass-dev@lists.osgeo.org Type: defect | Status: new Priority: normal | Milestone: 7.0.0

Re: [GRASS-dev] ctypesgen issue???

2010-05-19 Thread Glynn Clements
Michael Barton wrote: I compiled OS X binaries for 6.5 and for 7 with the new ctypesgen replacement for SWIG. One person has tried the GRASS 7 AFAIK and it failed to open. I posted the error to the dev list a couple days back. I've had no replies but am wondering if either 1) the user

[GRASS-dev] Using DDD or other Debugger for GRASS Code

2010-05-19 Thread Franz Schiller
Greetings I need to make some debugging for a few C functions in GRASS. Is it possible to use DDD? Or what other debugger do you advise? Thanks~ Franz ___ grass-dev mailing list grass-dev@lists.osgeo.org

Re: [GRASS-dev] Re: i.pr in GRASS6.4

2010-05-19 Thread Markus Neteler
The MAN manual building script is either not existing on your machine or perl fails: ... GRASS_PERL=/usr/bin/perl VERSION_NUMBER=6.4.0svn sh /usr/local/grass-6.4.0svn/tools/g.html2man/g.html2man /usr/local/grass-6.4.0svn/docs/html/i.pr.blob.html /usr/local/grass-6.4.0svn/man/man1/i.pr.blob.1

Re: [GRASS-dev] Illegal filename. Character ? not allowed.

2010-05-19 Thread Markus Neteler
On 05/18/2010 04:33 PM, jzaba...@ipe.csic.es wrote: Hi everybody, I have compiled a program and when I run it Illegal filename. Character ? not allowed. ERROR: Raster map

Re: [GRASS-dev] Using Valgrind with GRASS C programs

2010-05-19 Thread Markus Neteler
2010/5/19 António Rocha antonio.ro...@deimos.com.pt: Greetings I think I'm having some memory leaks and a few more issues. Since the functions have be runned inside grass, how can I use valgrind with a GRASS function? http://www.google.com/search?q=grass+valgrind - GRASS Debugging -

Re: [GRASS-dev] Re: [gdal-dev] gdaldem hillshade directions / GRASS r.shaded.relief

2010-05-19 Thread Even Rouault
Hamish, I've taken some time to experiment a bit with GRASS and GRASS behaviour is correct of course, so sorry for the noise. I've finally identified why gdaldem (and initially Matt's hillshade utility) got it wrong. GRASS r.mapcalc atan(x,y) function has its parameters reversed in comparison

Re: [GRASS-dev] Using DDD or other Debugger for GRASS Code

2010-05-19 Thread Glynn Clements
Franz Schiller wrote: I need to make some debugging for a few C functions in GRASS. Is it possible to use DDD? DDD is just a front-end to gdb (etc). There shouldn't be any problem using it with GRASS. -- Glynn Clements gl...@gclements.plus.com ___