Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
W
wiki-php
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • 互联网应用开发
  • wiki-php
  • Wiki
  • synergy compiling

synergy compiling · Changes

Page history
wangchangchun created page: synergy compiling authored Sep 03, 2019 by 王常春's avatar 王常春
Show whitespace changes
Inline Side-by-side
Showing with 36 additions and 1 deletion
+36 -1
  • synergy-compiling.md synergy-compiling.md +36 -1
  • No files found.
synergy-compiling.md
View page @ 7f6fcb7e
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
synergy是一款开源的可以在多台电脑间进行鼠标键盘共享软件的。 synergy是一款开源的可以在多台电脑间进行鼠标键盘共享软件的。
## ubuntu编译安装 ## ubuntu编译安装
ubuntu版本为18.04
### 下载源码 ### 下载源码
```` ````
git clone https://github.com/symless/synergy-core.git git clone https://github.com/symless/synergy-core.git
...@@ -30,3 +30,38 @@ cmake .. ...@@ -30,3 +30,38 @@ cmake ..
make make
sudo mae install sudo mae install
```` ````
### 关闭防火墙
如果ubuntu做为服务端,需要关闭防火墙或者打开相应的端口24800。
````
# 打开24800端口
sudo ufw allow 24800/tcp
# 关闭防火墙
sudo ufw disable
````
## Mac编译synergy
### 下载源码
````
git clone https://github.com/symless/synergy-core.git
````
### 安装依赖
brew的安装请自行百度。
````
brew install qt cmake
````
### 编译源码
````
cd Projects/synergy
mkdir build
cd build
QT_PATH=/usr/local/opt/qt
export PATH=$PATH:/usr/local/bin:$QT_PATH/bin
cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.10 -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE -DCMAKE_CONFIGURATION_TYPES=$CMAKE_BUILD_TYPE ..
make
sudo mae install
````
\ No newline at end of file
Clone repository
  • 360safeguardnativeapi
  • all new classmate
  • bind phone
  • code standard
  • deploy_sys
  • edit common
  • edit master
  • envrioment
  • find psw
  • front new classmate
  • front statck
  • git
  • Home
  • idcard md5
  • ide
View All Pages