Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error C1083 #270

Open
kouzhudong opened this issue Oct 17, 2022 · 2 comments
Open

fatal error C1083 #270

kouzhudong opened this issue Oct 17, 2022 · 2 comments

Comments

@kouzhudong
Copy link

D:\code\NetWork\sslscan>nmake -f Makefile.vs OPENSSL_PATH=D:\code\NetWork\openssl

Microsoft (R) 程序维护实用工具 14.29.30146.0 版
版权所有 (C) Microsoft Corporation。 保留所有权利。

    cl.exe /nologo /GL /GS /Gs0 /Gw /MT /Ox -DVERSION="\"1.9.8 Windows 64-bit (VS)\"" /I D:\code\NetWork\openssl/include /c sslscan.c

sslscan.c
sslscan.c(97): fatal error C1083: 无法打开包括文件: “sys/time.h”: No such file or directory
NMAKE : fatal error U1077: “"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\cl.exe"”: 返回代码“0x2”
Stop.

D:\code\NetWork\sslscan>

@jtesta
Copy link
Contributor

jtesta commented Jan 19, 2023

@kouzhudong : I wrote the initial Visual Studio compilation support 8 years ago. It seems that everyone has since only used the MinGW build system. I suppose the VS build system is no longer supported.

@rbsec
Copy link
Owner

rbsec commented Jan 19, 2023

TBH, I've only ever cross-compiled it from Linux, as my main system doesn't have VS (or Windows) installed.

If someone wants to look into getting it to work with more modern versions of VS they're very welcome to, but I'm quite happy to leave things as they are. Debugging weird MS compilation errors doesn't sound like much fun.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants