Open ivivyfei opened 8 years ago
I have the same error, I haven't a solution, Please can you help me
I used 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 no problem, 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 and have some solutions?
I compiled the libnabo follow the instructions. And errors occured as following:
Error in Cmake: CMake Error at tests/CMakeLists.txt:95 (message): Compiling a test executable failed. Call Stack (most recent call first): tests/CMakeLists.txt:105 (try_compile_cloud_types)
_I read about the error log, and I found the error that "unistd.h" can't be found. _ CheckSymbolExists.c(2): fatal error C1083: 无法打开包括文件:“unistd.h”: No such file or directory [D:\libnabo\build\CMakeFiles\CMakeTmp\cmTC_f5390.vcxproj]
File D:/libnabo/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */
include
include
int main(int argc, char\ argv) { (void)argv;
ifndef _POSIX_TIMERS
return ((int*)(&_POSIX_TIMERS))[argc];
else
(void)argc; return 0;
endif
}