Mega SDK:依赖性错误

时间:2015-07-07 13:04:44

标签: c++ c++11 visual-studio-2013 github

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

我做了什么:

  1. 我从Github MEGA SDK
  2. 下载了该项目
  3. 我打开了位于examples\win32
  4. 的visual studio项目
  5. 我读了自述文件:Mega Visual Studio Readme并下载了所有第三部分依赖项
  6. 我在这些文件夹中添加了包含:
  7. Inlcude directories

    我仍然收到很多错误,我无法正确获取依赖关系(现在在钠/ version.h上)。

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

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

      

    C:\ GIT中\ VSMegaSDK \例子\ 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
    

1 个答案:

答案 0 :(得分:2)

version.h.in的存在表示您已将软件解压缩,但尚未构建

<file>.in传统上是 in 放置文件中的某个处理步骤,然后会产生<file>。)

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