Hi All,
i.spec.unmix has been ported to grass7 and grass6. Its available in addon repository
[1] https://svn.osgeo.org/grass/grass-addons/grass6/imagery/i.spec.unmix/
[2]https://svn.osgeo.org/grass/grass-addons/grass7/imagery/i.spec.unmix/
Testing and suggestions are most welcomed. A bit of cleanup need to be done. But that can go after testing
–
Regards,
Rashad
please see the attache gmath lib path
for lib/gmath/la.c
It will be nice if someone can commit to svn. A very simple patch to ignore the check for HAVE_G2CH which is no longer maintained in recent linux versions
(attachments)
gmath_la.diff (429 Bytes)
···
On Tue, Dec 4, 2012 at 11:36 PM, Mohammed Rashad <mohammedrashadkm@gmail.com > wrote:
Hi All,
i.spec.unmix has been ported to grass7 and grass6. Its available in addon repository
[1] https://svn.osgeo.org/grass/grass-addons/grass6/imagery/i.spec.unmix/
[2]https://svn.osgeo.org/grass/grass-addons/grass7/imagery/i.spec.unmix/
Testing and suggestions are most welcomed. A bit of cleanup need to be done. But that can go after testing
–
Regards,
Rashad
–
Regards,
Rashad
dehuiw
December 7, 2012, 5:12am
3
GRASS 7.0.svn (nc_spm_08):/usr/local/grass-addons/grass7/imagery/i.spec.unmix > make MODULE_TOPDIR=/usr/local/grass-7.0.svngcc -g -O2 -I/usr/local/grass-7.0.svn/include -I/usr/local/grass-7.0.svn/include -D_FILE_OFFSET_BITS=64 -DPACKAGE="“grassmods”" -I/usr/local/grass-7.0.svn/include -I/usr/local/grass-7.0.svn/include -o OBJ.x86_64-unknown-linux-gnu/la_extra.o -c la_extra.c
In file included from /usr/local/grass-7.0.svn/include/grass/la.h:34:0,
from la_extra.c:12:
/usr/include/g2c.h:21:1: 错误: 未知的类型名‘__g77_integer’
/usr/include/g2c.h:22:1: 错误: 未知的类型名‘__g77_uinteger’
/usr/include/g2c.h:29:1: 错误: 未知的类型名‘__g77_integer’
/usr/include/g2c.h:33:1: 错误: 未知的类型名‘__g77_longint’
/usr/include/g2c.h:34:1: 错误: 未知的类型名‘__g77_ulongint’
/usr/include/g2c.h:55:1: 错误: 未知的类型名‘__g77_integer’
/usr/include/g2c.h:56:1: 错误: 未知的类型名‘__g77_integer’
/usr/include/g2c.h:57:1: 错误: 未知的类型名‘__g77_integer’
la_extra.c: 在函数‘G_matvect_get_column2’中:
la_extra.c:22:2: 警告: 格式字符串不是一个字面字符串而且没有待格式化的实参 [-Wformat-security]
la_extra.c:27:2: 警告: 格式字符串不是一个字面字符串而且没有待格式化的实参 [-Wformat-security]
la_extra.c:32:2: 警告: 格式字符串不是一个字面字符串而且没有待格式化的实参 [-Wformat-security]
la_extra.c: 在函数‘mv_mlt’中:
la_extra.c:257:9: 警告: 从不兼容的指针类型赋值 [默认启用]
la_extra.c: 在函数‘G_vector_product’中:
la_extra.c:396:2: 警告: 格式字符串不是一个字面字符串而且没有待格式化的实参 [-Wformat-security]
la_extra.c:401:2: 警告: 格式字符串不是一个字面字符串而且没有待格式化的实参 [-Wformat-security]
la_extra.c:406:2: 警告: 格式字符串不是一个字面字符串而且没有待格式化的实参 [-Wformat-security]
la_extra.c:411:2: 警告: 格式字符串不是一个字面字符串而且没有待格式化的实参 [-Wformat-security]
la_extra.c:417:2: 警告: 格式字符串不是一个字面字符串而且没有待格式化的实参 [-Wformat-security]
la_extra.c:423:2: 警告: 格式字符串不是一个字面字符串而且没有待格式化的实参 [-Wformat-security]
la_extra.c: 在函数‘G_matrix_read2’中:
la_extra.c:470:2: 警告: 格式字符串不是一个字面字符串而且没有待格式化的实参 [-Wformat-security]
la_extra.c:480:6: 警告: 格式字符串不是一个字面字符串而且没有待格式化的实参 [-Wformat-security]
la_extra.c:486:3: 警告: 格式字符串不是一个字面字符串而且没有待格式化的实参 [-Wformat-security]
make: *** [OBJ.x86_64-unknown-linux-gnu/la_extra.o] 错误 1
在2012-12-05 02:59:35,王德辉dehuiw@gig.ac.cn 写道:
···
On Tue, Dec 4, 2012 at 11:36 PM, Mohammed Rashad <mohammedrashadkm@gmail.com > wrote:
Hi All,
i.spec.unmix has been ported to grass7 and grass6. Its available in addon repository
[1] https://svn.osgeo.org/grass/grass-addons/grass6/imagery/i.spec.unmix/
[2]https://svn.osgeo.org/grass/grass-addons/grass7/imagery/i.spec.unmix/
Testing and suggestions are most welcomed. A bit of cleanup need to be done. But that can go after testing
–
Regards,
Rashad
–
Regards,
Rashad