Giter VIP home page Giter VIP logo

Comments (7)

stevendflygare avatar stevendflygare commented on June 12, 2024

It looks like you need to install zlib and the gsl (gnu scientific library) prior to building. If you are on red hat / centos it should be as easy as yum install for both

from vvp-pub.

brentp avatar brentp commented on June 12, 2024

those are both installed. this builds fine for me with the same machine with clang, just not with gcc.

I noticed that you don't include, e.g. zlib.h in some of those files. I think that might be the culprit as newer versions of gcc are more strict about that.

from vvp-pub.

stevendflygare avatar stevendflygare commented on June 12, 2024

Huh. I just built with gcc v4.4.7 (older version of gcc) from scratch just to double check and it builds just fine. zlib.h is actually included in all of those files, it is included in vvp_headers.h which is in turn included by these files. If you have different compilers on the particular machine you are trying to build, are you sure zlib.h and the gsl header directory is in your compiler header search path?

from vvp-pub.

brentp avatar brentp commented on June 12, 2024

yeah. it's in /usr/include/ and as you can imagine, I build stuff that depends on zlib all the time with GCC. This is not a pressing issue as I got it to build with clang, just wanted to let you know.

from vvp-pub.

stevendflygare avatar stevendflygare commented on June 12, 2024

for sure, thanks for letting me know about this issue. I'll give the build a try on a system with gcc 5.4 and see if I can replicate the problem

from vvp-pub.

stevendflygare avatar stevendflygare commented on June 12, 2024

Hi Brent, I just pushed the solution to this build issue. I ended up writing a simple makefile (in place of cmake) and rearranged some of the arguments for gcc 5.4.0 and now its building great with gcc 5.4.0, 4.4.7 and with clang (after commenting out the -fopenmp flag). FWIW -- building with gcc 5.4.0 I was on an ubuntu machine and ended up installing zlib from source.

from vvp-pub.

brentp avatar brentp commented on June 12, 2024

thank you.

from vvp-pub.

Related Issues (12)

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.