Coder Social home page Coder Social logo

Failed to compile on 'develop' about python HOT 3 CLOSED

boostorg avatar boostorg commented on August 18, 2024
Failed to compile on 'develop'

from python.

Comments (3)

stefanseefeld avatar stefanseefeld commented on August 18, 2024

Can you elaborate a bit what you mean by 'failed to compile' ? I'm on Fedora 23 (x86_64), and everything builds fine, both on the develop as well as the master branch.

What platform are you on (OS, compiler, etc.), what steps did you follow, and what is the exact failure you are observing ?

Thanks,

from python.

lynnboy avatar lynnboy commented on August 18, 2024

Sorry, this has been handled by pull request #43. You'd better apply that as a direct solution.
This has been caused by a change of boost::detail repository on develop branch, which removed the boost::detail::distance as a typedef of std::distance.
I'm using Cygwin for building Boost.

More details:
boost/detail/iterator.hpp was included indirectly through boost/iterator/iterator_traits.hpp and python/slices.hpp was using boost::detail::distance(). But at Sep 9, 2015 the inclusion within Boost.Iterator library has been cleaned away because of deprecation from Boost.Core for entire boost/iterator.hpp and boost/detail/iterator.hpp headers. This change was merged into Boost.Iterator's master branch, but has been reverted again at Oct 15, 2015. Thus Boost.Python can successfully build with Boost.Iterator with newest master branch, but compilation failure occurs on Boost.Iterator's develop branch.

from python.

stefanseefeld avatar stefanseefeld commented on August 18, 2024

#43 has just been merged. Closing...

from python.

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.