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

Generate erros with cmake 3.22.5, VS2019 and boost 1.80, eigen 3.4.0 #124

Open
fengweichangzi opened this issue Sep 1, 2022 · 2 comments

Comments

@fengweichangzi
Copy link

I tried cmake 3.22.5 with VS2019 and got the following info when doing cmake configurate

OpenCL disabled, not looking for it
ANN not found, disabling it in benchmarks
FLANN not found, disabling it in benchmarks
Python version from interpreter is 3.9.9
Python libs and executable found, looking for numpy and boost::python
CMake Warning at D:/Program Files/cmake-3.22.5-windows-x86_64/share/cmake-3.22/Modules/FindBoost.cmake:1384 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  D:/Program Files/cmake-3.22.5-windows-x86_64/share/cmake-3.22/Modules/FindBoost.cmake:1507 (_Boost_COMPONENT_DEPENDENCIES)
  D:/Program Files/cmake-3.22.5-windows-x86_64/share/cmake-3.22/Modules/FindBoost.cmake:2117 (_Boost_MISSING_DEPENDENCIES)
  python/CMakeLists.txt:46 (find_package)

numpy and boost::python found, generating python bindings
Configuring done

Looks like everything OK, but when I tried to generate, I got the errors as follows:


CMake Error in CMakeLists.txt:
  Evaluation file to be written multiple times with different content.  This
  is generally caused by the content evaluating the configuration type,
  language, or location of object files:

   D:/libpointmatcher/buildlibnabo107/libnaboConfig.cmake

Did anyone have the same errors? Could someone give some advice? I have no idea

@fengweichangzi
Copy link
Author

fengweichangzi commented Sep 1, 2022

Well, it is interesting. When I switched the source files to master source, those mentioned errors disappeared.

@fengweichangzi
Copy link
Author

When I tried to compile the project, I got some errors from pynabo modeule.
So, I reduced the cmake configiration this time, then everything is OK.
图片

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

1 participant