Skip to content
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

DRP_ENABLE_DOWNLOADING doesn't work well if BOOST_ROOT already exists in the environment #20

Open
konskarm opened this issue Oct 13, 2020 · 1 comment

Comments

@konskarm
Copy link

OS: Windows 10

When building libnest2d with the -DRP_ENABLE_DOWNLOADING=ON tag, if the BOOST_ROOT is set in the environment, CMake identifies it and does not download and build boost itself. As a result, when using libnest2d (in this case through pynest2d) libnest2d complains that it cannot find boost/geometry.hpp because it looks for the boost headers in its dependencies (libnest2d\build\dependencies), where CMake downloaded Clipper & NLopt but skipped boost.

The workaround of course is to temporarily set BOOST_ROOT in the cmd where this is being built, but it is not ideal since if you already have boost it will try to download and build it again.

Would it be possible to modify the build process to properly look in the BOOST_ROOT if it already exists in the environment?

@tamasmeszaros
Copy link
Owner

Might be fixed now. Please report if the issue persists.

@tamasmeszaros tamasmeszaros reopened this Mar 25, 2021
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

No branches or pull requests

2 participants