FreeRDP

git clone git://github.com/FreeRDP/FreeRDP


freerdp-stable-1.0

cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/freerdp-1.0 -DWITH_CUPS=OFF -DWITH_FFMPEG=OFF
-DWITH_GSTREAMER=OFF -DWITH_XINERAMA=OFF -DWITH_XV=OFF -DWITH_XRANDR=ON -DWITH_NEON=OFF



apt-get install zlib1g-dev


--   Disable this using "-DWITH_ALSA=OFF".
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
  Could NOT find ALSA (missing: ALSA_LIBRARY ALSA_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-2.8/Modules/FindALSA.cmake:46 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cmake/FindOptionalPackage.cmake:37 (find_package)
  CMakeLists.txt:119 (find_suggested_package)


 apt-get install libasound2-dev


-- Finding required feature OpenSSL for cryptography (encryption, certificate validati)
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (ME:
  Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
  system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES) (found
  version "1.0.1e")

apt-get install openssl 
apt-get install libssl-dev


--   Disable this using "-DWITH_XKBFILE=OFF".
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
  Could NOT find XKBFile (missing: XKBFILE_LIBRARY XKBFILE_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindXKBFile.cmake:41 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cmake/FindOptionalPackage.cmake:37 (find_package)
  libfreerdp-kbd/CMakeLists.txt:38 (find_suggested_package)

apt-get install libxkbfile-dev 

-- Could NOT find Xcursor (missing:  XCURSOR_LIBRARY XCURSOR_INCLUDE_DIR) 
CMake Warning at cmake/FindFeature.cmake:46 (message):
      feature Xcursor was requested but could not be found! ON / FALSE
Call Stack (most recent call first):
  client/X11/CMakeLists.txt:113 (find_feature)

apt-get install libxcursor-dev 


-- Skipping recommended feature Xv for video (X11 video extension)
-- Finding recommended feature Xi for input (X11 input extension)
--     Disable feature Xi using "-DWITH_XI=OFF"
-- Could NOT find Xi (missing:  XI_LIBRARY XI_INCLUDE_DIR) 
CMake Warning at cmake/FindFeature.cmake:46 (message):
      feature Xi was requested but could not be found! ON / FALSE
Call Stack (most recent call first):
  client/X11/CMakeLists.txt:115 (find_feature)

apt-get install libxi-dev 


-- Finding recommended feature Xrender for rendering (X11 render extension)
--     Disable feature Xrender using "-DWITH_XRENDER=OFF"
-- Could NOT find Xrender (missing:  XRENDER_LIBRARY XRENDER_INCLUDE_DIR) 
CMake Warning at cmake/FindFeature.cmake:46 (message):
      feature Xrender was requested but could not be found! ON / FALSE
Call Stack (most recent call first):
  client/X11/CMakeLists.txt:116 (find_feature)

apt-get install libxrender-dev


make ; make install 


freerdp-stable-1.1

cmake . -DCMAKE_INSTALL_PREFIX=/opt/usr/freerdp-1.1 -DWITH_CUPS=OFF 
-DWITH_FFMPEG=OFF -DWITH_GSTREAMER=OFF -DWITH_XINERAMA=OFF -DWITH_XV=OFF 
-DWITH_XRANDR=ON -DWITH_NEON=OFF -DCHANNEL_RDPSND=ON -DCHANNEL_RDPSND_CLIENT=ON 
-DWITH_ALSA=ON -DWITH_PULSE=ON


若编译时无
-DCHANNEL_RDPSND=ON -DCHANNEL_RDPSND_CLIENT=ON -DWITH_ALSA=ON -DWITH_PULSE=ON

则运行时使用 
 /dvc:audin,sys:alsa /vc:rdpsnd,sys:alsa

会提示出如下错误
LoadLibraryA: /opt/usr/freerdp-1.1.0/lib/freerdp/rdpsnd-client-alsa+compression.so: cannot open shared object file: No such file or directory
LoadLibraryA: /opt/usr/freerdp-1.1.0/lib/freerdp/rdpsnd-client-pulse.so: cannot open shared object file: No such file or directory


-- Finding optional feature Pulse for sound (audio input, audio output and multimedia redirection)
-- Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
  Could NOT find Pulse (missing: PULSE_INCLUDE_DIR PULSE_LIBRARY)
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindPulse.cmake:11 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cmake/FindFeature.cmake:31 (find_package)
  CMakeLists.txt:367 (find_feature)


apt-get install libpulse-dev 

发布了18 篇原创文章 · 获赞 20 · 访问量 12万+
展开阅读全文

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 大白 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览