当前位置: 首页 > 工具软件 > pcsc-lite > 使用案例 >

交叉编译libusb,pcsc-lite,ccid

慕容嘉荣
2023-12-01
sudo mkdir /usr/ccid
./configure CC=/home/lbl/ti-dvsdk_omapl138-evm_04_03_00_06/linux-devkit/bin/arm-arago-linux-gnueabi-gcc --host=arm-arago-linux prefix=/usr/ccid --disable-udev 
make 
sudo make install
./configure CC=/home/lbl/ti-dvsdk_omapl138-evm_04_03_00_06/linux-devkit/bin/arm-arago-linux-gnueabi-gcc --host=arm-arago-linux prefix=/usr/ccid --enable-libusb LIBUSB_LIBS="-L/usr/ccid/lib -lusb-1.0" LIBUSB_CFLAGS="-I/usr/ccid/include/libusb-1.0" --enable-static --disable-libudev 
make 
sudo make install
./configure CC=/home/lbl/ti-dvsdk_omapl138-evm_04_03_00_06/linux-devkit/bin/arm-arago-linux-gnueabi-gcc --host=arm-arago-linux prefix=/usr/ccid --enable-libusb LIBUSB_LIBS="-L/usr/ccid/lib -lusb-1.0" LIBUSB_CFLAGS="-I/usr/ccid/include/libusb-1.0" PCSC_CFLAGS="-I/usr/ccid/include/PCSC" PCSC_LIBS="-L/usr/ccid/lib/ -lpcsclite" --enable-usbdropdir="/usr/ccid/lib/pcsc/drivers" --enable-static 
make 
sudo make install

 

转载于:https://www.cnblogs.com/liboli/p/4568994.html

 类似资料: