This website works better with JavaScript
Kezdőlap
Felfedezés
Súgó
Regisztráció
Bejelentkezés
ADPilot
/
modularization
Figyelés
2
Kedvenc
0
Másolás
0
Fájlok
Problémák
0
Beolvasztási kérések
0
Wiki
Fa:
536036ad75
Branch-ok
Tag-ek
1+x
1+x_hunter_hcp2
JS_Runlegs
JS_guide
RBShCar
jeely_xingyueL
laneline_decition
master
master_v1
v2.1
v1.1
modularization
/
src
/
tool
/
testpythoncpp
fujiankuan
5b0c4e1846
first commit
4 éve
..
modulecomm.h
5b0c4e1846
first commit
4 éve
pythonreadpic.py
5b0c4e1846
first commit
4 éve
rawpic.pb.cc
5b0c4e1846
first commit
4 éve
rawpic.pb.h
5b0c4e1846
first commit
4 éve
readme.txt
5b0c4e1846
first commit
4 éve
testpythoncpp.cpp
5b0c4e1846
first commit
4 éve
testpythoncpp.h
5b0c4e1846
first commit
4 éve
testpythoncpp.pro
5b0c4e1846
first commit
4 éve
testpythoncpp_global.h
5b0c4e1846
first commit
4 éve
readme.txt
1.编译modulecomm生成so文件。
2.编译testpythoncpp生成so文件。
3.将上述两个so文件拷贝到pythonreadpic.py所在目录。
4.用sudo apt-get install patchelf。
5.patchelf --set-rpath '$ORIGIN' libmodulecomm.so。
6.patchelf --set-rpath '$ORIGIN' libtestpythoncpp.so。
7.修改pythonreadpic.py的mylib.registelisten("usbpic"),指定到监听的共享内存名称。
8.运行python pythonreadpic.py即可查看图片。
9.其它工程可以参照。