对于Windows上的项目synergy-through-usb,cmake编译失败

时间:2016-02-17 12:13:16

标签: c++ windows git cmake

我正在尝试在Windows 64位系统上从github构建以下c ++项目: synergy-through-usb

它说我需要使用cmake,所以我安装了cmake最新版本。

然后我下载并解压缩了源代码。

然后我在文件夹中运行cmake .,但我收到以下错误:

C:\local\projects\synergy-usb\synergy-through-usb-master>cmake .
You have called ADD_LIBRARY for library cryptopp without any source files. This typically indicates a problem with your CMakeLists.txt file
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBUSB_1_INCLUDE_DIR
   used as include directory in directory C:/local/projects/synergy-usb/synergy-through-usb-master/src/lib/arch
   used as include directory in directory C:/local/projects/synergy-usb/synergy-through-usb-master/src/lib/net
LIBUSB_1_LIBRARY
    linked by target "arch" in directory C:/local/projects/synergy-usb/synergy-through-usb-master/src/lib/arch

-- Configuring incomplete, errors occurred!
See also "C:/local/projects/synergy-usb/synergy-through-usb-master/CMakeFiles/CMakeOutput.log".

我对cmake不熟悉,而且这个git repo的说明/指南的链接似乎也被删除了:

任何人都可以帮我编译一下 - 即建议我需要做些什么来解决这些错误?或者有没有人试图使用这个项目?

0 个答案:

没有答案