Open afang5472 opened 1 year ago
When I tried to build the lib on Windows 10 (I follow https://github.com/AngoraFuzzer/libdft64/blob/master/INSTALL.md): The output is:
C:\Users\Administrator\Desktop\projects\libdft64>C:\ProgramData\chocolatey\bin\make.exe cd src && CPPFLAGS= DFTFLAGS= make make[1]: Entering directory '/cygdrive/c/Users/Administrator/Desktop/projects/libdft64/src' make objects make[2]: Entering directory '/cygdrive/c/Users/Administrator/Desktop/projects/libdft64/src' cl /EHs- /EHa- /wd4530 /DTARGET_WINDOWS /nologo /Gy /Oi- /GR- /GS- /DPIN_CRT=1 /D_WINDOWS_HPATH="C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um" /DLP64 /Zc:threadSafeInit- /Zc:sizedDealloc- /wd5208 /DTARGET_IA32E /DHOST_IA32E /IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/source/include/pin /IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/source/include/pin/gen -IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/extras/stlport/include -IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/extras -IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/extras/libstdc++/include -IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/extras/crt/include -IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/extras/crt -IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/extras/crt/include/arch-x86_64 -IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/extras/crt/include/kernel/uapi -IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/extras/crt/include/kernel/uapi/asm-x86 /FIinclude/msvc_compat.h /IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/extras/components/include /IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/extras/xed-intel64/include/xed /IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/source/tools/Utils /IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/source/tools/InstLib /MD /O2 /c /Foobj-intel64/libdft_api.obj libdft_api.cpp libdft_api.cpp libdft_api.cpp: fatal error C1083: Cannot open include file: 'include/msvc_compat.h': No such file or directory make[2]: [C:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/source/tools/Config/makefile.default.rules:233: obj-intel64/libdft_api.obj] Error 2 make[2]: Leaving directory '/cygdrive/c/Users/Administrator/Desktop/projects/libdft64/src' make[1]: [C:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/source/tools/Config/makefile.config:369: all] Error 2 make[1]: Leaving directory '/cygdrive/c/Users/Administrator/Desktop/projects/libdft64/src' make: *** [Makefile:16: dftsrc] Error 2
It seems that the building procedure require cl.exe so I used VS 2022 Prompt and the build has an error at /FIinclude/msvc_compat.h, the file exists but cl.exe cannot find it. Where shall I change to make it compilable? Thanks!
When I tried to build the lib on Windows 10 (I follow https://github.com/AngoraFuzzer/libdft64/blob/master/INSTALL.md): The output is:
C:\Users\Administrator\Desktop\projects\libdft64>C:\ProgramData\chocolatey\bin\make.exe cd src && CPPFLAGS= DFTFLAGS= make make[1]: Entering directory '/cygdrive/c/Users/Administrator/Desktop/projects/libdft64/src' make objects make[2]: Entering directory '/cygdrive/c/Users/Administrator/Desktop/projects/libdft64/src' cl /EHs- /EHa- /wd4530 /DTARGET_WINDOWS /nologo /Gy /Oi- /GR- /GS- /DPIN_CRT=1 /D_WINDOWS_HPATH="C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um" /DLP64 /Zc:threadSafeInit- /Zc:sizedDealloc- /wd5208 /DTARGET_IA32E /DHOST_IA32E /IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/source/include/pin /IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/source/include/pin/gen -IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/extras/stlport/include -IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/extras -IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/extras/libstdc++/include -IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/extras/crt/include -IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/extras/crt -IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/extras/crt/include/arch-x86_64 -IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/extras/crt/include/kernel/uapi -IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/extras/crt/include/kernel/uapi/asm-x86 /FIinclude/msvc_compat.h /IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/extras/components/include /IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/extras/xed-intel64/include/xed /IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/source/tools/Utils /IC:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/source/tools/InstLib /MD /O2 /c /Foobj-intel64/libdft_api.obj libdft_api.cpp libdft_api.cpp libdft_api.cpp: fatal error C1083: Cannot open include file: 'include/msvc_compat.h': No such file or directory make[2]: [C:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/source/tools/Config/makefile.default.rules:233: obj-intel64/libdft_api.obj] Error 2 make[2]: Leaving directory '/cygdrive/c/Users/Administrator/Desktop/projects/libdft64/src' make[1]: [C:\Users\Administrator\Desktop\projects\pin-3.28-msvc-windows/source/tools/Config/makefile.config:369: all] Error 2 make[1]: Leaving directory '/cygdrive/c/Users/Administrator/Desktop/projects/libdft64/src' make: *** [Makefile:16: dftsrc] Error 2
It seems that the building procedure require cl.exe so I used VS 2022 Prompt and the build has an error at /FIinclude/msvc_compat.h, the file exists but cl.exe cannot find it. Where shall I change to make it compilable? Thanks!