nmwsharp / geometry-central

Applied 3D geometry in C++, with a focus on surface meshes.
https://geometry-central.net
MIT License
1.06k stars 147 forks source link

Suitesparse is notoriously difficult to install on Windows—if you find a good method, let us know! #93

Open petrasvestartas opened 3 years ago

petrasvestartas commented 3 years ago

According to the documentation you are using Suitesparse.

Is there any documentation on how to properly to link / compile Suitesparse for windows?

MathSigmamu commented 3 years ago

I found an easy method!! If you use VCPKG you can just use the command line to download and compile in one go !!

brogall commented 3 years ago

I was able to compile using the "cmake" branch of this repo: https://github.com/sergiud/SuiteSparse which appears to be up to date with the current SuiteSparse. One thing to note is that the author of SuiteSparse strongly recommends using Intel MKL for BLAS. So my method was: 1 - install Intel MKL (as part of Intel OneAPI). 2 - run setvars.bat from OneAPI and run CMake from that environment. 3 - build METIS (which didn't seem to build from the top level cmakelists). 4 - build SuiteSparse.

I am curious as to which of the SuiteSparse libraries are used by Geometry Central and how much improvement it gives.

lfyMeta commented 1 year ago

Personally, I actually haven't found cause to use any of the packaged matrix libraries that go with geometry central---the basic Vector3 struct it provides for vertex positions is quite enough, and for things that go beyond that I prefer to use my own matrix / numerical libraries.

Could it be a good idea to package up a sort of "minimal" geometry-central that pretty much only includes the manifold surface mesh and the mesh elements themselves?