c++ - g++ 找不到 stdint.h Windows
问题描述
我有一个程序使用包含 stdint.h 标头的标头 stb_image.h ini。该程序在我的 IDE (Clion) 中编译时完全正常。然而它现在已经完成了,我想要一个它的 .exe 文件。所以我尝试通过以下命令用 g++ 编译它:
g++ -o imagetotext main.cpp
然后它给了我错误:
stb_image.h:614: stdint.h: No such file or directory
我能做什么让 g++ 找到 stdint.h 标头?我正在使用 Windows。
解决方案
推荐阅读
- jenkins - 詹金斯 - 将所有阶段标记为中止
- flutter - 参数类型“函数”不能分配给参数类型“无效函数(字符串?)?” 在这里做什么:)
- php - 使用 PHP 的简单 HTML dom 解析器删除一行
- flutter - 颤振中的 CircularProgressIndicator 不断旋转
- prometheus - windows_exporter 服务在服务器重启后断开与 prometheus 的连接
- big-o - 算法anaylisys:是否存在函数f,g使得f = O(g)也不f = Ω(g)?
- java - 如何在运动流中找到平均记录大小?
- c++ - 在这个链接列表中,为什么它不允许我再次运行并创建另一个节点我的代码中的错误是什么?
- angular - Angular : NavigationEnd is not getting triggered
- angular - How can I get values from dynamically created ngx-star-rating in Angular 11?