构建 Pixman 库时,提示总是说 "can not find xxx.h(the std header" ?
when building pixman library, the prompt always says "can not find xxx.h(the std header"?
我正在使用Windows 10系统VS2015。我现在想构建 pixman-0.34.0。这里的教程: http://cairographics.org/end_to_end_build_for_win32/告诉我使用以下提示行:
cd %ROOTDIR%pixmanpixman
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文件,我可以成功编译它。>因为>
我试图将所有源代码从像素人的根目录移动到 VS 的包含目录......提示现在告诉没有
我想我需要在某处设置包含目录,但我不知道该怎么做。
现在几乎要把我逼疯了。我花了一整天的时间试图解决它,但我的尝试都没有奏效。
谁能帮我?
另请参阅此问题:Visual Studio 2015 有 float.h 吗?
Float.h 在 VS 2015 中被移动。 我能够通过更新根源目录中的 Makefile.win32.common 第 28 行来构建 pixman:
BASE_CFLAGS = -nologo -I. -I$(top_srcdir) -I$(top_srcdir)/pixman -I"C:Program Files (x86)Windows Kits10Include10.0.14393.0ucrt" -I"C:Program Files (x86)Microsoft Visual Studio 14.0VCinclude"
相关文章:
- std::map<struct,struct>::find 找不到匹配项,但是如果我循环通过 begin() 到 end(),我在那里看到匹配项
- OpenMP卸载说'fatal error: could not find accel/nvptx-none/mkoffload'
- 使用.find函数在c++中查找字符和另一个字符之间的大小
- 在 QVector<std::unique_ptr 上使用 std::find<Type>>
- 错误"Could not find Boost"(缺少:上下文标头)
- /usr/bin/ld: cannot find -lc++
- std::find,返回所有找到的值的替代方法,而不仅仅是存在重复的向量的第一个值
- 使用 find 解析文件会给出不同文件的奇怪结果
- 在 ifcondition al中 find() C++ STL 中的 == a.end() 有什么用?
- Cannot find -lglad
- "Cannot find -l<directory>"错误 - CMake
- 为什么在向量上使用 std::find() 时会出现错误?
- 为什么映射插入和 map.find() 的单次迭代比插入和 map.find() 的两次单独迭代慢得多
- C++ find() 在存储为变量时返回不同的值
- set::find 查找不存在的元素
- 使用 std::find 时没有匹配的函数调用错误
- 在先前调用 string::find 后添加内存分配和内存集会导致它返回 npos.为什么?
- Windows cannot find MinGW
- find() stl in vector in c++
- 构建 Pixman 库时,提示总是说 "can not find xxx.h(the std header" ?