[GRASS-dev] Re: [GRASS GIS] #1125: wingrass - ctypes - compiling error

GRASS GIS trac at osgeo.org
Sun Aug 15 14:29:09 EDT 2010


#1125: wingrass - ctypes - compiling error
------------------------------+---------------------------------------------
 Reporter:  hellik            |       Owner:  grass-dev@…              
     Type:  defect            |      Status:  new                      
 Priority:  blocker           |   Milestone:  6.5.0                    
Component:  Compiling         |     Version:  svn-trunk                
 Keywords:  wingrass, ctypes  |    Platform:  MSWindows Vista          
      Cpu:  x86-32            |  
------------------------------+---------------------------------------------

Comment(by glynn):

 Replying to [comment:20 hellik]:

 > I get  now a different error message than the first report
 >
 {{{
 Error: gcc -E -D_FILE_OFFSET_BITS=64
 -I/c/osgeo4w/usr/src/grass_trunk/dist.i686-pc-mingw32/include
 -I/c/osgeo4w/usr/src/grass_trunk/dist.i686-pc-mingw32/include:
 c:\osgeo4w\usr\src\grass_trunk\dist.i686-pc-
 mingw32\include\grass\gis.h:28:26: grass/config.h: No such file or
 directory
 }}}

 I think that I've fixed this with r43120, which invokes the preprocessor
 via sh.exe. This is the only way I can find to get the -I switches to be
 recognised. Using Windows pathnames in the Platform.make doesn't work
 because $PATH doesn't like colons in filenames.

 >
 {{{
 Warning: Could not load library "intl". Okay, I'll try to load it at
 runtime instead.
 }}}
 Ugh. ctypesgen can't handle the -lintl flag, as it's an import library
 (libintl.dll.a); the actual DLL is libintl3.dll. r43121 adds a workaround
 for this.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1125#comment:21>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list