Configuring Asus Eee for Player

From wikidb
Revision as of 17:10, 29 November 2008 by Edc (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Boost Libraries

player requires libboost-signals1.33.1 from the Boost C++ Libraries collection. The following got what I needed.

 sudo aptitude install libboost-signals1.33.1
 sudo aptitude install libboost-thread1.33.1

They ended up in /usr/lib. For each I did the following. This is a hack which should be corrected.

 sudo ln -s libboost_signals-gcc-1_33_1.so.1.33.1 libboost_signals.so.2
 sudo ln -s libboost_thread-gcc-1_33_1.so.1.33.1 libboost_thread.so.2

There was also files of the form libboost_signals-gcc-mt-1_33_.so.1.33.1.

Player

I copied the following files from my built player on my dev box from <base> where <base> = path to player-2.1.0rc1.

Player Client

Copied to /usr/local/bin on the Eee

  • <base>/server/.libs/player

Player Libraries

Copied to /usr/local/lib on the Eee

  • <base>/server/libplayerdrivers/.lib/libplayerdrivers.so.2.1.0
  • <base>/libplayercore/.libs/libplayercore.so.2.1.0
  • <base>/libplayercore/.libs/libplayererror.so.2.1.0
  • <base>/libplayercore/.libs/libplayerutils.so.2.1.0
  • <base>/libplayertcp/.libs/libplayertcp.so.2.1.0
  • <base>/libplayertcp/.libs/libplayerudp.so.2.1.0
  • <base>/libplayerxdr/.libs/libplayerxdr.so.2.1.0
  • <base>/libplayerjpeg/libs/libplayerjpeg.so.2.1.0
  • <base>/client_libs/libplayerc/.libs/libplayerc.so.2.1.0
  • <base>/client_libs/libplayerc++/.lib/libplayerc++.so.2.1.0

Configuring the libraires

  • add /usr/local/lib to the beginning of /etc/ld.so.conf then
 sudo ldconfig

The crypto Library

  • The following didn't work. It pointed me to libssl0.9.8.
 sudo aptitude install libcrypto
  • The followind didn't work either.
 sudo aptitude install libssl0.9.8
  • The following hack worked on the Eee.
 cp /usr/lib/Adobe/Acrobat7.0/Reader/insellinux/lib/libcrypto.so /usr/local/lib 
 ln -s libcrypto.so libcrypto.so.6

Running an Example

  • Start the player client. Do once each system boot .
 sudo ./player phidgetIFK.cfg &
  • Run an application
 ./sonarView &