Entering edit mode
7.8 years ago
TJay
•
0
Hi,
I'm trying to do some changes with the clustalw source code.I'm using Windows 8.1 and i installed MinGW with MSYS. But i was not able to run the main.cpp as there were some errors from that file. I tried from visual studio too. Same thing happen to me. So can some one explain the way to run this source code?
How did you try to compile that, your error report is not precise enough either.
In command prompt, the command and the error is as follows.
D:\clustalw-2.1\clustalw-2.1\src>g++ -o m main.cpp
In file included from interface/InteractiveMenu.h:15:0, from main.cpp:17: interface/../Clustal.h:15:22: fatal error: clustalw.h: No such file or directory #include "clustalw.h" ^ compilation terminated.
this is is the right way to run g++/gcc , but for VERY simple programs.
For complex program you need to add the path to the include files, the multiple source, preprocessing directives, some linking directives, etc... I suppose clustal comes with a Makefile. You'd better use this instead of trying to compile this by yourself.
Yep, use the makefile, also you need Cygwin, is it installed?
Yes.I installed Cygwin and run ./configure and then make command. After run make command i got some errors as,
I attached a snapshot of Cygwin window.
in Stats.cpp include the following line at the top of the file:
That's the problem. Thank you so much..