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

GRASS GIS trac at osgeo.org
Wed Aug 25 15:55:12 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 hellik):

 Replying to [comment:40 martinl]:
 > Replying to [comment:39 glynn]:
 > > > and all files seems to be build in
 > > > C:\OSGeo4W\usr\src\grass6_devel\dist.i686-pc-
 mingw32\etc\python\grass\lib
 > > >
 > > > but during wingrass65-startup I get:
 > > >
 > > {{{
 > > 3D view mode not available
 > > Reason: grass_datetime not found.
 > > }}}
 > >
 > > Is ctypes being invoked with -lgrass_datetime.7.0.svn or
 -lgrass_datetime?
 > >
 > > Check that $GISBASE/etc/python/grass/lib/date.py has:
 > > {{{
 > > _libs["grass_datetime.7.0.svn"] =
 load_library("grass_datetime.7.0.svn")
 > > }}}
 > >
 > > Also, check that you don't have an old version lying around.
 >
 > Helmut is refering to GRASS 6.5 which uses versioned/unversioned libs.
 The solution could be to adopt build system in GRASS 6.5 to use only
 versioned libs as in GRASS 7.

 You're right.

 wingrass65:
 C:\OSGeo4W\apps\grass\grass-6.5.svn\etc\python\grass\lib\date.py
 {{{
 _libs["grass_datetime"] = load_library("grass_datetime")
 }}}

 Helmut

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



More information about the grass-dev mailing list