Open schimar opened 1 year ago
Hi Martin, My apologies that you're having problems compiling! I I just compiled the program and it compiled fine. I I think the disconnect is from the version of C++:
$ cmake --version cmake version 3.16.3
CMake suite maintained and supported by Kitware (kitware.com/cmake). $g++ --version g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Can you either downgrade g++ to 9 or use the static binary?
Gabriel
Hi Gerard,
thanks for your quick response!
I created a conda env with cmake==3.16.3 & g++==9.4.0. In there, I do seem to get further, but eventually am getting the infamous zlib.h error:
[ 1%] Building CXX object src/api/CMakeFiles/BamTools.dir/internal/io/BgzfStream_p.cpp.o
/home/schimar/bio/deML/bamtools/src/api/internal/io/BgzfStream_p.cpp:20:10: fatal error: zlib.h: No such file or directory
I definitely have zlib1g-dev installed, but I'm not the best when it comes to C/C++. Do you know if I can tell make where to look for zlib.h? (/usr/include/zlib.h)
Thanks a lot & all the best, Martin
but do you have zlib within your conda env?
yes, of course...
you ran: conda install -c anaconda zlib
I ran
mamba env create -f env.yaml
with the following (env.yaml):
name: deML
channels:
- conda-forge
- bioconda
- anaconda
dependencies:
- gxx==9.4.0
- cmake==3.16.3
- zlib
ok I am really bad at conda, can you use the static bin for now?
Hi Gerard,
I was hoping to use deML to recover reads from the undetermined*.fastq.gz, after running bcl2fastq2. On Ubuntu 22.04 (with git 2.34.1 & cmake 3.22.1), I get the following, when running make:
Thanks for your help! All the best, Martin