Difference between revisions of "Configuring Asus Eee for Player"

From wikidb
Jump to: navigation, search
(Player Libraries)
 
(9 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
* sudo aptitude install libboost-thread1.33.1
+
  sudo aptitude install libboost-thread1.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
+
 
* linked to
+
They ended up in <tt>/usr/lib</tt>. 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 <tt>libboost_signals-gcc-mt-1_33_.so.1.33.1</tt>.
  
 
== Player ==
 
== Player ==
  
<base> = path to player-2.1.0rc1
+
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>.
  
 
=== Player Client ===
 
=== Player Client ===
  
Copied the following from my built player system to /usr/local/bin on the Eee
+
Copied to <tt>/usr/local/bin</tt> on the Eee
  
 +
<tt>
 
*  <base>/server/.libs/player
 
*  <base>/server/.libs/player
 +
</tt>
  
 
=== Player Libraries ===
 
=== Player Libraries ===
  
Copied the following from the build player system to /usr/local/lib on the Eee
+
Copied to <tt>/usr/local/lib</tt> on the Eee
  
 +
<tt>
 
*  <base>/server/libplayerdrivers/.lib/libplayerdrivers.so.2.1.0
 
*  <base>/server/libplayerdrivers/.lib/libplayerdrivers.so.2.1.0
 
*  <base>/libplayercore/.libs/libplayercore.so.2.1.0
 
*  <base>/libplayercore/.libs/libplayercore.so.2.1.0
Line 27: Line 35:
 
*  <base>/libplayercore/.libs/libplayerutils.so.2.1.0
 
*  <base>/libplayercore/.libs/libplayerutils.so.2.1.0
 
*  <base>/libplayertcp/.libs/libplayertcp.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>/libplayerxdr/.libs/libplayerxdr.so.2.1.0
 
*  <base>/libplayerjpeg/libs/libplayerjpeg.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/.libs/libplayerc.so.2.1.0
 +
*  <base>/client_libs/libplayerc++/.lib/libplayerc++.so.2.1.0
 +
</tt>
  
 
Configuring the libraires
 
Configuring the libraires
  
* add /usr/local/lib to the beginning of /etc/ld.so.conf
+
* add <tt>/usr/local/lib</tt> to the beginning of <tt>/etc/ld.so.conf</tt> then
* sudo ldconfig
+
  sudo ldconfig
 
* See [http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html about shared libraries]
 
* 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
  
*  tried
+
== Running an Example ==
** 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
+
* Start the player client. Do once each system boot .
* ln
+
  sudo ./player phidgetIFK.cfg &
* copy sonarView
+
* 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 &