Open PikalaxALT opened 3 years ago
A simple test program (Hello, world!
additionally including
Updated packages wheel-0.37.0, setuptools-58.2.0, Cython-0.29.24 with the same result.
This could just as easily be an issue with setuptools on Windows but I can't think of another package with C sources that isn't distributed as a wheel...
The header in the error message is <strings.h>
, not <string.h>
.
Compiling this code requires a set of POSIX headers, including <strings.h>
, <sys/types.h>
, and <unistd.h>
. On Windows, the advice from the htslib developers would be to use Cygwin or MinGW.
Included the relevant part of the log below. I installed the Universal C Runtime SDK for Visual Studio Community 2019, and the file
string.h
is present in directoryC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt
, yet the error persists after a Windows reboot. You can see from thecl.exe
call that this very directory is included in the CFLAGS.Screenshot of UCRT headers directory in Explorer:
Log: