Skip to content

Instantly share code, notes, and snippets.

@marty1885
Last active November 5, 2016 09:53
Show Gist options
  • Save marty1885/f98a1be8ddb2bdc6015011855c9756dd to your computer and use it in GitHub Desktop.
Save marty1885/f98a1be8ddb2bdc6015011855c9756dd to your computer and use it in GitHub Desktop.
ICAT@DESKTOP-KUDAHJQ MINGW64 ~/Documents/embree/build
$ make -j4
[ 1%] Building CXX object common/simd/CMakeFiles/simd.dir/sse.cpp.obj
[ 1%] Building CXX object common/sys/CMakeFiles/sys.dir/sysinfo.cpp.obj
[ 2%] Building CXX object kernels/CMakeFiles/embree_sse42.dir/geometry/grid_soa.cpp.obj
[ 3%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/geometry/instance_intersector1.cpp.obj
In file included from C:/msys64/home/ICAT/Documents/embree/common/simd/sse.h:20:0,
from C:/msys64/home/ICAT/Documents/embree/common/simd/sse.cpp:17:
C:/msys64/home/ICAT/Documents/embree/common/sys/intrinsics.h:46:0: warning: "NOMINMAX" redefined
# define NOMINMAX
In file included from C:/msys64/mingw64/include/c++/6.1.0/x86_64-w64-mingw32/bits/c++config.h:495:0,
from C:/msys64/mingw64/include/c++/6.1.0/cstddef:49,
from C:/msys64/home/ICAT/Documents/embree/common/sys/platform.h:21,
from C:/msys64/home/ICAT/Documents/embree/common/simd/sse.h:19,
from C:/msys64/home/ICAT/Documents/embree/common/simd/sse.cpp:17:
C:/msys64/mingw64/include/c++/6.1.0/x86_64-w64-mingw32/bits/os_defines.h:45:0: note: this is the location of the previous definition
#define NOMINMAX 1
g++.exe: error: C:/msys64/DCONFIG_SSE42: No such file or directory
g++.exe: error: C:/msys64/QxSSE4.2: No such file or directory
g++.exe: error: /arch:AVX2: No such file or directory
g++.exe: error: C:/msys64/DCONFIG_AVX2: No such file or directory
g++.exe: error: C:/msys64/QxCORE-AVX2: No such file or directory
make[2]: *** [kernels/CMakeFiles/embree_sse42.dir/build.make:63: kernels/CMakeFiles/embree_sse42.dir/geometry/grid_soa.cpp.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:371: kernels/CMakeFiles/embree_sse42.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
In file included from C:/msys64/home/ICAT/Documents/embree/common/sys/sysinfo.cpp:18:0:
C:/msys64/home/ICAT/Documents/embree/common/sys/intrinsics.h:46:0: warning: "NOMINMAX" redefined
# define NOMINMAX
In file included from C:/msys64/mingw64/include/c++/6.1.0/x86_64-w64-mingw32/bits/c++config.h:495:0,
from C:/msys64/mingw64/include/c++/6.1.0/cstddef:49,
from C:/msys64/home/ICAT/Documents/embree/common/sys/platform.h:21,
from C:/msys64/home/ICAT/Documents/embree/common/sys/sysinfo.h:28,
from C:/msys64/home/ICAT/Documents/embree/common/sys/sysinfo.cpp:17:
C:/msys64/mingw64/include/c++/6.1.0/x86_64-w64-mingw32/bits/os_defines.h:45:0: note: this is the location of the previous definition
#define NOMINMAX 1
make[2]: *** [kernels/CMakeFiles/embree_avx2.dir/build.make:63: kernels/CMakeFiles/embree_avx2.dir/geometry/instance_intersector1.cpp.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:334: kernels/CMakeFiles/embree_avx2.dir/all] Error 2
[ 4%] Building CXX object common/sys/CMakeFiles/sys.dir/alloc.cpp.obj
[ 4%] Building CXX object common/sys/CMakeFiles/sys.dir/filename.cpp.obj
In file included from C:/msys64/home/ICAT/Documents/embree/common/sys/alloc.cpp:19:0:
C:/msys64/home/ICAT/Documents/embree/common/sys/intrinsics.h:46:0: warning: "NOMINMAX" redefined
# define NOMINMAX
In file included from C:/msys64/mingw64/include/c++/6.1.0/x86_64-w64-mingw32/bits/c++config.h:495:0,
from C:/msys64/mingw64/include/c++/6.1.0/cstddef:49,
from C:/msys64/home/ICAT/Documents/embree/common/sys/platform.h:21,
from C:/msys64/home/ICAT/Documents/embree/common/sys/alloc.h:19,
from C:/msys64/home/ICAT/Documents/embree/common/sys/alloc.cpp:18:
C:/msys64/mingw64/include/c++/6.1.0/x86_64-w64-mingw32/bits/os_defines.h:45:0: note: this is the location of the previous definition
#define NOMINMAX 1
In file included from C:/msys64/home/ICAT/Documents/embree/common/simd/sse.h:23:0,
from C:/msys64/home/ICAT/Documents/embree/common/simd/sse.cpp:17:
C:/msys64/home/ICAT/Documents/embree/common/simd/sse_special.h:108:2: warning: #warning "redefined _mm_movehl_ps (see gcc bug 21179)" [-Wcpp]
#warning "redefined _mm_movehl_ps (see gcc bug 21179)"
^~~~~~~
C:/msys64/home/ICAT/Documents/embree/common/simd/sse_special.h:135:2: warning: #warning "redefined _mm_cmpxx_ps functions..." [-Wcpp]
#warning "redefined _mm_cmpxx_ps functions..."
^~~~~~~
[ 5%] Building CXX object common/sys/CMakeFiles/sys.dir/library.cpp.obj
C:/msys64/home/ICAT/Documents/embree/common/sys/sysinfo.cpp: In function 'int64_t embree::get_xcr0()':
C:/msys64/home/ICAT/Documents/embree/common/sys/sysinfo.cpp:188:64: note: #pragma message: WARNING: AVX not supported by your compiler.
#pragma message ("WARNING: AVX not supported by your compiler.")
^
In file included from C:/msys64/home/ICAT/Documents/embree/common/simd/vint4_sse2.h:19:0,
from C:/msys64/home/ICAT/Documents/embree/common/simd/sse.h:46,
from C:/msys64/home/ICAT/Documents/embree/common/simd/sse.cpp:17:
C:/msys64/home/ICAT/Documents/embree/common/math/math.h: In function 'bool std::isinf(float)':
C:/msys64/home/ICAT/Documents/embree/common/math/math.h:30:22: error: redefinition of 'bool std::isinf(float)'
__forceinline bool isinf ( const float x ) { return _finite(x) == 0; }
^~~~~
In file included from C:/msys64/mingw64/include/c++/6.1.0/math.h:36:0,
from C:/msys64/home/ICAT/Documents/embree/common/math/constants.h:24,
from C:/msys64/home/ICAT/Documents/embree/common/simd/sse.h:21,
from C:/msys64/home/ICAT/Documents/embree/common/simd/sse.cpp:17:
C:/msys64/mingw64/include/c++/6.1.0/cmath:610:3: note: 'constexpr bool std::isinf(float)' previously defined here
isinf(float __x)
^~~~~
In file included from C:/msys64/home/ICAT/Documents/embree/common/simd/vint4_sse2.h:19:0,
from C:/msys64/home/ICAT/Documents/embree/common/simd/sse.h:46,
from C:/msys64/home/ICAT/Documents/embree/common/simd/sse.cpp:17:
C:/msys64/home/ICAT/Documents/embree/common/math/math.h: In function 'bool std::isnan(float)':
C:/msys64/home/ICAT/Documents/embree/common/math/math.h:31:22: error: redefinition of 'bool std::isnan(float)'
__forceinline bool isnan ( const float x ) { return _isnan(x) != 0; }
^~~~~
In file included from C:/msys64/mingw64/include/c++/6.1.0/math.h:36:0,
from C:/msys64/home/ICAT/Documents/embree/common/math/constants.h:24,
from C:/msys64/home/ICAT/Documents/embree/common/simd/sse.h:21,
from C:/msys64/home/ICAT/Documents/embree/common/simd/sse.cpp:17:
C:/msys64/mingw64/include/c++/6.1.0/cmath:635:3: note: 'constexpr bool std::isnan(float)' previously defined here
isnan(float __x)
^~~~~
In file included from C:/msys64/home/ICAT/Documents/embree/common/simd/vint4_sse2.h:19:0,
from C:/msys64/home/ICAT/Documents/embree/common/simd/sse.h:46,
from C:/msys64/home/ICAT/Documents/embree/common/simd/sse.cpp:17:
C:/msys64/home/ICAT/Documents/embree/common/math/math.h: In function 'bool std::isfinite(float)':
C:/msys64/home/ICAT/Documents/embree/common/math/math.h:32:22: error: redefinition of 'bool std::isfinite(float)'
__forceinline bool isfinite (const float x) { return _finite(x) != 0; }
^~~~~~~~
In file included from C:/msys64/mingw64/include/c++/6.1.0/math.h:36:0,
from C:/msys64/home/ICAT/Documents/embree/common/math/constants.h:24,
from C:/msys64/home/ICAT/Documents/embree/common/simd/sse.h:21,
from C:/msys64/home/ICAT/Documents/embree/common/simd/sse.cpp:17:
C:/msys64/mingw64/include/c++/6.1.0/cmath:590:3: note: 'constexpr bool std::isfinite(float)' previously defined here
isfinite(float __x)
^~~~~~~~
make[2]: *** [common/simd/CMakeFiles/simd.dir/build.make:63: common/simd/CMakeFiles/simd.dir/sse.cpp.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:200: common/simd/CMakeFiles/simd.dir/all] Error 2
[ 5%] Building CXX object common/sys/CMakeFiles/sys.dir/thread.cpp.obj
[ 6%] Building CXX object common/sys/CMakeFiles/sys.dir/network.cpp.obj
[ 6%] Building CXX object common/sys/CMakeFiles/sys.dir/string.cpp.obj
In file included from C:/msys64/home/ICAT/Documents/embree/common/sys/mutex.h:20:0,
from C:/msys64/home/ICAT/Documents/embree/common/sys/thread.h:20,
from C:/msys64/home/ICAT/Documents/embree/common/sys/thread.cpp:17:
C:/msys64/home/ICAT/Documents/embree/common/sys/intrinsics.h:46:0: warning: "NOMINMAX" redefined
# define NOMINMAX
In file included from C:/msys64/mingw64/include/c++/6.1.0/x86_64-w64-mingw32/bits/c++config.h:495:0,
from C:/msys64/mingw64/include/c++/6.1.0/cstddef:49,
from C:/msys64/home/ICAT/Documents/embree/common/sys/platform.h:21,
from C:/msys64/home/ICAT/Documents/embree/common/sys/thread.h:19,
from C:/msys64/home/ICAT/Documents/embree/common/sys/thread.cpp:17:
C:/msys64/mingw64/include/c++/6.1.0/x86_64-w64-mingw32/bits/os_defines.h:45:0: note: this is the location of the previous definition
#define NOMINMAX 1
In file included from C:/msys64/home/ICAT/Documents/embree/common/sys/mutex.h:20:0,
from C:/msys64/home/ICAT/Documents/embree/common/sys/network.cpp:19:
C:/msys64/home/ICAT/Documents/embree/common/sys/intrinsics.h:46:0: warning: "NOMINMAX" redefined
# define NOMINMAX
In file included from C:/msys64/mingw64/include/c++/6.1.0/x86_64-w64-mingw32/bits/c++config.h:495:0,
from C:/msys64/mingw64/include/c++/6.1.0/cstddef:49,
from C:/msys64/home/ICAT/Documents/embree/common/sys/platform.h:21,
from C:/msys64/home/ICAT/Documents/embree/common/sys/network.h:19,
from C:/msys64/home/ICAT/Documents/embree/common/sys/network.cpp:17:
C:/msys64/mingw64/include/c++/6.1.0/x86_64-w64-mingw32/bits/os_defines.h:45:0: note: this is the location of the previous definition
#define NOMINMAX 1
C:/msys64/home/ICAT/Documents/embree/common/sys/library.cpp: In function 'void* embree::getSymbol(embree::lib_t, const string&)':
C:/msys64/home/ICAT/Documents/embree/common/sys/library.cpp:43:26: error: invalid conversion from 'FARPROC {aka long long int (*)()}' to 'void*' [-fpermissive]
return GetProcAddress(HMODULE(lib),sym.c_str());
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [common/sys/CMakeFiles/sys.dir/build.make:135: common/sys/CMakeFiles/sys.dir/library.cpp.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
C:/msys64/home/ICAT/Documents/embree/common/sys/thread.cpp: In function 'void embree::setAffinity(HANDLE, ssize_t)':
C:/msys64/home/ICAT/Documents/embree/common/sys/thread.cpp:45:66: error: 'PPROCESSOR_NUMBER' has not been declared
typedef BOOL (WINAPI *SetThreadIdealProcessorExFunc)(HANDLE, PPROCESSOR_NUMBER, PPROCESSOR_NUMBER);
^~~~~~~~~~~~~~~~~
C:/msys64/home/ICAT/Documents/embree/common/sys/thread.cpp:45:85: error: 'PPROCESSOR_NUMBER' has not been declared
typedef BOOL (WINAPI *SetThreadIdealProcessorExFunc)(HANDLE, PPROCESSOR_NUMBER, PPROCESSOR_NUMBER);
^~~~~~~~~~~~~~~~~
C:/msys64/home/ICAT/Documents/embree/common/sys/thread.cpp:74:7: error: 'PROCESSOR_NUMBER' was not declared in this scope
PROCESSOR_NUMBER processorNumber;
^~~~~~~~~~~~~~~~
C:/msys64/home/ICAT/Documents/embree/common/sys/thread.cpp:75:7: error: 'processorNumber' was not declared in this scope
processorNumber.Group = group;
^~~~~~~~~~~~~~~
make[2]: *** [common/sys/CMakeFiles/sys.dir/build.make:159: common/sys/CMakeFiles/sys.dir/thread.cpp.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:145: common/sys/CMakeFiles/sys.dir/all] Error 2
make: *** [Makefile:150: all] Error 2
ICAT@DESKTOP-KUDAHJQ MINGW64 ~/Documents/embree/build
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment