我正在尝试从visual studio 2013中的github构建大型SDK,但我无法正确获取依赖项!
我做了什么:
examples\win32
我仍然收到很多错误,我无法正确获取依赖关系(现在在钠/ 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
答案 0 :(得分:2)
version.h.in
的存在表示您已将软件解压缩,但尚未构建。
(<file>.in
传统上是 in 放置文件中的某个处理步骤,然后会产生<file>
。)
您正在查看libsodium的来源。您可能应该选择一个可用的二进制 Windows发行版。