Coder Social home page Coder Social logo

Comments (14)

SPKorhonen avatar SPKorhonen commented on August 18, 2024 2

I could make an effort on fixing this issue if nobody else has free time to devote to resolving this...

from python.

jakirkham avatar jakirkham commented on August 18, 2024

I think the link to the log got lost. Linked below.

Note: This seems to happen with all Boost.Python builds on Windows, but not on Unix.

ref: https://ci.appveyor.com/project/conda-forge/boost-feedstock/build/1.0.97

from python.

jakirkham avatar jakirkham commented on August 18, 2024

Any help on this would be greatly appreciated. We're kind of at a loss ATM.

from python.

jhunold avatar jhunold commented on August 18, 2024

It is the other way round. Building the shared libraries fails as the missing lib-prefix indicates the shared library. This is no wonder as the necessary dllexport/-import magic is completely missing from Boost.Numpy. The msvc linker thus refuses to create the empty boost_numpy-vc90-mt-1_63.lib stub which is needed by the installroutine.

from python.

jakirkham avatar jakirkham commented on August 18, 2024

Yeah, sorry, we just realized we had it backwards earlier.

So what sort of change would we be looking at?

from python.

XWarin avatar XWarin commented on August 18, 2024

Hi !

I stumbled on that issue yesterday trying to get rid of the old (independent) boost numpy.
Is this there something scheduled to correct this dynamic link problem ?
Best regards

from python.

SPKorhonen avatar SPKorhonen commented on August 18, 2024

I also stumbled onto this problem when trying to update boost to 1.63 to get rid of separate boost::numpy dependency.

The problem is that, at least on windows, numpy generates empty shared libraries (the dll is generated but exports no symbols). This is due to the windows dll default settings. Everything that is not explicitly exported is private. As @jhunold stated the numpy is missing dllexport/-import magic words. I think that liberal sprinkling of BOOST_PYTHON_DECL before all symbols that are to be exported would help.

from python.

XWarin avatar XWarin commented on August 18, 2024

Hi

It would be a good idea. I don't use much windows and i only port my work from linux.
Right now when on windows i still recompile the old boost numpy.
Best regards

from python.

jakirkham avatar jakirkham commented on August 18, 2024

Seconding @XWarin. Some of us have limited knowledge of building on Windows and/or time to devote to this. As it sounds like you have both knowledge and time, @SPKorhonen, I'd say go for it. We would be very appreciative. Can help test patches if you would like.

from python.

stefanseefeld avatar stefanseefeld commented on August 18, 2024

I have just posted a PR at #108 in an attempt to fix this. I'd appreciate if someone could confirm, before I merge.

from python.

jakirkham avatar jakirkham commented on August 18, 2024

So I guess this should be fixed by PR ( #110 ). Will try to test this and let you know how it goes.

from python.

dolfim avatar dolfim commented on August 18, 2024

We added the patch to the conda-forge package. Now it will try building here: https://ci.appveyor.com/project/conda-forge/boost-feedstock/build/1.0.109

Thanks a lot for the patch.

from python.

dolfim avatar dolfim commented on August 18, 2024

It seems to work correctly!

from python.

XWarin avatar XWarin commented on August 18, 2024

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.