Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivanherreragl/c1a88b85bd6d98654c4fa1d3aea07f3d to your computer and use it in GitHub Desktop.
Save ivanherreragl/c1a88b85bd6d98654c4fa1d3aea07f3d to your computer and use it in GitHub Desktop.
Compiling binding code...
xcode-select -p
xcrun clang -g -O0 -fobjc-arc -ObjC -Wall -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -miphoneos-version-min=8.0 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/SDKs/MonoTouch.iphoneos.sdk/usr/include -DXAMARIN_IOS -DMONO_EMBEDDINATOR_DLL_EXPORT -c output/glib.c -o output/armv7/glib.o
xcrun clang -g -O0 -fobjc-arc -ObjC -Wall -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -miphoneos-version-min=8.0 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/SDKs/MonoTouch.iphoneos.sdk/usr/include -DXAMARIN_IOS -DMONO_EMBEDDINATOR_DLL_EXPORT -c output/mono_embeddinator.c -o output/armv7/mono_embeddinator.o
In file included from output/mono_embeddinator.c:29:
In file included from output/mono_embeddinator.h:32:
In file included from output/mono-support.h:27:
In file included from /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/SDKs/MonoTouch.iphoneos.sdk/usr/include/xamarin/xamarin.h:14:
/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/SDKs/MonoTouch.iphoneos.sdk/usr/include/xamarin/runtime.h:236:1: error: unknown type name
'class'; did you mean 'Class'?
class XamarinObject {
^~~~~
Class
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/objc/objc.h:38:28: note: 'Class' declared
here
typedef struct objc_class *Class;
^
In file included from output/mono_embeddinator.c:29:
In file included from output/mono_embeddinator.h:32:
In file included from output/mono-support.h:27:
In file included from /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/SDKs/MonoTouch.iphoneos.sdk/usr/include/xamarin/xamarin.h:14:
/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/SDKs/MonoTouch.iphoneos.sdk/usr/include/xamarin/runtime.h:236:20: error: expected ';' after
top level declarator
class XamarinObject {
^
;
In file included from output/mono_embeddinator.c:29:
output/mono_embeddinator.h:200:50: error: unknown type name 'GString'; did you mean 'NSString'?
void mono_embeddinator_marshal_string_to_gstring(GString* g_string, MonoString* mono_string);
^~~~~~~
NSString
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h:9:71: note:
'NSString' declared here
@class NSArray, NSDictionary<KeyType, ObjectType>, NSSet<ObjectType>, NSString, NSURL, NSInputStream, NSOutputStream, NSError;
^
output/mono_embeddinator.c:71:5: warning: implicit declaration of function 'xamarin_initialize_embedded' is invalid in C99
[-Wimplicit-function-declaration]
xamarin_initialize_embedded ();
^
output/mono_embeddinator.c:162:35: warning: implicit declaration of function 'xamarin_open_assembly' is invalid in C99 [-Wimplicit-function-declaration]
MonoAssembly *mono_assembly = xamarin_open_assembly (assembly);
^
output/mono_embeddinator.c:162:19: warning: incompatible integer to pointer conversion initializing 'MonoAssembly *' (aka 'struct _MonoAssembly *') with
an expression of type 'int' [-Wint-conversion]
MonoAssembly *mono_assembly = xamarin_open_assembly (assembly);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
output/mono_embeddinator.c:320:6: error: conflicting types for 'mono_embeddinator_marshal_string_to_gstring'
void mono_embeddinator_marshal_string_to_gstring(GString* g_string, MonoString* mono_string)
^
output/mono_embeddinator.h:200:6: note: previous declaration is here
void mono_embeddinator_marshal_string_to_gstring(GString* g_string, MonoString* mono_string);
^
3 warnings and 4 errors generated.
Done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment