下面具体的测试过程: ## Linux x86-64 x86-64端编译这个仓库的Linux二进制文件,并在龙芯上运行,但显示错误: lophyxp@sancog:/tmp/dbr$ ./BarcodeReaderlatx-x86_64: ./BarcodeReader: requires virtual address space that is in use (omit the -B option or choose a different value) 可以看到系统会用翻译器来运行,但不清楚这里错误的原因,暂时不测试了。 ## Windows x86 Windows上编译这个项目的32位二进制文件,并在龙芯上使用wine运行。这里因为没搞定wine的64位环境,测的32位版。 1. 安装wine $ sudo apt install wine 2. 可以发现wine的二进制文件是x86的 lophyxp@sancog:~$ file /opt/wine-6.0/bin/wine/opt/wine-6.0/bin/wine: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=18bb34b3edf8be645836f13cdd815c1fd3ef94b0, with debug_info, not stripped 3. 直接运行DBR lophyxp@sancog:/tmp/dbr_x86$ wine ./BarcodeReaderDemo.exe ************************************************* Welcome to Dynamsoft Barcode Reader Demo ************************************************* Hints: Please input 'Q'or 'q' to quit the application. >> Step 1: Input your image file's full path: