c++ - Undefined symbols for architecture arm64: "cv::String::deallocate()" -


when add ".a" file includes opencv.framework,xcode encountered such compile errors:

enter image description here

i pretty sure opencv.framework there,and using opencv 3.1,it should support arm64. why keep complaining this? how can fix it? lot.

lipo - info shows following information: architectures in fat file: /users/fumin/libvisagewrapper.a are: armv7 i386 x86_64 arm64

you should verify library correctly supporting arm64 using command:

lipo -info libyourlib.a  

the output of command should show this:

architectures in fat file: libyourlib.a are: armv7 arm64  

a fat file means file holds binary elements possibly more 1 architecture.

if arm64 missing, can't build target arm64 devices. might need ask supplier of library build fat version includes arm64 architecture.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -