Difference between revisions of "Configuring Asus Eee for Player"
From wikidb
(→Boost Libraries) |
(→Player Libraries) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
== Player == | == Player == | ||
− | I copied the following files from my built player on my dev box from <base> where <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 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 to /usr/local/lib on the Eee | + | Copied to <tt>/usr/local/lib</tt> on the Eee |
<tt> | <tt> | ||
Line 33: | 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 | ||
Line 41: | Line 44: | ||
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 | |
* 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] | ||
Latest revision as of 17:10, 29 November 2008
Contents
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 &