compiling OpenVDB

54 views
Skip to first unread message

Juan Cristóbal Quesada

unread,
May 25, 2018, 3:05:34 AM5/25/18
to python_in...@googlegroups.com
Hi,
im trying to compile openvdb 5.1 in windows 10 with visual studio 2012 for maya 2017 and all the dependency libraries like openexr, ilmbase, zlib, etc. Im following some instructions from website after a quick google search but since there are so many intermediate steps this is exceeding me.
I have no prior experience with make files.

So far, i think i have been able to compile separately boost, ilmbase,tbb, zlib and openxr and now im stuck with the configuration of the make file of openvdb setting the environment which is specific to my machine.

A binary already compiled version would be helpful but i would prefer to learn how to compile this by myself.

Marcus Ottosson

unread,
May 25, 2018, 3:36:13 AM5/25/18
to python_in...@googlegroups.com
In my experience, this throws even the most hardened developer. So I wouldn't worry about feeling overwhelmed; it is overwhelming.

Perhaps if you start by sharing what steps you've done so far and what steps led you to the specific problem you're having at the moment, along with the exact error message and instructions you were following?

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CANOg8wXBBSJk0hWriwm3-n0Mr8cxDm3T6qE4_BuUVZVGas4wnQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Juan Cristóbal Quesada

unread,
May 28, 2018, 9:04:39 AM5/28/18
to python_in...@googlegroups.com
Hi Marcus,
i finally managed to compile and generate the openvdb.lib file.

Im stuck right now with the openvdb maya plugin.

I have compiled "make 3.8.1"  exe and im issueing the following command in a windows shell:

 <...>\openvdb_maya> make

the openvdb_maya has the following makefile configured by me with all the paths (see attached):


2018-05-25 9:36 GMT+02:00 Marcus Ottosson <konstr...@gmail.com>:
In my experience, this throws even the most hardened developer. So I wouldn't worry about feeling overwhelmed; it is overwhelming.

Perhaps if you start by sharing what steps you've done so far and what steps led you to the specific problem you're having at the moment, along with the exact error message and instructions you were following?
On 25 May 2018 at 08:05, Juan Cristóbal Quesada <juan.cri...@gmail.com> wrote:
Hi,
im trying to compile openvdb 5.1 in windows 10 with visual studio 2012 for maya 2017 and all the dependency libraries like openexr, ilmbase, zlib, etc. Im following some instructions from website after a quick google search but since there are so many intermediate steps this is exceeding me.
I have no prior experience with make files.

So far, i think i have been able to compile separately boost, ilmbase,tbb, zlib and openxr and now im stuck with the configuration of the make file of openvdb setting the environment which is specific to my machine.

A binary already compiled version would be helpful but i would prefer to learn how to compile this by myself.

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
Makefile

Juan Cristóbal Quesada

unread,
May 28, 2018, 9:05:59 AM5/28/18
to python_in...@googlegroups.com
sorry, here is the error im getting:




2018-05-28 15:04 GMT+02:00 Juan Cristóbal Quesada <juan.cri...@gmail.com>:
Hi Marcus,
i finally managed to compile and generate the openvdb.lib file.

Im stuck right now with the openvdb maya plugin.

I have compiled "make 3.8.1"  exe and im issueing the following command in a windows shell:

 <...>\openvdb_maya> make

the openvdb_maya has the following makefile configured by me with all the paths (see attached):

2018-05-25 9:36 GMT+02:00 Marcus Ottosson <konstr...@gmail.com>:
In my experience, this throws even the most hardened developer. So I wouldn't worry about feeling overwhelmed; it is overwhelming.

Perhaps if you start by sharing what steps you've done so far and what steps led you to the specific problem you're having at the moment, along with the exact error message and instructions you were following?

On 25 May 2018 at 08:05, Juan Cristóbal Quesada <juan.cri...@gmail.com> wrote:
Hi,
im trying to compile openvdb 5.1 in windows 10 with visual studio 2012 for maya 2017 and all the dependency libraries like openexr, ilmbase, zlib, etc. Im following some instructions from website after a quick google search but since there are so many intermediate steps this is exceeding me.
I have no prior experience with make files.

So far, i think i have been able to compile separately boost, ilmbase,tbb, zlib and openxr and now im stuck with the configuration of the make file of openvdb setting the environment which is specific to my machine.

A binary already compiled version would be helpful but i would prefer to learn how to compile this by myself.

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CANOg8wXBBSJk0hWriwm3-n0Mr8cxDm3T6qE4_BuUVZVGas4wnQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscribe@googlegroups.com.

Juan Cristóbal Quesada

unread,
May 28, 2018, 10:01:19 AM5/28/18
to python_in...@googlegroups.com
Ok, i found out.

The "rm" command is a linux command so thats what it s not finding.
So i will use the git bash shell to run the make command.... but then i got an error saying "g++ command not found"....

Since im trying to compile a linux project with its makefile from windows and i dont have a CMakeLists.txt to be used with CMake i was wondering if it's possible to specify to Git Bash my Visual Studio Compiler instead of g++.

Also, im open to discuss the best way to achieve this task.
Reply all
Reply to author
Forward
0 new messages