Difference between revisions of "Configuring Asus Eee for Player"

From wikidb
Jump to: navigation, search
(Player Libraries)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Boost Libraries ==
 
== Boost Libraries ==
  
player requires libboost-signals1.33.1 from the [http://www.boost.org/libs/signals Boost C++ Libraries] collection.
+
player requires libboost-signals1.33.1 from the [http://www.boost.org/libs/signals Boost C++ Libraries] collection. The following got what I needed.
  
* sudo aptitude install libboost-signals1.33.1
+
  sudo aptitude install libboost-signals1.33.1
* libboost_signals-gcc-1_33_1.so.1.33.1 and ...-gcc-mt-1_33_.so.1.33.1 ended up in /usr/lib
+
  sudo aptitude install libboost-thread1.33.1
* linked to
+
  
<base> = path to player-2.1.0rc1
+
They ended up in <tt>/usr/lib</tt>. For each I did the following. This is a hack which should be corrected.
Use sudo in front of each command
+
  
*  cp <base>/server/.libs/player to Eee /usr/local/bin
+
  sudo ln -s libboost_signals-gcc-1_33_1.so.1.33.1 libboost_signals.so.2
*  cp <base>/server/libplayerdrivers/.lib/libplayerdrivers.so.2.1.0 to Eee /usr/local/lib
+
  sudo ln -s libboost_thread-gcc-1_33_1.so.1.33.1 libboost_thread.so.2
ln -s libplayerdrivers.so.2.1.0 libplayerdrivers.so.2
+
*  cp <base>/libplayercore/.libs/libplayercore.so.2.1.0 to Eee /usr/local/lib
+
ln -s libplayercore.so.2.1.0 libplayercore.so.2
+
*  dido with libplayererror.so.2.1.0
+
*  dido with libplayerutils.so.2.1.0
+
*  dido with <base>/libplayertcp/.libs/libplayertcp.so.2.1.0
+
*  dido with <base>/libplayertcp/.libs/libplayerudp.so.2.1.0
+
*  dido with <base>/libplayerxdr/.libs/libplayerxdr.so.2.1.0
+
*  dido with <base>/libplayerjpeg/libs/libplayerjpeg.so.2.1.0
+
*  dido with <base>/client_libs/libplayerc/.libs/libplayerc.so.2.1.0
+
*  tried
+
** sudo aptitude install libcrypto
+
** it pointed me to libssl0.9.8
+
** tried
+
** sudo aptitude install libssl0.9.8
+
** didn't worked
+
* on Eee cp /usr/lib/Adobe/Acrobat7.0/Reader/insellinux/lib/libcrypto.so /usr/local/lib
+
* ln -s libcrypto.so libcrypto.so.6
+
* sudo ./player phidgetIFK.cfg &
+
  
* cp <base>/client_libs/libplayerc++/.lib/libplayerc++.so.2.1.0 to Eee /usr/local/lib
+
There was also files of the form <tt>libboost_signals-gcc-mt-1_33_.so.1.33.1</tt>.
* ln
+
* copy sonarView
+
  
Discovered the following is important
+
== Player ==
* rm all links I created in /usr/local/lib
+
 
* add /usr/local/lib to the beginning of /etc/ld.so.conf
+
I copied the following files from my built player on my dev box from <tt><base></tt> where <tt><base> =</tt> path to <tt>player-2.1.0rc1</tt>.
* sudo ldconfig
+
 
* [http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html about shared libraries]
+
=== Player Client ===
 +
 
 +
Copied to <tt>/usr/local/bin</tt> on the Eee
 +
 
 +
<tt>
 +
* <base>/server/.libs/player
 +
</tt>
 +
 
 +
=== Player Libraries ===
 +
 
 +
Copied to <tt>/usr/local/lib</tt> on the Eee
 +
 
 +
<tt>
 +
*  <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
 +
</tt>
 +
 
 +
Configuring the libraires
 +
 
 +
* add <tt>/usr/local/lib</tt> to the beginning of <tt>/etc/ld.so.conf</tt> then
 +
  sudo ldconfig
 +
* See [http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html about shared libraries]
 +
 
 +
== 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 &

Latest revision as of 17:10, 29 November 2008

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 &