theHamsta / volume2mesh

Voxelize meshes to volumes. Save meshes from volumes.
GNU General Public License v3.0
6 stars 1 forks source link

Can it be installed in windows #2

Open zeuswuwuwuwu opened 3 years ago

zeuswuwuwuwu commented 3 years ago

Can it be installed in windows? Thanks

theHamsta commented 3 years ago

Hello, it should be possible to install on Windows. The problem is that I've never set up a CMake build system for it so it will build automatically only on Linux.

If you have OpenVDB and OpenMesh installed on you computer, you could be able to build it by adapting the compiler flags in this file. You need to tell the compiler the include paths and link path of OpenVDB and OpenMesh by changing the header of this file:

https://github.com/theHamsta/volume2mesh/blob/612c580c39e69191495ce02e8ab91951e07e8c09/src/volume2mesh/internal/vdb_meshing.cpp#L1-L15

Maybe I have time to change the build system to CMake this weekend, this should make it easier to install on other platforms and I can also offer precompiled binaries.

zeuswuwuwuwu commented 3 years ago

Hello, it should be possible to install on Windows. The problem is that I've never set up a CMake build system for it so it will build automatically only on Linux.

If you have OpenVDB and OpenMesh installed on you computer, you could be able to build it by adapting the compiler flags in this file. You need to tell the compiler the include paths and link path of OpenVDB and OpenMesh by changing the header of this file:

https://github.com/theHamsta/volume2mesh/blob/612c580c39e69191495ce02e8ab91951e07e8c09/src/volume2mesh/internal/vdb_meshing.cpp#L1-L15

Maybe I have time to change the build system to CMake this weekend, this should make it easier to install on other platforms and I can also offer precompiled binaries.

thank you very much.