[GRASS-dev] problem with manual page display: wx.Yield() called recursively
Markus Neteler
neteler at osgeo.org
Wed Nov 4 03:04:29 PST 2015
On Wed, Nov 4, 2015 at 11:23 AM, Yann <ychemin at gmail.com> wrote:
> Hi,
>
> I am trying to read the manual of this addon (i.spec.sam in
> grass-addons/grass7/imagery/) from the GUI and it does not show any content.
Hi Yann,
the bug is this: the main.c is missing the corresponding part of the
next lines (this is the code of i.spec.unmix):
module = G_define_module();
G_add_keyword(_("imagery"));
G_add_keyword(_("spectral unmixing"));
module->description =
_("Performs Spectral mixture analysis of satellite/aerial images");
I suggest that you sync the parser part to i.spec.umix (different
descriptions of course).
Please also add in main.c after
#include <grass/config.h>
these lines:
#ifndef HAVE_LIBBLAS
#error GRASS is not configured with BLAS
#endif
#ifndef HAVE_LIBLAPACK
#error GRASS is not configured with LAPACK
#endif
Another small issue:
main.c:174:44: warning: '/*' within block comment [-Wcomment]
/*b = v_get(A->m); /* dimension of
vector = matrix size = Ref.nfiles*/
thanks
Markus
More information about the grass-dev
mailing list