Comments (3)
The reason I do not want to revert to earlier version of python, is that I plan to use this from inside of Blender. Blender 4.1 comes shipped with python 3.11.7.
I already have a large addon created in the python API for blender, and would like to add proper VDB processing to it, which Blender currently does not have natively (unlike Maya).
from openvdb.
Closer investigation shows that this error actually occurs in the pybind11 dependency. The install instructions of OpenVDB says to get the standard pybind11 version through apt:
apt-get install pybind11-dev
I managed to fix the errors on my Ubuntu 22.04 system by building the latest pybind11 from source.
here is what I did:
sudo apt-get remove pybind11-dev
, if another version was added using apt.- install pybind11 from source, to get a version that supports newer versions of python. Repo here
- make certain to use cmake with the
-D Python_EXECUTABLE
path same as for the openVDB build - in the pybind11 cloned repo:
sudo make install
Have not tested openVDB python interface yet, so not sure if this will work, but seems promising. No more build errors.
Be aware that if you have other projects using pybind11, this might break those builds. A more robust solution would be to build pybind11 locally without installing, and then link it up with cmake.
from openvdb.
Closing this as it seems as though you managed to resolve your issue? Yes, using apt-get
assumes that you're installing all your dependencies through apt-get
as this is how the apt
repositories are configured; the set of software they provided is tested to work together. If you instead mix dependencies, such as a newer version of Python with those fromapt
, then your build solution is not guaranteed to work and you may find you need to also upgrade other dependencies too.
from openvdb.
Related Issues (20)
- [REQUEST] Provide C++20 range API for iteration HOT 4
- Obtain normal from NanoVDB's Level Set intersection (ZeroCrossing) HOT 2
- Will NeuralVDB be supported as part of this project?
- [REQUEST] Primitives for bottom-up traversal of a Tree HOT 2
- Get indices from leaf in nanovdb? HOT 2
- [BUILD] Tests fail with strict-aliasing violations
- [BUILD] Clang-Cl fails to build due to RootNode.h ValueT aliasing
- Encountering Error C2039 in CreateNanoGrid.h When Integrating NanoVDB with Visual Studio 2022[BUILD]
- Clarification on Read-Only Nature of NanoVDB: Scope and Future Possibilities for Writable Features
- [REQUEST] make nanoVDB CUDA async allocation optional so it can be used on vGPU HOT 1
- [BUILD] Build will fail on some 32-bit platforms, since configure does not check for a need for `libatomic` linking
- [BUILD] pyopenvdb install locatiion HOT 1
- [BUILD] OpenVDB fails to build with LLVM 18 HOT 1
- [BUILD] OpenVDB fails to build HOT 1
- [REQUEST] Make it possible to have a subset of externally built libraries for Blosc in FindBlosc.cmake
- [BUG] Square/Planar Artifacts While Volume Rendering NVDB Files Using Optix HOT 1
- [BUG] include/openvdb/TypeList.h uses std::tuple_size_v that isn't defined in C++ standards HOT 6
- meshToVolume slowdown? HOT 1
- [REQUEST] Link against specific Boost libraries rather than Boost::headers and Boost::boost
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 openvdb.