xavierdidelot / ClonalFrameML

ClonalFrameML: Efficient Inference of Recombination in Whole Bacterial Genomes
GNU General Public License v3.0
109 stars 27 forks source link

How to solve problems about "makefile", Thanks a lot! #128

Closed nolan12333 closed 2 years ago

nolan12333 commented 2 years ago

Dear, When I install this the most up to date version of ClonalFrameML by downloading and compiling the C++ source code via GIT using the command: (base) [xxnolan@fat src]$ make g++ -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /data1/xqzang/miniconda3/include -O3 -c -o main.o main.cpp g++: 错误:unrecognized command line option ‘-fno-plt’ make: *** [makefile:15: main.o] Error 1

How to solve it? Thanks a lot!

xavierdidelot commented 2 years ago

Could you please try to compile with the following command g++ main.cpp -o ClonalFrameML -O3

nolan12333 commented 2 years ago

Could you please try to compile with the following command g++ main.cpp -o ClonalFrameML -O3

Thanks a lot, it was solved! Thanks 😄