Giter Club home page Giter Club logo

Comments (8)

jts avatar jts commented on July 23, 2024

Did you use the same compiler/machine to build libhts as bri?

from bri.

DrOllyGomez avatar DrOllyGomez commented on July 23, 2024

I believe so, yes.

from bri.

DrOllyGomez avatar DrOllyGomez commented on July 23, 2024

1)When trying to make bri, I pointed at the htslib found in nanopolish's install directory.
2)It's possible/probable that I ran the make of nanopolish with the "HDF5=noinstall, EIGEN=noinstall or HTS=noinstall" since I share the machine with others and there was a comment on the nanopolish page about "Some users however may want to use system-wide versions of the libraries".
Is this relevant/connected/the cause? Many thanks in advance

from bri.

jts avatar jts commented on July 23, 2024

It looks like libhts compiled, since you get symbol undefined errors instead of a file-not-found error. The symbols that it is complaining about should be provided by -lz and -lpthread so I'm not sure what the problem is.

from bri.

jts avatar jts commented on July 23, 2024

Can you try running this command:

cc -o bri -O3 -std=c99 -fsigned-char -D_FILE_OFFSET_BITS=64 -g -I/home/mike.harbour/nanopolish/htslib/ -fPIC src/bri_index.o src/bri_main.o src/bri_test.o src/bri_get.o /home/mike.harbour/nanopolish/htslib/libhts.a -lpthread -lz

from bri.

DrOllyGomez avatar DrOllyGomez commented on July 23, 2024

ran that command, completed ok, no errors reported. I have an executable bri now, which gives....
prompt:/bri/bri$ ./bri
[bri] usage bri [...]
prompt:
/bri/bri$

...will test it.... but... Many Thanks!

from bri.

DrOllyGomez avatar DrOllyGomez commented on July 23, 2024

er... there was some strange strikethroughs added there that shouldnt have been, that wasnt me, it was github :)

from bri.

jts avatar jts commented on July 23, 2024

Thanks, the problem was the order that the libraries were linked in. I have fixed this in the Makefile.

from bri.

Related Issues (1)

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.