GithubHelp home page GithubHelp logo

Installation Error about libbf HOT 3 CLOSED

mavam avatar mavam commented on August 25, 2024
Installation Error

from libbf.

Comments (3)

mavam avatar mavam commented on August 25, 2024

Thanks for reporting the issue. It looks like an issue with your standard library setup:

      non-constexpr function 'max' cannot be used in a constant expression
    std::numeric_limits<unsigned char>::max() + 1;

The standard says that std::numeric_limits<T>::max is constexpr since C++11. How did you install Clang 3.3? I currently use 3.2 for development, which ships with XCode.

It looks like your include paths prioritize /usr/include/c++/ although your compiler executable resides in /usr/local/bin. Did you export a CXX environment variable prior to configuring? I.e., export CXX=$(which clang++).

Also, it's a good idea to add --enable-debug to the configure script command line since the rewrite has not yet seen extensive testing.

from libbf.

zonpantli avatar zonpantli commented on August 25, 2024

@Some3141 updating from Xcode 4.6.3 to Xcode 5 DP4 and sudo xcode-select -switch /Applications/Xcode5-DP4.app/ solved this problem for me.

from libbf.

soumyabasu avatar soumyabasu commented on August 25, 2024

@zonpantli: Thanks a lot for the tip! I tried it with DP5, but that didn't quite work for me.

What ended up happening was that I removed llvm's version of clang and then re-ran the install script. It currently works now.

from libbf.

Related Issues (20)

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.