You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have having a difficult time building Embree 3.13.4 on Windows VS 2022 17.6 due to include file conflicts
From what I can see, platform.h includes "memory" which ultimately includes "cstring" which includes "string.h" but the compiler finds the Embree "string.h" and everything falls apart.
4>In file included from sysinfo.cpp:4:
4>In file included from ./sysinfo.h:15:
4>In file included from ./platform.h:12:
4>In file included from C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.36.32532\include\memory:12:
4>In file included from C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.36.32532\include\iosfwd:13:
4>In file included from C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.36.32532\include\cstring:12:
4>In file included from .\string.h:7:
4>In file included from ./../math/vec2.h:6:
4>In file included from ./../math/math.h:7:
4>./../math/../sys/intrinsics.h(362,9): : error : use of undeclared identifier 'unlikely'
4> if (unlikely(x == 0)) return 32;
4> ^
The text was updated successfully, but these errors were encountered:
I have having a difficult time building Embree 3.13.4 on Windows VS 2022 17.6 due to include file conflicts
From what I can see, platform.h includes "memory" which ultimately includes "cstring" which includes "string.h" but the compiler finds the Embree "string.h" and everything falls apart.
4>In file included from sysinfo.cpp:4:
4>In file included from ./sysinfo.h:15:
4>In file included from ./platform.h:12:
4>In file included from C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.36.32532\include\memory:12:
4>In file included from C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.36.32532\include\iosfwd:13:
4>In file included from C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.36.32532\include\cstring:12:
4>In file included from .\string.h:7:
4>In file included from ./../math/vec2.h:6:
4>In file included from ./../math/math.h:7:
4>./../math/../sys/intrinsics.h(362,9): : error : use of undeclared identifier 'unlikely'
4> if (unlikely(x == 0)) return 32;
4> ^
The text was updated successfully, but these errors were encountered: