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

GRASS GIS trac at osgeo.org
Thu Aug 19 15:36:59 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:23 glynn]:
 > Replying to [comment:22 hellik]:
 >
 > > There is only the tcltk-nviz available. Is there any change to test
 the fixes for example r43120 and r43121.
 >
 > Both of those changes affect the building of the wrappers. They should
 fix the Windows build-time errors which prevented usable wrappers from
 being generated (you still get some errors about `__asm__` and similar,
 but those don't matter).
 >
 > r43120 should fix the 'grass/config.h: No such file or directory' (etc)
 errors, while r43121 should fix the 'Could not load library "intl"'
 warnings (which will result in errors at runtime).
 >
 > Currently, the only available test for the wrappers is the wx nviz
 module, although that could fail on Windows for reasons unrelated to
 ctypes (e.g. issues with the underlying OpenGL support).

 What I have done now for testing of r43120 and r43121 in the osgeo4w-stack
 in WinVista32 is (I hope it's right the way?), is revert r43132

 {{{
 Author: martinl
 Date: 2010-08-16 07:20:46 +0000 (Mon, 16 Aug 2010)
 New Revision: 43132

 Modified:
    grass/trunk/lib/python/Makefile
 Log:
 disable swig, reenable when #1125 is fixed

 Modified: grass/trunk/lib/python/Makefile
 ===================================================================
 --- grass/trunk/lib/python/Makefile     2010-08-16 06:56:47 UTC (rev
 43131)
 +++ grass/trunk/lib/python/Makefile     2010-08-16 07:20:46 UTC (rev
 43132)
 @@ -13,10 +13,14 @@
  PYFILES := $(patsubst %,$(DSTDIR)/%.py,$(MODULES) __init__)
  PYCFILES := $(patsubst %,$(DSTDIR)/%.pyc,$(MODULES) __init__)

 -CLEAN_SUBDIRS = ctypes
 +ifeq ($(MINGW),)
 +       CLEAN_SUBDIRS = ctypes
 +endif

  default: $(PYFILES) $(PYCFILES) $(GDIR)/__init__.py $(GDIR)/__init__.pyc
 +ifeq ($(MINGW),)
         -$(MAKE) -C ctypes || echo $(CURDIR)/ctypes >> $(ERRORLOG)
 +endif

  $(PYDIR):
         $(MKDIR) $@

 }}}

 and try if there are compiling errors.

 {{{
 GRASS GIS compilation log
 -------------------------
 Started compilation: Thu Aug 19 16:27:16 GMT 2010
 --
 Errors in:
 No errors detected.
 --
 Finished compilation: Thu Aug 19 17:17:48 GMT 2010
 }}}

 so there seems to be no errors in compiling of grass70 in the osgeo4w-
 stack in my WinVista32 (beside the lfs-issue solved by changing manually
 plattform.make).

 but as far as I can remember (correctly?), wx-nviz (3d-view-mode) is
 disabled at the moment in the WinGrass70-wxgui if a windows-platform is
 recognized.

 {{{
 3D view mode not available
 Reason: No module named lib.grass
 Note that the 3D view mode is currently not working under MS
 Windows (hopefully this will be fixed soon). Please keep an
 eye out for updated versions of GRASS.
 }}}

 what have I to do that I can test if - after Glynn's fixes with r43120 and
 r43121 - the wx-nviz-module is working in WinGrass7 after no compiling
 errors?

 best regards
 Helmut

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



More information about the grass-dev mailing list