[GRASS-dev] [GRASS GIS] #2406: wxview compilation error
GRASS GIS
trac at osgeo.org
Wed Sep 3 12:27:40 PDT 2014
#2406: wxview compilation error
-------------------------+--------------------------------------------------
Reporter: martinl | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Compiling | Version: svn-trunk
Keywords: wxview | Platform: Linux
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by glynn):
Replying to [ticket:2406 martinl]:
> Compilation of wxview fails on Debian stable:
>
{{{
c++ ... -DwxUSE_GUI=0 ...
}}}
The wx-config script used by configure has disabled the GUI component of
wxWidgets.
If you have multiple versions of wxWidgets installed, pass the full path
to the correct wx-config script to the --with-wxwidgets= configure option.
If you only have a GUI-less version of wxWidgets, it appears that we don't
handle that correctly at present. As for whether we should care about that
...
* It's uncertain whether the wximgview program will be retained (it's
unclear whether it has any advantage over the Python version in
scripts/wxpyimgview)
* We'd need a custom test; LOC_CHECK_LIBS isn't going to work for a C++
class (or anything with C++ symbol mangling, for that matter).
* How common is a GUI-less version of wxWidgets? Should it even be called
wxWidgets if it doesn't actually include any widgets?</snark>
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2406#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list