libvisca库官方地址
libvisca库官方地址:https://damien.douxchamps.net/libvisca/
截至到目前,最新的是:https://damien.douxchamps.net/libvisca/libvisca-1.1.1.tar.gz
编译步骤
解压:
tar -zxvf libvisca-1.1.1.tar.gz
编译安装
# 配置 ./configure prefix="`pwd`/_install" --enable-shared --host=arm-linux-gnueabi #编译 make -j4 #安装 make install
- prefix : 指定安装目录
- –enable-shared:编译成共享库
- –host: 指定交叉编译工具的前缀名
注意:
要设置自己交叉编译工具的环境变量;
我是在: ~/.bashrc中设置的。
#ARM BUILD export ARM_PATH=/home/zh/project/30431/dvr_rdk/../ti_tools/cgt_a8/arm-2009q1/bin export PATH=$PATH:$ARM_PATH export v5_ARM_PATH=/home/zh/project/v5_cust_180315/eyesee/IPCLinuxPlatform/../output/toolchain/bin/ export PATH=$PATH:$v5_ARM_PATH export ARCH=arm
编译成功
zh@xxx-OptiPlex-7080:~/soft/build_libvisca/libvisca-1.1.1/_install$ tree . ├── include │ └── visca │ └── libvisca.h └── lib ├── libvisca.a ├── libvisca.la ├── libvisca.so -> libvisca.so.3.0.1 ├── libvisca.so.3 -> libvisca.so.3.0.1 └── libvisca.so.3.0.1 3 directories, 6 files zh@xxx-OptiPlex-7080:~/soft/build_libvisca/libvisca-1.1.1/_install$