Entering edit mode
3.4 years ago
AndrMod
•
0
I am trying to install Plink on an Ubuntu 20.04.
My compilers are
- g++
- g++-9
- gcc
- gcc-9
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();
and
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.
Can you try installing it using
conda
? That should take care of all dependencies for you.Or even easier, download the pre-compiled binaries? https://zzz.bwh.harvard.edu/plink/download.shtml
You just saved my day
I don't know how to use
conda
, but thanks: I will give it a look. At least I'd have learned something more.Evetually I did't manage to install ia
conda
, but it's here on the laptop and someday will come in handy. Still thanks a lot!