Closed evgueni-ovtchinnikov closed 3 years ago
Kris' commented:
@KrisThielemans: thanks a lot!
Fixed openmp and asio errors, do not quite get iterator_category stuff, sorry.
Found a workaround for iterators problem: just use dot
inherited from DataContainer instead of std::inner_product
.
looks sorted
This Winsock.h
error comes up for me. We probably have to define the WIN32_LEAN_AND_MEAN
variable at CMake level such that it's used everywhere
This issue was created by my mistake on ULS/STIR (issue 461), reproducing here now.
Building SIRF on my Windows 10 laptop I get:
Commenting out the two offendng #pragma omp, I get another error caused apparently by
NiftiImageData<dataType>::get_inner_product()
:After commenting out all occurences of
get_inner_product()
in C++, Matlab and Python, I finally managed to build all projects exceptSYN_TESTS_CPLUSPLUS
, which fails with this weird message:(even more weirdly, my Visual Studio solution does not even have this project in the Solution Explorer window - its name only appears in the Error List window). After that, at least all non-MR tests run ok except
SYN_TESTS_CPLUSPLUS
, which is skipped byctest
, andSYN_TEST_PYTHON
, which throws exception after about 7 sec.