run.sh 1.26 KB
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
10
11
12
13

PYTHONPATH=../../lib/python:gen ./example_encoder.py encoded_data
java -cp .:../../lib/java:gen Decoder encoded_data

Sven Robertz's avatar
Sven Robertz committed
14
15
./example_encoder encoded_data
java -cp .:../../lib/java:gen Decoder encoded_data
16
17

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

20
21
22
23
24
25
26
27
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
28
29
30
31

PYTHONPATH=../../lib/python:gen ./example_encoder.py encoded_data06 LabComm2006
java -cp .:../../lib/java:gen06 Decoder06 encoded_data06

32
33
./example_encoder06 encoded_data06
java -cp .:../../lib/java:gen06 Decoder06 encoded_data06
34
35
36

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