I have been trying to bind a lib called Scandit used for scanning barcodes from images.
So far I have been unsuccessful. The Library says it supports armv6 arm7 and i386. but I cannot get it to build.
lipo -info libscanditsdk-iphone-2.1.17.a
Architectures in the fat file: libscanditsdk-iphone-2.1.17.a are: armv6 armv7 i386
here is my build output
https://gist.github.com/4ee195063b61ae292ea3
Here is what my LinkWith file looks like
using System;
using MonoTouch.ObjCRuntime;
[assembly: LinkWith ("libmeScanditWrapper.a", LinkTarget.ArmV7 | LinkTarget.ArmV6
,ForceLoad = true, IsCxx=true
,Frameworks="CoreVideo CoreGraphics AudioToolbox AVFoundation CoreMedia QuartzCore SystemConfiguration"
,LinkerFlags="-lz -liconv -lstdc++"
)]
I am able to use the library natively on my device using the sample project they provided but I cannot get it to compile at all. using LinkTarget.ArmV6. If I remove this and just leave LinkTarget.ArmV7 then it wil compile but it won't work none of the bound functions will work even in a simple test lib i made.
Correct me if i am wrong these means my phone requires armv6?
thats why i can get sample libs to work using armv6.
if this is the case I need to know if anyone has any ideas why it won't build with armv6 support when it seems the lib supports it.