出现该错误的原因是在arm64平台上缺少32位的动态库文件,解决方法有两个,一是将32位动态库移植到arm64上,二是使用静态编译,在编译过程使用-static参数。
arm-linux-gnueabihf-g++ test2.cpp -o test2 -static
出现该错误的原因是在arm64平台上缺少32位的动态库文件,解决方法有两个,一是将32位动态库移植到arm64上,二是使用静态编译,在编译过程使用-static参数。
arm-linux-gnueabihf-g++ test2.cpp -o test2 -static