Issue installing Plink
0
0
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.

Plink • 1.3k views
ADD COMMENT
1
Entering edit mode

Can you try installing it using conda? That should take care of all dependencies for you.

ADD REPLY
1
Entering edit mode

Or even easier, download the pre-compiled binaries? https://zzz.bwh.harvard.edu/plink/download.shtml

ADD REPLY
0
Entering edit mode

You just saved my day

ADD REPLY
0
Entering edit mode

I don't know how to use conda, but thanks: I will give it a look. At least I'd have learned something more.

ADD REPLY
0
Entering edit mode

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!

ADD REPLY

Login before adding your answer.

Traffic: 1613 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6