Skip to content

Compiling on Windows 10 with VS 2015 Professional #52

@Sobieck

Description

@Sobieck

Hello,

I'm getting an odd error when I try to build on windows.

Microsoft (R) Program Maintenance Utility Version 14.00.23026.0
Copyright (C) Microsoft Corporation.  All rights reserved.

cl /O2 /EHsc /I"c_src" /I"c:/Program Files/erl6.2/erts-6.2/include" /LD /MD /Fepriv\bcrypt_nif.dll  c_src\bcrypt
_nif.c c_src\blowfish.c
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23026 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

bcrypt_nif.c
c_src\bcrypt_nif.c(36): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
blowfish.c
c_src\blowfish.c(47): fatal error C1083: Cannot open include file: 'sys/types.h': No such file or directory
Generating Code...
NMAKE : fatal error U1077: '"c:\program files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.EXE"' : return code '0x
2'
Stop.
==> comeonin
could not compile dependency :comeonin, "mix compile" failed. You can recompile this dependency with "mix deps.compile c
omeonin", update it with "mix deps.update comeonin" or clean it with "mix deps.clean comeonin"
** (Mix.Error) Could not compile Comeonin.

Does anyone know why the header files aren't showing up? This is the first time I've used Microsoft's compiler.

I ran this: "C:\program files (x86)\Microsoft Visual Studio 14.0\VC> vcvarsall amd64" before I tried to compile.

Thanks!

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