如何编译:Mac上的Synergy [英] How to Compile: Synergy on mac

查看:313
本文介绍了如何编译:Mac上的Synergy的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在MAC和Windows上使用 Synergy .从 https://github.com/synergy/synergy

I wanna use Synergy on my MAC and Windows. download synergy.zip file from https://github.com/synergy/synergy

然后我尝试编译 Xcode项目

但是我收到以下错误消息

But I get the following error message

bash-3.2# ./hm.sh conf -g2
Mapping command: conf -> configure
Error: Arg missing: --mac-identity

我不知道为什么我不能编译Synergy.

I don't know why I cannot compile Synergy.

问题.

  1. 什么是-mac-identity ?
  2. 如何在我的MAC终端上键入命令?

推荐答案

我能够通过以下命令在优胜美地上工作:

I was able to get this working on Yosemite with the following command:

./hm.sh conf -g2 --mac-sdk 10.10 --mac-identity Yosemite

当然,这只有在您具有依赖项的情况下才有效.您可以使用 Homebrew程序包管理器进行安装.

Of course, this will only work given you have the dependencies. You can install them with the Homebrew package manager.

brew install cmake qt

此外,您还需要使用以下内容进行构建:

Additionally, you'll want to build it with:

./hm.sh build

最后,要安装它,您将从bin文件夹(即Synergy.app)中获得编译后的结果.

And finally, to install it, you'll get the compiled results from the bin folder, i.e. Synergy.app.

这篇关于如何编译:Mac上的Synergy的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆