Giter Club home page Giter Club logo

Comments (7)

grenaud avatar grenaud commented on July 18, 2024

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

from deml.

schimar avatar schimar commented on July 18, 2024

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

from deml.

grenaud avatar grenaud commented on July 18, 2024

but do you have zlib within your conda env?

from deml.

schimar avatar schimar commented on July 18, 2024

yes, of course...

from deml.

grenaud avatar grenaud commented on July 18, 2024

you ran:
conda install -c anaconda zlib

from deml.

schimar avatar schimar commented on July 18, 2024

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

from deml.

grenaud avatar grenaud commented on July 18, 2024

ok I am really bad at conda, can you use the static bin for now?

from deml.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.