简体   繁体   English

无法打开包含文件“Graphics.hpp”没有这样的文件或目录,Visual Studio 的附加包含不起作用

[英]cannot open include file 'Graphics.hpp' no such file or directory ,additional include for visual studio not working

im trying to use sfml in my project using visual studio 2019. Following sfml documentation to perform setup for visual studio i have performed all the action required我正在尝试使用 Visual Studio 2019 在我的项目中使用 sfml。按照 sfml 文档为 Visual Studio 执行设置我已经执行了所有所需的操作

i have included include folder in c/c++/additional include directory and also provided path for lib folder in linker setting and also provided additional dependencies in linker/input but我在c/c++/additional include directory包含了include文件夹,还在链接器设置中提供了 lib 文件夹的路径,还在linker/input提供了额外的依赖项,但是

#include <iostream>
#include <SFML/Graphics.hpp>

int main()
{
    std::cout << "i cant tolerate" << std::endl;
    return 0;

}

this code shows above mentioned error ,此代码显示上述错误,

cannot open include file 'Graphics.hpp' no such file or directory 

it seems like include path is not working how can i solve this issue i tried many times but got same result似乎包含路径不起作用我该如何解决这个问题我尝试了很多次但得到了相同的结果

如果有人遇到同样的问题,请检查project/properties的平台 win32 为我的特定问题工作

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 VSCode“SFML/Graphics.hpp 没有这样的文件或目录”gcc 中包含 SFML 库 - include SFML Library in VSCode "SFML/Graphics.hpp no such file or directory" gcc 创建新文件时,它显示“ <SFML/Graphics.hpp> 没有相应的文件和目录” - On creation of a new file it shows “<SFML/Graphics.hpp> no such file or directory” 致命错误:SFML/Graphics.hpp:不存在这样的文件或目录 - Fatal error: SFML/Graphics.hpp: no such file or directory exists Visual Studio无法打开包含文件;不能打开包含文件。 没有相应的文件和目录 - Visual Studio Cannot open include file; No such file or directory 我的项目中的某些仅标头文件不能包含使用 CMake 和 Vscode 的“SFML/Graphics.hpp” - Some headers-only files in my project cannot include “SFML/Graphics.hpp” using CMake and Vscode 无法打开包含文件:&#39;graphics.h&#39;:没有这样的文件或目录 - Cannot open include file: 'graphics.h': No such file or directory 无法使用 Visual Studio 打开包含文件 - Cannot open include file with Visual Studio 致命错误 C1083:无法打开包含文件:&#39;opencv2/core.hpp&#39;:没有那个文件或目录 - Fatal error C1083: Cannot open include file: 'opencv2/core.hpp': No such file or directory 致命错误C1083:无法打开包含文件:&#39;boost / variant.hpp&#39;:没有这样的文件或目录 - fatal error C1083: Cannot open include file: 'boost/variant.hpp': No such file or directory 致命错误 C1083:无法打开包含文件:“boost/config.hpp”:没有这样的文件或目录 - fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM