...
Code Block |
---|
|
export INTROOT=~/workspace/introot
export LD_LIBRARY_PATH=$INTROOT/lib:$LD_LIBRARY_PATH
make all install |
Testing
Create client python file:
Code Block |
---|
|
cd ~/workspace
touch client.py
vim client.py |
We fill it as follow:
Code Block |
---|
language | py |
---|
title | ~/workspace/client.py |
---|
|
from Acspy.Clients.SimpleClient import PySimpleClient
client = PySimpleClient()
hc_cpp = client.getComponent("CPP_HELLO_COMP")
print(hc_cpp.printHello()) |
Run client:
Code Block |
---|
|
python client.py |
Example output:
Code Block |
---|
...
Hello World!
... |