Skip to content

Conversation

@radekd91
Copy link

@radekd91 radekd91 commented Apr 9, 2020

This PR enables installation of this package on Windows using MSVC compiler.

This involves two things:

  1. modification of the destination folder of setup.py into which CGAL will get unzipped, because MSVC expects it in a slightly different location
  2. modfiication of visibility.cpp to prevent linker errors on MSVC

The changes should not affect compilation on Linux and MacOS at all.

Copy link
Member

@jcpassy jcpassy left a 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>
Copy link
Member

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.


Testing
-------

Copy link
Member

@jcpassy jcpassy May 2, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants