Closed LaurentBerger closed 6 hours ago
Hi, this is likely caused by a Windows or other header defining min/max. #define NOMINMAX
beforehand should fix that, but we can also work around it by using HWY_MIN instead.
thanks it works now with pr
-- Install configuration: "release"
-- Installing: C:/install/hwy/lib/hwy.lib
-- Installing: C:/install/hwy/include/hwy/abort.h
-- Installing: C:/install/hwy/include/hwy/aligned_allocator.h
-- Installing: C:/install/hwy/include/hwy/base.h
-- Installing: C:/install/hwy/include/hwy/cache_control.h
-- Installing: C:/install/hwy/include/hwy/detect_compiler_arch.h
-- Installing: C:/install/hwy/include/hwy/detect_targets.h
-- Installing: C:/install/hwy/include/hwy/foreach_target.h
-- Installing: C:/install/hwy/include/hwy/highway_export.h
-- Installing: C:/install/hwy/include/hwy/highway.h
-- Installing: C:/install/hwy/include/hwy/nanobenchmark.h
-- Installing: C:/install/hwy/include/hwy/ops/arm_neon-inl.h
-- Installing: C:/install/hwy/include/hwy/ops/arm_sve-inl.h
-- Installing: C:/install/hwy/include/hwy/ops/emu128-inl.h
-- Installing: C:/install/hwy/include/hwy/ops/generic_ops-inl.h
-- Installing: C:/install/hwy/include/hwy/ops/inside-inl.h
-- Installing: C:/install/hwy/include/hwy/ops/ppc_vsx-inl.h
-- Installing: C:/install/hwy/include/hwy/ops/rvv-inl.h
-- Installing: C:/install/hwy/include/hwy/ops/scalar-inl.h
-- Installing: C:/install/hwy/include/hwy/ops/set_macros-inl.h
-- Installing: C:/install/hwy/include/hwy/ops/shared-inl.h
-- Installing: C:/install/hwy/include/hwy/ops/wasm_128-inl.h
-- Installing: C:/install/hwy/include/hwy/ops/x86_128-inl.h
-- Installing: C:/install/hwy/include/hwy/ops/x86_256-inl.h
-- Installing: C:/install/hwy/include/hwy/ops/x86_512-inl.h
-- Installing: C:/install/hwy/include/hwy/per_target.h
-- Installing: C:/install/hwy/include/hwy/print-inl.h
-- Installing: C:/install/hwy/include/hwy/print.h
-- Installing: C:/install/hwy/include/hwy/profiler.h
-- Installing: C:/install/hwy/include/hwy/robust_statistics.h
-- Installing: C:/install/hwy/include/hwy/targets.h
-- Installing: C:/install/hwy/include/hwy/timer-inl.h
-- Installing: C:/install/hwy/include/hwy/timer.h
-- Installing: C:/install/hwy/lib/hwy_contrib.lib
-- Installing: C:/install/hwy/include/hwy/contrib/bit_pack/bit_pack-inl.h
-- Installing: C:/install/hwy/include/hwy/contrib/dot/dot-inl.h
-- Installing: C:/install/hwy/include/hwy/contrib/image/image.h
-- Installing: C:/install/hwy/include/hwy/contrib/math/math-inl.h
-- Installing: C:/install/hwy/include/hwy/contrib/matvec/matvec-inl.h
-- Installing: C:/install/hwy/include/hwy/contrib/random/random-inl.h
-- Installing: C:/install/hwy/include/hwy/contrib/sort/order.h
-- Installing: C:/install/hwy/include/hwy/contrib/sort/shared-inl.h
-- Installing: C:/install/hwy/include/hwy/contrib/sort/sorting_networks-inl.h
-- Installing: C:/install/hwy/include/hwy/contrib/sort/traits-inl.h
-- Installing: C:/install/hwy/include/hwy/contrib/sort/traits128-inl.h
-- Installing: C:/install/hwy/include/hwy/contrib/sort/vqsort-inl.h
-- Installing: C:/install/hwy/include/hwy/contrib/sort/vqsort.h
-- Installing: C:/install/hwy/include/hwy/contrib/thread_pool/futex.h
-- Installing: C:/install/hwy/include/hwy/contrib/thread_pool/thread_pool.h
-- Installing: C:/install/hwy/include/hwy/contrib/thread_pool/topology.h
-- Installing: C:/install/hwy/include/hwy/contrib/algo/copy-inl.h
-- Installing: C:/install/hwy/include/hwy/contrib/algo/find-inl.h
-- Installing: C:/install/hwy/include/hwy/contrib/algo/transform-inl.h
-- Installing: C:/install/hwy/include/hwy/contrib/unroller/unroller-inl.h
-- Installing: C:/install/hwy/lib/hwy_test.lib
-- Installing: C:/install/hwy/include/hwy/tests/hwy_gtest.h
-- Installing: C:/install/hwy/include/hwy/tests/test_util-inl.h
-- Installing: C:/install/hwy/include/hwy/tests/test_util.h
-- Installing: C:/install/hwy/lib/pkgconfig/libhwy.pc
-- Installing: C:/install/hwy/lib/pkgconfig/libhwy-contrib.pc
-- Installing: C:/install/hwy/lib/pkgconfig/libhwy-test.pc
-- Installing: C:/install/hwy/lib/cmake/hwy/hwy-config-version.cmake
-- Installing: C:/install/hwy/lib/cmake/hwy/hwy-config.cmake
-- Installing: C:/install/hwy/lib/cmake/hwy/hwy-config-release.cmake
I have got errors (MSVC 2022 error C2589) when I compile highway lib :
I tried
result
then
cmake --build . --target install --config release
full ouputhighway_ouput.txt