尝试使用 cmake 在 Windows 上构建 mbedtls

问题描述

我正在使用 cmake 尝试构建 mbedtls。我从 github 得到 .zip,解压它,然后我“cd”到 mbedtls 的目录。

我收到这样的错误,无论我在哪个子目录/目录中都无法成功构建它。 cmake 命令: cmake Visual Studio 10 .

CMake Error at CMakeLists.txt:172 (add_library):
  Cannot find source file:

    error.c

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
  .hpp .hxx .in .txx


CMake Error at CMakeLists.txt:172 (add_library):
  No SOURCES given to target: mbedcrypto

enter image description here

这是我所在的目录。所有子目录/cmake 文件都在那里。我的问题是...如何在 Windows 上构建 mbedtls?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)