Ticket #85 (closed task: wontfix)

Opened 4 years ago

Last modified 2 years ago

grass needs wxWidgets to compile some GUI tools

Reported by: hamish Owned by: osgeo4w-dev@…
Priority: major Component: Package
Version: Keywords: grass
Cc: grass-dev@…

Description

Hi,

for compiling GRASS's swig modules (wxnviz and vdigit) we seem to need access to the wx-config program (same idea as gdal-config), but there doesn't seem to be a wxwidgets-dev package available in the installer or a $OSGEO4W/bin/wx-config.tmpl file about.

see

 http://lists.osgeo.org/pipermail/grass-dev/2009-May/043856.html  http://article.gmane.org/gmane.comp.gis.grass.devel/31042/

ideas?

thanks, Hamish

Change History

Changed 4 years ago by hamish

  • component changed from Documentation to Package

Changed 4 years ago by jef

wxPython was packaged from the binaries available from the wxPython website. So wxWidgets development files were not necessary to package wxPython.

I know that wxWidgets is needed for the GRASS wxGUI python extensions, but I wasn't able to find or build wxWidgets so that the wxGUI extension would actually work. I tried the development binaries from the wxPython website, that were use to build wxPython and tried several own builds from different versions of MSVC. I could get it compile and link fine, but I wouldn't run correctly.

Python, wxPython & wxWidgets are build with MSVC without a shell, so there's not much point in creating a shell script that emits options, that MSVC doesn't use or need. And even if it were created, it probably would emit options for MSVC that couldn't be used by MinGW anyway.

I've added gdal-config to the mingw-libs. That's a handcrafted script that outputs options for MinGW to use the MSVC build libraries. Something like that could also be done for wxWidgets, but therefore one would first need to figure out which options would be needed to make it actually work.

Another approach would be to rebuild wxWidgets and wxPython using MinGW for GRASS, but that might not work with the MSVC built python.

Changed 4 years ago by hamish

  • cc grass-dev@… added
  • keywords grass added
  • summary changed from please make wx-config available to grass needs wxWidgets to compile some GUI tools

added grass dev list to cc: see the ticket for jef's reply.

Changed 4 years ago by hamish

  • type changed from enhancement to task

see also osgeo4w bug #37.

Changed 2 years ago by martinl

  • status changed from new to closed
  • resolution set to wontfix

Swig has been removed, wxGUI extensions (vdigit, nviz) has been ported to python using ctypes interface. Closing this ticket.

Note: See TracTickets for help on using tickets.