dpryan79 / MethylDackel

A (mostly) universal methylation extractor for BS-seq experiments.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation failure: "bigWig.h: No such file or directory"

phongphak opened this issue · comments

Hi,

I'm trying to install MethylDackel on my server. However, I got the following error message when running make LIBBIGWIG="/some/path/to/libBigWig.a" :

echo '#define VERSION "0.5.3"' > version.h
cc -c -Wall -g -O3 -pthread  -IlibBigWig common.c -o common.o
In file included from common.c:1:
MethylDackel.h:6:10: fatal error: bigWig.h: No such file or directory
    6 | #include "bigWig.h"
      |          ^~~~~~~~~~
compilation terminated.
Makefile:20: recipe for target 'common.o' failed
make: *** [common.o] Error 1

libBigWig is already installed and I also have checked that "bigWig.h" is in the libBigWig directory. So could you please help me complete the installation.

Thank you

Add the appropriate "-Ipath/to/headers" into the CFLAGS variable. Alternatively, just install via conda and then you don't have to deal with any of this.