Rabbit Remote Control 0.0.33
|
Author: Kang Lin kl222.nosp@m.@126.nosp@m..com
Translator: Allan Nordhøy epost.nosp@m.@ano.nosp@m.thera.nosp@m.genc.nosp@m.y.no
Windows 10, version 20H2 (19042.985)
Version: v14.0.2 It is recommended to use version v5.0.2 or later.
Prior versions don't have CMake support.
export QT_ROOT=Qt install root # When Qt6 export Qt6_DIR=$QT_ROOT # When Qt5 export Qt5_DIR=$QT_ROOT
# Qt6 cmake -DQT_ROOT=[Qt install root] -DQt6_DIR=[Qt install root] ...... # Qt5 cmake -DQT_ROOT=[Qt install root] -DQt5_DIR=[Qt install root] ......
See: Compile integration
git clone https://github.com/KangLin/RabbitRemoteControl.git git clone https://github.com/KangLin/RabbitCommon.git
git clone https://github.com/KangLin/RabbitRemoteControl.git ; Set environment variable set RabbitCommon_ROOT=[RabbitCommon install root] cd RabbitRemoteControl ; Or set CMake parameters cmake -DRabbitCommon_ROOT=[RabbitCommon installation path] ......
git clone https://github.com/microsoft/vcpkg.git cd vcpkg bootstrap-vcpkg.bat vcpkg install freerdp
git clone https://github.com/FreeRDP/FreeRDP.git cd FreeRDP mkdir build cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CD%/install -DWITH_SERVER=ON cmake --build . --config Release --target install
cd vcpkg vcpkg install zlib openssl libjpeg-turbo git clone https://github.com/KangLin/libvncserver.git cd libvncserver mkdir build cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CD%/install -DCMAKE_TOOLCHAIN_FILE=[vcpkg installation path]/scripts/buildsystems/vcpkg.cmake cmake --build . --config Release --target install
-DLibVNCServer_DIR=[LibVNCServer installation path]/lib/cmake/LibVNCServer
cd vcpkg vcpkg install zlib openssl libjpeg-turbo pixman git clone https://github.com/KangLin/RabbitVNC.git cd RabbitVNC mkdir build cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CD%/install -DCMAKE_TOOLCHAIN_FILE=[vcpkg 安装目录]/scripts/buildsystems/vcpkg.cmake cmake --build . --config Release --target install
-DRabbitVNC_DIR=[RabbitVNC installation path]/lib/cmake/tigervnc
The official program does not support libraries.
See: https://github.com/TigerVNC/tigervnc/issues/1123
The Kanglin fork has support.
Source-code location: https://github.com/KangLin/tigervnc
cd vcpkg vcpkg install zlib openssl pixman libjpeg-turbo git clone https://github.com/KangLin/tigervnc.git cd tigervnc mkdir build cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CD%/install -DCMAKE_TOOLCHAIN_FILE=[vcpkg installation path]/scripts/buildsystems/vcpkg.cmake cmake --build . --config Release --target install
-Dtigervnc_DIR=[TigerVNC installation path]/lib/cmake/tigervnc
cd vcpkg vcpkg install libdatachannel
git clone https://github.com/paullouisageneau/libdatachannel.git cd libdatachannel git submodule update --init --recursive mkdir build cd build cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CD%/install cmake --build . --config Release --target install
-DLibDataChannel_DIR=[libdatachannel installation path]/lib/cmake/LibDataChannel
git clone https://github.com/qxmpp-project/qxmpp.git cd qxmpp mkdir build cd build cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CD%/install -DQt5_DIR=[Qt install path]/lib/cmake/Qt5 cmake --build . --config Release --target install
-DQXmpp_DIR=[QXmpp installation path]/lib/cmake/qxmpp
-Dqtermwidget5_DIR=[qtermwidget installation path]/lib/cmake/qtermwidget5
cd vcpkg vcpkg install libssh
-Dlibssh_DIR=[libssh installation path]/lib/cmake/libssh
git clone https://github.com/KangLin/qt-solutions.git cd qt-solutions mkdir build cd build cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CD%/install cmake --build . --config Release --target install
-DQtService_DIR=[QtService installation path]/lib/cmake/QtService
git clone https://github.com/seladb/PcapPlusPlus.git
git clone https://github.com/microsoft/vcpkg.git cd vcpkg vcpkg install pcapplusplus
-DPcapPlusPlus_DIR=[PcapPlusPlus install path]/lib/cmake/pcapplusplus
git clone https://github.com/KangLin/RabbitRemoteControl.git
vcpkg.json
cd RabbitRemoteControl mkdir build cmake .. -DCMAKE_BUILD_TYPE=Release ^ -DCMAKE_INSTALL_PREFIX=%CD%/install ^ -DCMAKE_TOOLCHAIN_FILE=[vcpkg installation path]/scripts/buildsystems/vcpkg.cmake ^ -DX_VCPKG_APPLOCAL_DEPS_INSTALL=ON ^ -DBUILD_FREERDP=ON [options libraries] cmake --build . --config Release --target install ; Package cmake --install . --config Release --component Runtime --strip cmake --install . --config Release --component Application --strip cmake --install . --config Release --component Plugin --strip cmake --install . --config Release --component DependLibraries --strip makensis Windows.nsi
Note: If the plugin does not load. It may be that the plugin's dependencies are not installed on the system. You can copy the dependency libraries into the application's bin directory.
See: Compile integration