gpt4 book ai didi

c++ - super SDK : dependency errors

转载 作者:行者123 更新时间:2023-11-30 03:51:26 25 4
gpt4 key购买 nike

我正在尝试在 visual studio 2013 中从 github 构建 mega SDK,但我无法获得正确的依赖项!

我做了什么:

  1. 我从以下位置下载了项目:Github MEGA SDK
  2. 我打开了位于 examples\win32 的 visual studio 项目
  3. 我阅读了发现的自述文件:Mega Visual Studio Readme并下载了所有的第三方依赖
  4. 我在这些文件夹中添加了包含:

Inlcude directories

我仍然遇到很多错误,而且我无法获得正确的依赖项(现在在 sodium/version.h 上)。

有没有人知道如何修复它或如何构建库?

My git repository ,启动解决方案位于:

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

最佳答案

version.h.in 的存在表示您已经解压了该软件,但尚未构建它

(<file>.in 传统上是某些处理步骤的输入放置文件,然后将产生 <file>。)

您正在查看 libsodium 的来源。您可能应该选择一种可用的二进制 Windows 发行版。

关于c++ - super SDK : dependency errors,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31269349/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com