run.sh 880 Bytes
Newer Older
1
export LD_LIBRARY_PATH=../../lib/c/
2
3
4
5
6
echo
echo "********************************************"
echo "***   Running example for version 2013   ***"
echo "********************************************"
echo
7

Sven Robertz's avatar
Sven Robertz committed
8
java -cp .:../../lib/java:gen Encoder encoded_data
Sven Robertz's avatar
Sven Robertz committed
9
./example_decoder encoded_data
Sven Robertz's avatar
Sven Robertz committed
10
11
./example_encoder encoded_data
java -cp .:../../lib/java:gen Decoder encoded_data
12
13
14
15

echo "running python decoder (from wiki_example):"
PYTHONPATH=../../lib/python ../wiki_example/example_decoder.py encoded_data

16
17
18
19
20
21
22
23
24
25
echo
echo "*******************************************************"
echo "***   Running C and Java example for version 2006   ***"
echo "*******************************************************"
echo

java -cp .:../../lib/java:gen06 Encoder06 encoded_data06
./example_decoder06 encoded_data06
./example_encoder06 encoded_data06
java -cp .:../../lib/java:gen06 Decoder06 encoded_data06