mahulchak / svmu

A program to call variants from genome alignment
GNU General Public License v3.0
75 stars 18 forks source link

the make problem #18

Open ghost opened 3 years ago

ghost commented 3 years ago

Hello, when I use make command, some errors appearred, like [-Wsign-compare] and [-Wunused-variable] as following: "g++ -g -Wall -std=c++0x -c svlib.cpp svlib.cpp: In function ‘void findInnie(std::vector&, mI&)’: svlib.cpp:39:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while((mi.x2 > mums[i].x1) && (i<mums.size())) svlib.cpp:339:29: warning: unused variable ‘Dist’ [-Wunused-variable] double d1 =0, d2 =0, d = 0,Dist= 0,rd2=0,rd=0;" what should I do? Thanks for your attention.

mahulchak commented 3 years ago

I think those are just warnings. I don't see any error. I think svmu compiled. Try ./svmu in that directory

On Tue, Sep 15, 2020, 22:40 yellowq2019 notifications@github.com wrote:

Hello, when I use make command, some errors appearred, like [-Wsign-compare] and [-Wunused-variable] as following: "g++ -g -Wall -std=c++0x -c svlib.cpp svlib.cpp: In function ‘void findInnie(std::vector&, mI&)’: svlib.cpp:39:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while((mi.x2 > mums[i].x1) && (i<mums.size())) svlib.cpp:339:29: warning: unused variable ‘Dist’ [-Wunused-variable] double d1 =0, d2 =0, d = 0,Dist= 0,rd2=0,rd=0;" what should I do? Thanks for your attention.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mahulchak/svmu/issues/18, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZQH2DBKGNT6QB3A76PWELSGBFVFANCNFSM4ROIMVVA .

ghost commented 3 years ago

thanks a lot, yes, you are right, it has been complied, but when I run the following command "svmu ref_qry_ebv.delta refer.fasta contigs.fasta l ebv", it still printed the error as following: "terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_M_construct null not valid Aborted (core dumped)"