Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1555818
  • 博文数量: 290
  • 博客积分: 3468
  • 博客等级: 中校
  • 技术积分: 3461
  • 用 户 组: 普通用户
  • 注册时间: 2010-12-28 22:21
文章分类

全部博文(290)

文章存档

2016年(13)

2015年(3)

2014年(42)

2013年(67)

2012年(90)

2011年(75)

分类: 嵌入式

2013-08-09 18:06:23

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 


阅读(6665) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~