-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/msvc_compilation #34
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @coloss ,
the Windows build works great, thanks. However, some unit tests seem to be failing. Could you please address these? Once it has been done and the README updated, we will be happy to accept the PR. Cheers!
|
||
The makefile will not work on Windows with MSVC. Not tested with neither CygWin nor MinGw. Execute the following instead: | ||
``` | ||
python setup.py install boost-location=<path_to_your_boost> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The hyphens before the argument are missing.
``` | ||
python setup.py install boost-location=<path_to_your_boost> | ||
``` | ||
|
||
Testing | ||
------- | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also add instructions on how to run the tests and build the documentation on Windows.
This PR enables installation of this package on Windows using MSVC compiler.
This involves two things:
setup.py
into which CGAL will get unzipped, because MSVC expects it in a slightly different locationvisibility.cpp
to prevent linker errors on MSVCThe changes should not affect compilation on Linux and MacOS at all.