Closed laurapalmer99 closed 4 years ago
The code by itself is not specific to mac or linux (even GDAL), but we never took the time to adjust for Windows.
It's a pity, but thanks for your reply. I was trying to install it on windows for hours and I couldn't find out how. so, good to know the answer. :)
If you are able to install boost on Windows, I believe you did 75% of the work. The rest is passing the --boost-location=$BOOST_ROOT
to the setup.py
script (and maybe installing the dependencies prior to that, see https://github.com/MPI-IS/mesh/blob/master/Makefile#L62)
I'll give it a try and consider installing Linux if it doen's work. thanks!
I've just created PR #34 which should fix the compilation on Windows with MSVC.
Could anybody take a look at the PR #34 which fixes the compilation on Win? @jcpassy , @raffienficiaud .
Hi @coloss , thanks a lot for your PR. We are not forgetting you. :) As soon as we have some time to allocate to this project, we will look into it. Cheers!
Hi, @laurapalmer99 ,do you install MPI-IS/mesh on windows successfully,could you give me some advice on installing it on windows?
I run part of this library in win10 with amd cpu.
Hi @zhangyux15 , In step 2 I get: ERROR: You must give at least one requirement to install (see "pip help install") Could you please check?
Thank you.
Hi @zhangyux15 , what should i have to give in this location ( --boost-location=xxxx\build\include\boost-1_74 ) ??
@olga-2020-Feb have you solve it?
Try this command to install:
psbody root > python setup.py install --boost-location
It works in my win11 system.
I run part of this library in win10 with amd cpu.
- First you need to build boost(run bootstrap.bat and b2.exe install prefix =xxxxx) and copy the include dir.
- Run "pip install --no-deps --install-option="--boost-location=xxxx\build\include\boost-1_74"" --verbose --no-cache-dir ."
- Run "python setup.py sdist"
- Run "python setup.py --verbose build_ext --boost-location=xxxx\build\include\boost-1_74 bdist_wheel"
- step 4 will raise error "can not find CGAL/AABB_tree.h" you need to copy "\build\temp.win-amd64-3.7\CGAL-4.7" to ".\build\temp.win-amd64-3.7\Release\CGAL-4.7" to fix the path problem
- Run Step4 again
- I found that building extension "visibility" will cause linking error, so I commented out the line 203 of setup.py
- Then you can install the package
Hi @zhangyux15 , when I run the step 4, I got some errors. Could you help me?
And here is my command: pip install --no-deps --config-settings="--boost-location=C:\local\boost\include\boost-1_73" --verbose --no-cache-dir .
Can I Install MPI-IS/mesh on windows?