Code Monkey home page Code Monkey logo

Link error : undefined reference to `boost::program_options::options_description::options_description(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)' about boost-cpp-feedstock HOT 3 CLOSED

conda-forge avatar conda-forge commented on September 24, 2024
Link error : undefined reference to `boost::program_options::options_description::options_description(std::__cxx11::basic_string, std::allocator > const&, unsigned int, unsigned int)'

from boost-cpp-feedstock.

Comments (3)

jschueller avatar jschueller commented on September 24, 2024

likely you're trying to use another compiler than conda forge's with a different standard, moreover your boost version isnt even up to date.

from boost-cpp-feedstock.

rydrman avatar rydrman commented on September 24, 2024

The 1.65 version of boost was not built with the anaconda compilers and, more specifically against the old c++ (pre c++11) ABI and won't be compatible by new builds with gcc>5

You can set the _GLIBCXX_USE_CXX11_ABI macro to 0 in the new compilers, but this may cause the opposite issue with other dependencies. The alternative is to update to a newver version of boost (1.70+) so that it is compatible with the c++11 ABI

https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html

from boost-cpp-feedstock.

jakirkham avatar jakirkham commented on September 24, 2024

Closing as it sounds like this is not an issue with newer Boost packages

from boost-cpp-feedstock.

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.