Opened 15 years ago

Closed 13 years ago

#85 closed task (wontfix)

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 (5)

comment:1 by hamish, 15 years ago

Component: DocumentationPackage

comment:2 by jef, 15 years ago

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.

comment:3 by hamish, 15 years ago

Cc: grass-dev@… added
Keywords: grass added
Summary: please make wx-config availablegrass needs wxWidgets to compile some GUI tools

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

comment:4 by hamish, 15 years ago

Type: enhancementtask

see also osgeo4w bug #37.

comment:5 by martinl, 13 years ago

Resolution: wontfix
Status: newclosed

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.