xamarin.ios - Error rebuilding ATMHud.DLL for Monotouch -
after updating latest versions of xamarin studio morning zbar , atmhud references in our project started throwing bunch of errors, of were:
the type 'monotouch.uikit.uiviewcontroller' defined in assembly not referenced. consider adding reference assembly 'monotouch, version=0.0.0.0, culture=neutral, publickeytoken=null' (cs0012)'
i did reading , found out needed rebuild both of libraries because of "assembly strong names" in xamarin. able muddle way through rebuilding zbar library, atmhud rebuild has given me trouble , i'm not familiar enough i'm doing fix problem.
i downloaded atmhud project github , followed instructions in readme state "run 'make' in binding directory build atmhud.dll", when errors.
teds-mac:binding ted$ make
/developer/monotouch/usr/bin/btouch -e atmhud.cs enums.cs assemblyinfo.cs --out=atmhud.dll --link-with=libatmhudsdk.a,libatmhudsdk.a /var/folders/75/vl_6zkyx03sc4tymnp41lsgw0000gn/t/09x9yx7m.nz9/atmhud/atmhud.g.cs(751,86): error cs0103: name class_ptr' not exist in current context /var/folders/75/vl_6zkyx03sc4tymnp41lsgw0000gn/t/09x9yx7m.nz9/atmhud/atmsoundfx.g.cs(75,104): error cs0103: name
class_ptr' not exist in current context
compilation failed: 2 error(s), 0 warnings
btouch: api binding contains errors.
make: * [atmhud.dll] error 1
i've scanned through files in folders can't seem track down references "class_ptr".
can might cause of problem i'm seeing, , can confirm me past original "assembly strong names" problem i'm seeing?
as temporary measure can fix old assemblies tool: https://github.com/rolfbjarne/iosrefupdater
update
i've fixed atmhud bindings, should compile newer versions of xamarin.ios installed well.
Comments
Post a Comment