Issue installing Plink


I am trying to install Plink on an Ubuntu 20.04.

My compilers are

In the Plink makefile, I only specified the g++ as CXX_UNIX*.

when I run make inside the proper folder, installation starts, the get aborted with the messages

sets.cpp:771:37: error: redeclaration of ‘std::vector<Individual*>::iterator i’
  771 |       vector<Individual*>::iterator i = PP->sample.begin();


sets.cpp:703:12: note: ‘int i’ previously declared here
703 |   for (int i=0; i<snpset.size(); i++)

Eventually it calls for an Error 1.

I don't know what's going on.

I also changed the makefile by indicating the full path of g++, but it does not solved the issue.

Ha someone any clue on it which can help?

I'd be very grateful.



before adding your answer.

Source link