wyp1125 / MCScanX

MCScanX: Multiple Collinearity Scan toolkit X version. The most popular synteny analysis tool in the world!
http://chibba.pgml.uga.edu/mcscan2/
232 stars 60 forks source link

Issues during installation #74

Open AlbertoBernacchi opened 7 months ago

AlbertoBernacchi commented 7 months ago

I'm having this error, please help me fix this. Thank you all

mcscan.cc:140:26: warning: ‘.collinearity’ directive writing 13 bytes into a region of size between 1 and 200 [-Wformat-overflow=] 140 | sprintf(align_fn, "%s.collinearity", prefix_fn); | ^~~~~ mcscan.cc:140:12: note: ‘sprintf’ output between 14 and 213 bytes into a destination of size 200 140 | sprintf(align_fn, "%s.collinearity", prefix_fn); | ~^~~~~~~~~~ g++ struct.cc mcscan_h.cc read_homology.cc out_homology.cc dagchainer.cc msa.cc permutation.cc -o MCScanX_h mcscan_h.cc: In function ‘int main(int, char**)’: mcscan_h.cc:156:26: warning: ‘.collinearity’ directive writing 13 bytes into a region of size between 1 and 200 [-Wformat-overflow=] 156 | sprintf(align_fn, "%s.collinearity", prefix_fn); | ^~~~~ mcscan_h.cc:156:12: note: ‘sprintf’ output between 14 and 213 bytes into a destination of size 200 156 | sprintf(align_fn, "%s.collinearity", prefix_fn); | ~^~~~~~~~~~

jnmaloof commented 2 months ago

Those look like warning messages, it might work anyway, did you try it? What is the final output line after after running make? If it doesn't say "Error" you are probably okay.