我使用的是 Windows 10 系统,VS2015。我现在想构建 pixman-0.34.0。这里的教程:http: //cairographics.org/end_to_end_build_for_win32/告诉我使用这些提示行:
cd %ROOTDIR%\pixman\pixman
sed s/-MD/-MT/ Makefile.win32 > Makefile.fixed
move /Y Makefile.fixed Makefile.win32
make -f Makefile.win32 "CFG=release"
但是,powershell(或 msys64)总是告诉我
“pixman-0.34.0\pixman\pixman.h(105): 致命错误 C1083: 无法打开包含文件: 'stdint.h': 没有这样的文件或目录”
这很奇怪,因为我的计算机中确实存在 < stdint.h > !如果我创建一个包含 <stdint.h> 的新 .cpp 文件,我可以成功编译它。
我试图将所有源代码从 pixman 的根目录移动到 VS 的包含目录...提示现在告诉没有 <time.h> 文件。
我想我需要在某处设置包含目录,但我不知道该怎么做。
它现在几乎让我发疯。我花了一整天的时间试图解决它,但我的尝试都没有奏效。
谁能帮我?