glimmer 3.02安装小记
wget http://www.cbcb.umd.edu/software/glimmer/glimmer302.tar.gz
tar xzfglimmer302.tar.gz
cd glimmer3.02
cd src
make >out 2>err
错误排除:
1. delcher.cc:284:17: error: 'strlen' was notdeclared in this scope 等类似问题:
vi Common/delcher.hh
将两个 #include <string>的其中一个改为 #include <string.h>
2. gene.cc:448:47: error: invalid conversionfrom 'const char*' to 'char*' [-fpermissive] 等类似问题
vi Common/gene.cc
将446行char * p 改成 const char * p
3. icm.cc:1986:51: error: invalid conversionfrom 'const char*' to 'char*' [-fpermissive]等类似问题
vi ICM/icm.cc
将1986行char * p 改成 const char * p
完成后,在bin目录下能够找到可执行文件