fgvieira / ngsLD

Calculation of pairwise Linkage Disequilibrium (LD) under a probabilistic framework
GNU General Public License v2.0
43 stars 7 forks source link

Installation error: fatal error: gsl/gsl_rng.h: No such file or directory #12

Closed debjyoti88 closed 4 years ago

debjyoti88 commented 4 years ago

Hi @fgvieira, I am trying to install ngsLD in Ubuntu 18.04 and having the following error while running the

Makefile:
make
g++ -I./shared -I/opt/anaconda1anaconda2anaconda3/include -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -c ./shared/gen_func.cpp
In file included from ./shared/gen_func.cpp:1:0:
./shared/gen_func.hpp:12:10: fatal error: gsl/gsl_rng.h: No such file or directory
 #include <gsl/gsl_rng.h>
          ^~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:20: gen_func.cpp] Error 1

I tried the solutions you suggested over here. But none of them work. Could you please help me in the installation?

Thank you.

debjyoti88 commented 4 years ago

Hi,

I was able to solve this issue by setting the library paths.

Best,

Debjyoti

jgpeniche commented 4 years ago

Hi,

I was able to solve this issue by setting the library paths.

Best,

Debjyoti

Hi! I'm getting the same error, I'm very new to this topic. I'm working in windows 10 and RStudio, would you be so kind of elaborating on how do I set library paths please?

Thanks in advance for your time!

fgvieira commented 4 years ago

Hi @jgpeniche,

you need to install GNU Scientific Library but I have never tried to do it on Windows. Also, ngsLD has only been tested on Linux and not sure how it will behave on Windows.

best,

debjyoti88 commented 4 years ago

Hi guys,

I'm probably not the intended recipient of this email chain. You might want to remove me and add the intended recipient.

Good luck with the installation, nonetheless :)

Best, Debjyoti.

On Tue, Mar 3, 2020, 10:24 PM Filipe G. Vieira notifications@github.com wrote:

Hi @jgpeniche https://github.com/jgpeniche,

you need to install GNU Scientific Library https://www.gnu.org/software/gsl/ but I have never tried to do it on Windows. Also, ngsLD has only been tested on Linux and not sure how it will behave on Windows.

best,

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/fgvieira/ngsLD/issues/12?email_source=notifications&email_token=AFRGWZTSUSGXCQAR64FFPHLRFUHIDA5CNFSM4J6VIF4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENTVZEI#issuecomment-593976465, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFRGWZXMCCS5H6TKWZ4DTWTRFUHIDANCNFSM4J6VIF4A .