I am trying to build the mega SDK from github inside visual studio 2013, but I cannot get the dependencies right!
What did I do:
I Downloaded the project from: Github MEGA SDK
I Opened the visual studio project located in: examples\win32
I read the readme found: Mega Visual Studio Readme and downloaded all the third part dependencies
I Added Includes to these folders:
I am still getting a lot of errors and I cannot get the dependencies right (Right now on sodium/version.h).
Does anybody have an idea how to fix it or how to get the library to build?
My git repository, the startup solution is located:
C:\Git\VSMegaSDK\examples\win32\MEGAdokan\MEGA.sln
Error 99 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 198 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 297 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 396 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 495 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 594 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 693 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 792 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 891 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 990 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 1089 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 1188 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 1287 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 1386 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 1485 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 1584 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 1683 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 1782 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 1881 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 1980 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 2083 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 2182 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 2281 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 2380 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 2479 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 2578 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 2677 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 2776 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 2875 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 2974 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 3073 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 3172 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 3271 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 3370 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 3469 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 3568 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 3667 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 3766 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 3865 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 3964 error C1083: Cannot open include file: 'sodium/version.h': No such file or directory C:\Git\TestProjects\C++\Mega\sdk-master\third_party\libsodium\include\sodium.h 48 1 mega
Error 3965 error C1083: Cannot open include file: 'windows.h': No such file or directory c:\git\vsmegasdk\examples\win32\megadokan\megadokan.cpp 27 1 MEGAdokan
The existence of a version.h.in indicates that you have unpacked the software, but not yet built it.
(<file>.in is traditionally the input file for some processing step that will then yield <file>.)
You're looking at the source for libsodium. You probably should have picked one of the available binary Windows distributions.
Related
I'm trying to add CL (MSVC) to my sys env and executable directories, but an error pops up that is seperating the paths by whitespace.
1>------ Build started: Project: ConsoleApplication10, Configuration: Debug x64 ------
1>Program
1>c1xx : fatal error C1083: Cannot open source file: 'C:\Program': No such file or directory
1>Microsoft
1>c1xx : fatal error C1083: Cannot open source file: 'Files\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\2022\Community\VC\Tools\MSVC\14.30.30705\bin\Hostx64\x64': No such file or directory
1>ConsoleApplication10.cpp
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\include\yvals.h(12,10): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory
1>Generating Code...
1>Done building project "ConsoleApplication10.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========```
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?
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?!
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?