alecjacobson / gptoolbox

Matlab toolbox for Geometry Processing.
MIT License
628 stars 166 forks source link

Install this toolbox on win10 #129

Open yuhanliu0121 opened 2 years ago

yuhanliu0121 commented 2 years ago

well, this is not really a issue of the code. It takes me almost 1 week to get this toolbox successfully installed on win10, which is such a pain.

I am using win10. I would suggest win10 people to use Anaconda for easier package management. It is able to manage more than python package but c++ package as well. Anaconda will take care of downloading, building and version compatibility of the c++ packages needed for this toolbox.

To install this project, a win10 user would need cmake, boost, lapack and blas. Try the following command in your anaconda virtual environment

conda install -c anaconda cmake conda install -c conda-forge boost conda install -c conda-forge lapackpp conda install -c conda-forge blaspp

Once they are successfully installed, go to the windows part of this tutorial and start at step 7.

If you are in China, you are likely to find error like "unable to access 'https://github.com/xxxxx':" when cmake is trying to download dependency. To solve it, you need to configure Git to use a proxy because, unlike your browser, git will not automatically use proxy for downloading.

oaishi commented 2 years ago

This was really life-saving! Thanks @yuhanliu0121!

ruddwi commented 1 year ago

@yuhanliu0121 I tried to use this method, but when I got to step 9 on the installation guide I found that there was no libigl folder in C:\dev\gptoolbox\mex\external.