Though I copied the files from the yaml-cpp website, I am getting the following errors:
2>c:\git_sandbox\sandbox\templatematching\templatematchingframework\prj.thirdparty\yaml-cpp\src\stream.h(9): fatal error C1083: Cannot open include file: 'yaml-cpp/noncopyable.h': No such file or directory
2> scantag.cpp
2>c:\git_sandbox\sandbox\templatematching\templatematchingframework\prj.thirdparty\yaml-cpp\src\ptr_vector.h(8): fatal error C1083: Cannot open include file: 'yaml-cpp/noncopyable.h': No such file or directory
Why can't windows find these files?
Related
My Visual Studio always fails to compile any C++ program. I have not tampered or modified the compiler.
#include <iostream>
int main()
{
std::cout << "Hello World!\n";
}
Gives Output:
1>Program
1>c1xx : fatal error C1083: Cannot open source file: 'C:\Program': No such file or directory
1>Files
1>c1xx : fatal error C1083: Cannot open source file: 'Files': No such file or directory
1>Microsoft
1>c1xx : fatal error C1083: Cannot open source file: '(x86)\Microsoft': No such file or directory
1>Visual
1>c1xx : fatal error C1083: Cannot open source file: 'Visual': No such file or directory
1>x64
1>c1xx : fatal error C1083: Cannot open source file: 'Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64': No such file or directory
1>test.cpp
1>Generating Code...
1>Done building project "test.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I think that one of the paths is missing double quotes but I don't know where to fix this.
I suggest that you could check if the following path settings are correct.
Windows Settings->Advanced system settings->Environment Varibles->Path->Environment variable
Visual Studio Project->Properties->VC++ Directories->Include Directories
If it still doesn't work, you could reset the Environment Varibles in Tools->Import and Export Settings->Reset all settings.
When I try to build webkit on Windows 10, I got the following errors, because can not found CoreGraphics and CoreFoundation header files.
I had already installed all require programs on this page (https://webkit.org/webkit-on-windows/#installing-developer-tools), including iTunes(12.10.9.3).
Maybe it is missing Apple Application Support? but I can't found it in iTunes. Can anyone help me?
D:\Workspace\webkit\Tools\ImageDiff\cg\PlatformImageCG.cpp(29,10): fatal error C1083: 无法打开包括文件: “CoreGraphics/CGBitmapC
ontext.h”: No such file or directory [D:\Workspace\webkit\WebKitBuild\Release\Tools\ImageDiff\ImageDiffLib.vcxproj]
Assertions.cpp
CrossThreadCopier.cpp
CrossThreadTaskHandler.cpp
DateMath.cpp
FileSystem.cpp
GregorianDateTime.cpp
HexNumber.cpp
JSONValues.cpp
D:\Workspace\webkit\Source\WTF\wtf/RetainPtr.h(32,10): fatal error C1083: 无法打开包括文件: “CoreFoundation/CoreFoundation.h”:
No such file or directory (编译源文件 D:\Workspace\webkit\Source\WTF\wtf\HexNumber.cpp) [D:\Workspace\webkit\WebKitBuild\Rel
ease\Source\WTF\wtf\WTF.vcxproj]
Language.cpp
D:\Workspace\webkit\Source\WTF\wtf/RetainPtr.h(32,10): fatal error C1083: 无法打开包括文件: “CoreFoundation/CoreFoundation.h”:
No such file or directory (编译源文件 D:\Workspace\webkit\Source\WTF\wtf\Assertions.cpp) [D:\Workspace\webkit\WebKitBuild\Re
lease\Source\WTF\wtf\WTF.vcxproj]
D:\Workspace\webkit\Source\WTF\wtf/RetainPtr.h(32,10): fatal error C1083: 无法打开包括文件: “CoreFoundation/CoreFoundation.h”:
No such file or directory (编译源文件 D:\Workspace\webkit\Source\WTF\wtf\CrossThreadCopier.cpp) [D:\Workspace\webkit\WebKitB
uild\Release\Source\WTF\wtf\WTF.vcxproj]
Those header files are included in WebKitSupportLibrary.zip. Did you download WebKitSupportLibrary.zip and put it in the top source directory?
When trying to compile a C++ file in Visual Studio 2019 the compiler gives me this error:
1>------ Build started: Project: ConsoleApplication4, Configuration: Debug Win32 ------
1>Program
1>c1xx : fatal error C1083: Cannot open source file: 'C:\Program': No such file or directory
1>Files
1>c1xx : fatal error C1083: Cannot open source file: 'Files': No such file or directory
1>Microsoft
1>c1xx : fatal error C1083: Cannot open source file: '(x86)\Microsoft': No such file or directory
1>Visual
1>c1xx : fatal error C1083: Cannot open source file: 'Visual': No such file or directory
1>vcvars64.bat
1>c1xx : fatal error C1083: Cannot open source file: 'Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat': No such file or directory
1>ConsoleApplication4.cpp
1>Generating Code...
1>Done building project "ConsoleApplication4.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I'm assuming that happens because of the spaces causing issues? Any help on how to fix that?
Visual Studio 2019, using the "Local Windows Debugger" for a standard C++ console app. The vcvars64.bat exists.
Hi there I am trying to run a open source GitHub project I found.
Link to project: https://github.com/mcisek/Neural_network_GAME
I cannot run this in VS2013/2017 because it gives errors regarding Qt GUI imports.
I have tried running this in QtCreator also but when trying to create a make file I get the error "cannot run compiler 'g++'. maybe you forgot to setup the environment?"
Here is the visual studio error:
Error 2 error C1083: Cannot open include file: 'QDebug': No such file or directory c:\users\jd\desktop\neural_network_game-master\player.cpp 1 1 ConsoleApplication6
Error 5 error C1083: Cannot open include file: 'QFile': No such file or directory c:\users\jd\desktop\neural_network_game-master\map.cpp 1 1 ConsoleApplication6
Error 9 error C1083: Cannot open include file: 'QGraphicsRectItem': No such file or directory c:\users\jd\desktop\neural_network_game-master\enemy.h 4 1 ConsoleApplication6
Error 1 error C1083: Cannot open include file: 'QGraphicsScene': No such file or directory c:\users\jd\desktop\neural_network_game-master\game.h 4 1 ConsoleApplication6
Error 4 error C1083: Cannot open include file: 'QGraphicsScene': No such file or directory c:\users\jd\desktop\neural_network_game-master\game.h 4 1 ConsoleApplication6
Error 7 error C1083: Cannot open include file: 'QGraphicsScene': No such file or directory c:\users\jd\desktop\neural_network_game-master\game.h 4 1 ConsoleApplication6
Error 8 error C1083: Cannot open include file: 'QGraphicsView': No such file or directory c:\users\jd\desktop\neural_network_game-master\game.cpp 1 1 ConsoleApplication6
Error 3 error C1083: Cannot open include file: 'QKeyEvent': No such file or directory c:\users\jd\desktop\neural_network_game-master\object.cpp 1 1 ConsoleApplication6
Error 6 error C1083: Cannot open include file: 'QQApplication': No such file or directory c:\users\jd\desktop\neural_network_game-master\main.cpp 1 1 ConsoleApplication6
Error 10 error C1083: Cannot open include file: 'QTimer': No such file or directory c:\users\jd\desktop\neural_network_game-master\bullet.cpp 1 1 ConsoleApplication6
How can I compile and run this project?!
I'm trying to get the SioChatDemo working here (https://github.com/socketio/socket.io-client-cpp). However, I'm getting this error:
sio_socket.cpp
1>c:\projects\socket.io-client-cpp\lib\websocketpp\websocketpp\common\functional.hpp(55): fatal error C1083: Cannot open include file: 'boost/bind.hpp': No such file or directory
1> sio_client.cpp
1>c:\projects\socket.io-client-cpp\lib\websocketpp\websocketpp\common\functional.hpp(55): fatal error C1083: Cannot open include file: 'boost/bind.hpp': No such file or directory
1> sio_client_impl.cpp
1>c:\projects\socket.io-client-cpp\lib\websocketpp\websocketpp\common\functional.hpp(55): fatal error C1083: Cannot open include file: 'boost/bind.hpp': No such file or directory
I've built boost so I have both a C:\boost_1_58_0 (downloaded) and a C:\boost (contains include and lib).
I added C:\boost\include to "Project Properties > Configuration Properties > C/C++ > Additional Include Directories" and C:\boost\lib to ".. > Linker > Additional Library Directories"
I checked and there's a bind.hpp here: C:\boost\include\boost-1_58\boost\bind
Why won't it load?