panlab-bioinfo / RAfilter

A filter algorithm with program to filter an alignment or mapping file
MIT License
10 stars 0 forks source link

kmerfind4.cpp:258:21: 错误:可变大小的对象‘mask’不能被初始化 #4

Open yaoyuan0729 opened 2 months ago

yaoyuan0729 commented 2 months ago

安装过程中出现如下报错: make g++ -Wl,--rpath=/work/user/yaoy/biosoft/RAfilter/src/htslib/ --std=c++11 -L htslib/ -lhts -static-libstdc++ -I htslib/htslib/ -lpthread -c -o main.o main.cpp g++ -Wl,--rpath=/work/user/yaoy/biosoft/RAfilter/src/htslib/ --std=c++11 -L htslib/ -lhts -static-libstdc++ -I htslib/htslib/ -lpthread -c -o kmerfind4.o kmerfind4.cpp kmerfind4.cpp: 在函数‘int build_pos(const char*, std::string, bool, int, int)’中: kmerfind4.cpp:258:21: 错误:可变大小的对象‘mask’不能被初始化 bool mask[t2]={0}; ^ make: *** [: kmerfind4.o] Error 1

yaoyuan0729 commented 2 months ago

我下载了最新版的RAfilter,没有这个报错了