rprichard / winpty

A Windows software package providing an interface similar to a Unix pty-master for communicating with Windows console programs.
MIT License
1.28k stars 166 forks source link

fatal error: x86intrin.h: No such file or directory #172

Open bredmor opened 4 years ago

bredmor commented 4 years ago

Trying to compile winpty through cygwin results in this error. Output below:

$ ./configure
uname -s identifies a Cygwin environment.
uname -m identifies an x86_64 environment.
Found Cygwin/MSYS G++ compiler: x86_64-pc-cygwin-g++
Found MinGW G++ compiler: x86_64-w64-mingw32-g++
Writing config.mk
Commit info: git
$ make
Creating directory build/mingw/
Copying src/shared/PrecompiledHeader.h to build/mingw/PrecompiledHeader.h
Compiling build/mingw/PrecompiledHeader.h
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/minwindef.h:163:0,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/windef.h:8,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/windows.h:69,
                 from ./build/mingw/PrecompiledHeader.h:24,
                 from <command-line>:0:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/winnt.h:1554:24: fatal error: x86intrin.h: No such file or directory
 # include <x86intrin.h>
                        ^
compilation terminated.
make: *** [Makefile:84: build/mingw/PrecompiledHeader.h.gch] Error 1
zhangliang-home commented 4 years ago

发自我的华为手机-------- 原始邮件 --------主题:[rprichard/winpty] fatal error: x86intrin.h: No such file or directory (#172)发件人:Morgan Breden 收件人:rprichard/winpty 抄送:Subscribed Trying to compile winpty through cygwin results in this error. Output below: $ ./configure uname -s identifies a Cygwin environment. uname -m identifies an x86_64 environment. Found Cygwin/MSYS G++ compiler: x86_64-pc-cygwin-g++ Found MinGW G++ compiler: x86_64-w64-mingw32-g++ Writing config.mk Commit info: git $ make Creating directory build/mingw/ Copying src/shared/PrecompiledHeader.h to build/mingw/PrecompiledHeader.h Compiling build/mingw/PrecompiledHeader.h In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/minwindef.h:163:0, from /usr/x86_64-w64-mingw32/sys-root/mingw/include/windef.h:8, from /usr/x86_64-w64-mingw32/sys-root/mingw/include/windows.h:69, from ./build/mingw/PrecompiledHeader.h:24, from :0: /usr/x86_64-w64-mingw32/sys-root/mingw/include/winnt.h:1554:24: fatal error: x86intrin.h: No such file or directory

include

                    ^

compilation terminated. make: *** [Makefile:84: build/mingw/PrecompiledHeader.h.gch] Error 1

—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.