Skip to content

How do I build PyOpenVDB with Numpy support? #1149

Answered by nbartzokas
nbartzokas asked this question in Q&A
Discussion options

You must be logged in to vote

Ok I solved my own issue. (Isn't it always like 45 min after you post the question? 🤦‍♂️)

I used cmake -LA | grep -i numpy to find the USE_NUMPY cmake variable. Adding that along with the python module variable, -D OPENVDB_BUILD_PYTHON_MODULE=ON -D USE_NUMPY=ON built pyopenvdb with numpy support.

It might be helpful to add documentation about that variable in the build docs on openvdb.org

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@jhnnsrs
Comment options

Answer selected by nbartzokas
Comment options

You must be logged in to vote
1 reply
@jhnnsrs
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants