Hi Markus,

Thanks, looking into it now.
Yann

On 04/11/2015 12:04, Markus Neteler wrote:
On Wed, Nov 4, 2015 at 11:23 AM, Yann <yche...@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

--
-----
Yann Chemin
Address: 3 Toul Melin, 56400 Plumergat
Mobile: +33 (0)7 83 85 52 34

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to