Closed bhaveshbiotechnology closed 4 years ago
I did make to install MCScanX and stuck in this problem...........please help........... I am using corei7, ubuntu 14.04
g++ struct.cc mcscan.cc read_data.cc out_utils.cc dagchainer.cc msa.cc permutation.cc -o MCScanX g++ struct.cc mcscan_h.cc read_homology.cc out_homology.cc dagchainer.cc msa.cc permutation.cc -o MCScanX_h g++ struct.cc dup_classifier.cc read_data.cc out_utils.cc dagchainer.cc cls.cc permutation.cc -o duplicate_gene_classifier g++ dissect_multiple_alignment.cc -o downstream_analyses/dissect_multiple_alignment dissect_multiple_alignment.cc: In function ‘int main(int, char**)’: dissect_multiple_alignment.cc:252:44: error: ‘getopt’ was not declared in this scope while ((c = getopt(argc, argv, "g:c:o:")) != -1) ^ dissect_multiple_alignment.cc:257:32: error: ‘optarg’ was not declared in this scope sprintf(gpath,"%s",optarg); ^ dissect_multiple_alignment.cc:269:17: error: ‘optopt’ was not declared in this scope if (optopt!='g' || optopt!='c' || optopt!='o') ^ make: *** [mcscanx] Error 1
I did make to install MCScanX and stuck in this problem...........please help........... I am using corei7, ubuntu 14.04
g++ struct.cc mcscan.cc read_data.cc out_utils.cc dagchainer.cc msa.cc permutation.cc -o MCScanX g++ struct.cc mcscan_h.cc read_homology.cc out_homology.cc dagchainer.cc msa.cc permutation.cc -o MCScanX_h g++ struct.cc dup_classifier.cc read_data.cc out_utils.cc dagchainer.cc cls.cc permutation.cc -o duplicate_gene_classifier g++ dissect_multiple_alignment.cc -o downstream_analyses/dissect_multiple_alignment dissect_multiple_alignment.cc: In function ‘int main(int, char**)’: dissect_multiple_alignment.cc:252:44: error: ‘getopt’ was not declared in this scope while ((c = getopt(argc, argv, "g:c:o:")) != -1) ^ dissect_multiple_alignment.cc:257:32: error: ‘optarg’ was not declared in this scope sprintf(gpath,"%s",optarg); ^ dissect_multiple_alignment.cc:269:17: error: ‘optopt’ was not declared in this scope if (optopt!='g' || optopt!='c' || optopt!='o') ^ make: *** [mcscanx] Error 1