Skip to content

Windows | fatal error C1083: Cannot open include file: 'alloca.h': No such file or directory #162

@drophouse01

Description

@drophouse01

Hi @k-takata, thanks for the lib. while I was trying to build the lib, I faced this error on Windows 10 (64-bit operating system, x64-based processor).

Onigmo\regint.h(235): fatal error C1083: Cannot open include file: 'alloca.h': No such file or directory (compiling source file regcomp.c)
regtrav.c
Onigmo\regint.h(235): fatal error C1083: Cannot open include file: 'alloca.h': No such file or directory (compiling source file reggnu.c)
Onigmo\regint.h(235): fatal error C1083: Cannot open include file: 'alloca.h': No such file or directory (compiling source file regext.c)
st.c
regposix.c
Onigmo\regint.h(235): fatal error C1083: Cannot open include file: 'alloca.h': No such file or directory (compiling source file regparse.c)
Onigmo\regint.h(235): fatal error C1083: Cannot open include file: 'alloca.h': No such file or directory (compiling source file regenc.c)
Onigmo\regint.h(235): fatal error C1083: Cannot open include file: 'alloca.h': No such file or directory (compiling source file regerror.c)
Onigmo\regint.h(235): fatal error C1083: Cannot open include file: 'alloca.h': No such file or directory (compiling source file regexec.c)
Onigmo\regint.h(235): fatal error C1083: Cannot open include file: 'alloca.h': No such file or directory (compiling source file regsyntax.c)
Onigmo\regint.h(235): fatal error C1083: Cannot open include file: 'alloca.h': No such file or directory (compiling source file regtrav.c)
Onigmo\regint.h(235): fatal error C1083: Cannot open include file: 'alloca.h': No such file or directory (compiling source file st.c)
Onigmo\regint.h(235): fatal error C1083: Cannot open include file: 'alloca.h': No such file or directory (compiling source file regposix.c)
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\HostX86\x86\cl.EXE"' : return code '0x2'
Stop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions