Comments (14)
I could make an effort on fixing this issue if nobody else has free time to devote to resolving this...
from python.
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.
Any help on this would be greatly appreciated. We're kind of at a loss ATM.
from python.
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 install
routine.
from python.
Yeah, sorry, we just realized we had it backwards earlier.
So what sort of change would we be looking at?
from python.
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.
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.
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.
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.
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.
So I guess this should be fixed by PR ( #110 ). Will try to test this and let you know how it goes.
from python.
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.
It seems to work correctly!
from python.
from python.
Related Issues (20)
- Confusion over boost::python installation and example/tutorial instructions HOT 3
- Confusion about using Faber to Build HOT 2
- Boost Python Tutorial contains broken link to Python Tutorial HOT 2
- boost::python::to_python_value<bool const&> generates stack-buffer-overflow in address sanitizer HOT 1
- Indexing suite HOT 1
- Base class of non exposed derived class in Python side?
- Ask how to add documentation comments to constants
- warning: missing field 'tp_version_tag' initializer [-Wmissing-field-initializers]
- `no_proxy_helper` should not access `Container::value_type`
- Boost.Python doesn't build under MSVC... HOT 4
- NULL ptr deref in instance_dealloc
- About `No Python class registered for C++ class`,throw errors. HOT 1
- Is it possible to programmatically retrieve C++ class name / Python class name mapping ? HOT 1
- __qualname__ on embedded/inner classes is wrong
- Outdated reference to bjam in examples dir
- Broken URL in build/Jamfile HOT 2
- Qt binding to python - undefined symbol HOT 2
- Compilation failure using numpy 2.0.0b1 HOT 4
- Is Boost.Python is bound to specific python version? HOT 1
- Jupyter Kernel Notebook Dies After Starting Threaded Class HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python.