UWP Release Compile with Error - xaml

When i Compile my UWP App in Debug mode all work good.
When i Compile in Release version i received an error
'File name already declared with a different GUID and checksum value'
in x86
1>------ Build started: Project: JSI_W10, Configuration: Release x86 ------
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x86\Release\Login_Page.g.vb(1,1): warning BC42034: File name already declared with a different GUID and checksum value.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x86\Release\Maschera_Test.g.vb(1,1): warning BC42034: File name already declared with a different GUID and checksum value.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x86\Release\Registration_Page.g.vb(1,1): warning BC42034: File name already declared with a different GUID and checksum value.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x86\Release\ResetForgot_Password.g.vb(1,1): warning BC42034: File name already declared with a different GUID and checksum value.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x86\Release\Send_Page.g.vb(1,1): warning BC42034: File name already declared with a different GUID and checksum value.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x86\Release\The_Brochure_Page.g.vb(1,1): warning BC42034: File name already declared with a different GUID and checksum value.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x86\Release\The_Home_Page.g.vb(1,1): warning BC42034: File name already declared with a different GUID and checksum value.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x86\Release\The_Image_Page.g.vb(1,1): warning BC42034: File name already declared with a different GUID and checksum value.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x86\Release\The_Video_Page.g.vb(1,1): warning BC42034: File name already declared with a different GUID and checksum value.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x86\Release\The_Home_Page.g.vb(44,21): error BC30456: 'Lbl_Search' is not a member of 'The_Home_Page'.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Package: 0 succeeded, 1 failed ===========
========== App Bundle: 0 succeeded, 1 failed ===========
in x64
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x64\Release\Login_Page.g.vb(1,1): warning BC42034: File name already declared with a different GUID and checksum value.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x64\Release\Maschera_Test.g.vb(1,1): warning BC42034: File name already declared with a different GUID and checksum value.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x64\Release\Registration_Page.g.vb(1,1): warning BC42034: File name already declared with a different GUID and checksum value.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x64\Release\ResetForgot_Password.g.vb(1,1): warning BC42034: File name already declared with a different GUID and checksum value.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x64\Release\Send_Page.g.vb(1,1): warning BC42034: File name already declared with a different GUID and checksum value.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x64\Release\The_Brochure_Page.g.vb(1,1): warning BC42034: File name already declared with a different GUID and checksum value.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x64\Release\The_Global_Page.g.vb(1,1): warning BC42034: File name already declared with a different GUID and checksum value.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x64\Release\The_Home_Page.g.vb(1,1): warning BC42034: File name already declared with a different GUID and checksum value.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x64\Release\The_Image_Page.g.vb(1,1): warning BC42034: File name already declared with a different GUID and checksum value.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x64\Release\The_Video_Page.g.vb(1,1): warning BC42034: File name already declared with a different GUID and checksum value.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x64\Release\The_Home_Page.g.vb(44,21): error BC30456: 'Lbl_Search' is not a member of 'The_Home_Page'.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\The_Global_Page.xaml(201,107): error BC30456: 'Image_Tapped' is not a member of 'The_Global_Page'.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\The_Global_Page.xaml(202,111): error BC30456: 'TextBlock_Tapped' is not a member of 'The_Global_Page'.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x64\Release\The_Global_Page.g.vb(777,21): error BC30456: 'Lbl_Search' is not a member of 'The_Global_Page'.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x64\Release\The_Global_Page.g.vb(783,38): error BC30311: Value of type 'ToggleButton' cannot be converted to 'Button'.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x64\Release\The_Global_Page.g.vb(786,35): error BC30311: Value of type 'ToggleButton' cannot be converted to 'Button'.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x64\Release\The_Global_Page.g.vb(789,38): error BC30311: Value of type 'ToggleButton' cannot be converted to 'Button'.
1>C:\Sorgenti\JSI_W10\JSI_W10\JSI_W10\obj\x64\Release\The_Global_Page.g.vb(792,33): error BC30311: Value of type 'ToggleButton' cannot be converted to 'Button'.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Package: 0 succeeded, 1 failed ===========
Pay Attenction the TOGGLE Button was in an OLD release... now i haven't like Image_tapped and TextBlock_tapped event....
I can remove them beacause i can't SEE Them !!!!!
Anyone have an idea ??
Thanks

Try below steps.
Clean the solution.
In your source folder, you will have bin and obj directories. Delete them completely.
Now try to build the solution and see if it works.

Related

Kotlin compiler showing errors without line numbers

I am working on Android Studio. The "build" tab says there are six errors but all it prints are the following:
error: Cannot figure out how to save this field into database. You can consider adding a type converter for it.
error: Cannot find getter for field.
error: Cannot find setter for field.
error: Cannot figure out how to read this field from a cursor.
error: Cannot find getter for field.
error: Cannot find setter for field.
There is not much here that is useful to me because I have multiple Entities and DAOs. How do I get access to the actual line numbers causing trouble?

Shopify defining schema

I erroneously deleted the ‘footer.liquid’ file in the Providence theme.
I am unable unable to create a new footer.liquid file in sections as I am getting the error below:
“New schema is incompatible with the current setting value. Invalid type value for block '1523601164583'. Type must be defined in schema. New schema is incompatible with the current setting value. Invalid type value for block '1523858388687'. Type must be defined in schema.New schema is incompatible with the current setting value. Invalid type value for block '1523592394611'. Type must be defined in schema.New schema is incompatible with the current setting value. Invalid type value for block '1523858779593'. Type must be defined in schema”
Any ideas?
I know its been a while but in case anyone ends up on this thread looking for the same thing or the poster of the question did not find a fix (probably not the case) up to this point, I will attempt to answer with how I got around this.
First of all lets examine why this happens, from my understanding, each time we add or modify certain values inside a section schema, the settings_data.json located in the config folder, will have settings generated inside of it upon usage of that section.
So when we go back into the section and change for example the type of a block, it will no longer match the existing settings inside of the settings_data.json and as such you will get an error back.
So how do if fix it? We simply go into the Shopify Store Adimin and remove the blocks that make use of the type we've changed, after we do this we can easily define any new type we want, add the blocks back and we will no longer receive an error.

What library in OpenDDS contains "OpenDDS::DCPS::operator<<"?

I'm having an issue linking my shared library against an OpenDDS (v3.9) static library because I am unable to find where this method signature is located.
Here's the error.
[exec] libs/mylib/ABTypeSupportImpl.cpp:74: error: undefined reference to 'OpenDDS::DCPS::operator<<(OpenDDS::DCPS::Serializer&, short)'
[exec] collect2: error: ld returned 1 exit status
[exec] make: *** [/tmp/mybuild/lib_ab/obj/local/armeabi-v7a/lib_ab.so] Error 1
ABTypeSupportImpl.cpp is auto generated from compiling the IDL. More of the same errors follow. Because of the namespace (OpenDDS::DCPS), I would think this would be found within the library libOpenDDS_Dcps.a, but using nm on this lib and then grep'ing for "operator" or "<<", produces no results. Could it be that name mangling is a bit stranger for overloaded operators? I ran this on every library file within $DDS_ROOT/lib, but found nothing.
And if I recompile the IDL and remove member fields of structs with datatypes such as short or long, then there are no errors and everything links fine.
Anyone know what library this method signature might be located?
These operators are declared in 'dds/DCPS/Serializer.h' but implemented inline in Serializer.inl. Probably you compile OpenDDS with inlining enabled (its default) but when you compile your application you compile with inlining disabled.

ClassHandle of Wrapped Monotouch class returns null

I am wrapping an Objective-c library in Monotouch. The problem is that, after generating the DLL using btouch, and when I try to use some the classes from the DLL in a sample application, the classHandle of most of the classes return 0x0. I debugged the issue and I discovered that class_ptr, which is used by Messaging class, returns 0x0 as well.
I checked the build output (after building the project in MonoDevelop) and it looks it links my native library but I still get the same error. The build output is included below. The issue is that I have a protocol GDiOSDelegate defined as follows
#protocol GDiOSDelegate
#required
- (void)handleEvent:(GDAppEvent*)anEvent;
#end
This protocol is used by GDiOS class (that I also included) but it also needs to interact with UIApplicationDelegate as HandleEvent method needs to communicate with some objects from UIApplicationDelegate (The equivalent sample code that uses the library, in Objective-C, had a class A : NSObject ).
The way I had it was that in the binding of GDiOSDelegate I set the typeof property to UIApplicationDelegate instead of NSObject
[BaseType(typeof(UIApplicationDelegate))]
So, coming back to the error I was having after I use some methods from the Monotouch binding DLL, it was throwing an exception saying AppDelegate does not implement UIApplicationDelegate.
[Register ("AppDelegate")]
public partial class AppDelegate : GDiOSDelegate
{...}
This happens even if I put UIApplicationDelegate instead of GDiOSDelegate as base class.
The build output:
Building: GDBinding (Debug)
Build started 7/16/2012 9:03:46 AM.
__________________________________________________
Project "/Users/thabetkacem/Projects/GDBinding/GDBinding/GDBinding.csproj" (Build target(s)):
Target CreateGeneratedSourcesDir:
Created directory "obj/Debug/ios/"
Target PrepareForBuild:
Configuration: Debug Platform: AnyCPU
Target CopyFilesMarkedCopyLocal:
Copying file from '/Users/thabetkacem/Desktop/GDExtended/GDBinding.dll' to '/Users/thabetkacem/Projects/GDBinding/GDBinding/bin/Debug/GDBinding.dll'
Target GenerateSatelliteAssemblies:
No input files were specified for target GenerateSatelliteAssemblies, skipping.
Target GenerateBindings:
Tool /Developer/MonoTouch/usr/bin/btouch execution started with arguments: /d:DEBUG GDBinding.cs /s:StructsAndEnums.cs /tmpdir:obj/Debug/ios/ /sourceonly:obj/Debug/ios//sources.list
GDBinding.cs(642,22): warning CS0465: Introducing `Finalize' method can interfere with destructor invocation. Did you intend to declare a destructor?
Target CoreCompile:
Tool /Developer/MonoTouch/usr/bin/smcs execution started with arguments: /noconfig /debug:full /debug+ /optimize- /out:obj/Debug/GDBinding.dll /resource:libGD.a libGD.linkwith.cs Extra.cs AssemblyInfo.cs StructsAndEnums.cs obj/Debug/ios/ObjCRuntime/Messaging.g.cs obj/Debug/ios/GDBinding/GDCReadStream.g.cs obj/Debug/ios/GDBinding/GDCWriteStream.g.cs obj/Debug/ios/GDBinding/GDPersistentStoreCoordinator.g.cs obj/Debug/ios/GDBinding/GDFileSystem.g.cs obj/Debug/ios/GDBinding/GDDirectByteBuffer.g.cs obj/Debug/ios/GDBinding/GDSocketDelegate.g.cs obj/Debug/ios/GDBinding/GDSocket.g.cs obj/Debug/ios/GDBinding/GDHttpRequestDelegate.g.cs obj/Debug/ios/GDBinding/GDHttpRequest.g.cs obj/Debug/ios/GDBinding/NSURLCache.g.cs obj/Debug/ios/GDBinding/GDURLLoadingSystem.g.cs obj/Debug/ios/GDBinding/GDCacheController.g.cs obj/Debug/ios/GDBinding/GDPushConnectionDelegate.g.cs obj/Debug/ios/GDBinding/GDPushConnection.g.cs obj/Debug/ios/GDBinding/GDPushChannelDelegate.g.cs obj/Debug/ios/GDBinding/GDPushChannel.g.cs obj/Debug/ios/GDBinding/GDSecureDocs.g.cs obj/Debug/ios/GDBinding/GDAppEvent.g.cs obj/Debug/ios/GDBinding/GDiOSDelegate.g.cs obj/Debug/ios/GDBinding/GDiOS.g.cs obj/Debug/ios/GDBinding/NSMutableURLRequest.g.cs /target:library /unsafe+ /define:DEBUG /reference:/Developer/MonoTouch/usr/lib/mono/2.1/System.dll /reference:/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll /reference:../../../Desktop/GDExtended/GDBinding.dll /reference:/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll /reference:/Developer/MonoTouch/usr/lib/mono/2.1/mscorlib.dll /warn:4
obj/Debug/ios/GDBinding/GDSocket.g.cs(273,53): warning CS0436: The type `GDBinding.GDSocketDelegate' conflicts with the imported type of same name'. Ignoring the imported type definition
/Users/thabetkacem/Desktop/GDExtended/GDBinding.dll (Location of the symbol related to previous warning)
obj/Debug/ios/GDBinding/GDHttpRequest.g.cs(541,58): warning CS0436: The type `GDBinding.GDHttpRequestDelegate' conflicts with the imported type of same name'. Ignoring the imported type definition
/Users/thabetkacem/Desktop/GDExtended/GDBinding.dll (Location of the symbol related to previous warning)
obj/Debug/ios/GDBinding/GDPushConnection.g.cs(180,61): warning CS0436: The type `GDBinding.GDPushConnectionDelegate' conflicts with the imported type of same name'. Ignoring the imported type definition
/Users/thabetkacem/Desktop/GDExtended/GDBinding.dll (Location of the symbol related to previous warning)
obj/Debug/ios/GDBinding/GDPushChannel.g.cs(175,58): warning CS0436: The type `GDBinding.GDPushChannelDelegate' conflicts with the imported type of same name'. Ignoring the imported type definition
/Users/thabetkacem/Desktop/GDExtended/GDBinding.dll (Location of the symbol related to previous warning)
obj/Debug/ios/GDBinding/GDiOS.g.cs(393,50): warning CS0436: The type `GDBinding.GDiOSDelegate' conflicts with the imported type of same name'. Ignoring the imported type definition
/Users/thabetkacem/Desktop/GDExtended/GDBinding.dll (Location of the symbol related to previous warning)
obj/Debug/ios/ObjCRuntime/Messaging.g.cs(53,134): warning CS0436: The type `GDBinding.GDFileStat' conflicts with the imported type of same name'. Ignoring the imported type definition
/Users/thabetkacem/Desktop/GDExtended/GDBinding.dll (Location of the symbol related to previous warning)
obj/Debug/ios/GDBinding/GDFileSystem.g.cs(159,31): warning CS0436: The type `GDBinding.GDCReadStream' conflicts with the imported type of same name'. Ignoring the imported type definition
/Users/thabetkacem/Desktop/GDExtended/GDBinding.dll (Location of the symbol related to previous warning)
obj/Debug/ios/GDBinding/GDFileSystem.g.cs(181,31): warning CS0436: The type `GDBinding.GDCWriteStream' conflicts with the imported type of same name'. Ignoring the imported type definition
/Users/thabetkacem/Desktop/GDExtended/GDBinding.dll (Location of the symbol related to previous warning)
obj/Debug/ios/GDBinding/GDDirectByteBuffer.g.cs(139,46): warning CS0108: `GDBinding.GDDirectByteBuffer.Init' hides inherited member `MonoTouch.Foundation.NSObject.Init()'. Use the new keyword if hiding was intended
/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll (Location of the symbol related to previous warning)
obj/Debug/ios/GDBinding/GDSocket.g.cs(177,32): warning CS0436: The type `GDBinding.GDDirectByteBuffer' conflicts with the imported type of same name'. Ignoring the imported type definition
/Users/thabetkacem/Desktop/GDExtended/GDBinding.dll (Location of the symbol related to previous warning)
obj/Debug/ios/GDBinding/GDHttpRequest.g.cs(377,46): warning CS0108: `GDBinding.GDHttpRequest.Init' hides inherited member `MonoTouch.Foundation.NSObject.Init()'. Use the new keyword if hiding was intended
/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll (Location of the symbol related to previous warning)
obj/Debug/ios/GDBinding/GDHttpRequest.g.cs(449,32): warning CS0436: The type `GDBinding.GDHttpRequest_state_t' conflicts with the imported type of same name'. Ignoring the imported type definition
/Users/thabetkacem/Desktop/GDExtended/GDBinding.dll (Location of the symbol related to previous warning)
obj/Debug/ios/GDBinding/NSURLCache.g.cs(79,57): warning CS0436: The type `GDBinding.NSURLCache' conflicts with the imported type of same name'. Ignoring the imported type definition
/Users/thabetkacem/Desktop/GDExtended/GDBinding.dll (Location of the symbol related to previous warning)
obj/Debug/ios/GDBinding/GDPushConnection.g.cs(84,31): warning CS0436: The type `GDBinding.GDPushConnection' conflicts with the imported type of same name'. Ignoring the imported type definition
/Users/thabetkacem/Desktop/GDExtended/GDBinding.dll (Location of the symbol related to previous warning)
obj/Debug/ios/GDBinding/GDPushChannel.g.cs(148,46): warning CS0108: `GDBinding.GDPushChannel.Init' hides inherited member `MonoTouch.Foundation.NSObject.Init()'. Use the new keyword if hiding was intended
/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll (Location of the symbol related to previous warning)
obj/Debug/ios/GDBinding/GDSecureDocs.g.cs(101,85): warning CS0436: The type `GDBinding.SendFileSuccessBlock' conflicts with the imported type of same name'. Ignoring the imported type definition
/Users/thabetkacem/Desktop/GDExtended/GDBinding.dll (Location of the symbol related to previous warning)
obj/Debug/ios/GDBinding/GDAppEvent.g.cs(82,32): warning CS0436: The type `GDBinding.GDAppResultCode' conflicts with the imported type of same name'. Ignoring the imported type definition
/Users/thabetkacem/Desktop/GDExtended/GDBinding.dll (Location of the symbol related to previous warning)
obj/Debug/ios/GDBinding/GDAppEvent.g.cs(102,32): warning CS0436: The type `GDBinding.GDAppEventType' conflicts with the imported type of same name'. Ignoring the imported type definition
/Users/thabetkacem/Desktop/GDExtended/GDBinding.dll (Location of the symbol related to previous warning)
obj/Debug/ios/GDBinding/GDiOSDelegate.g.cs(76,51): warning CS0436: The type `GDBinding.GDAppEvent' conflicts with the imported type of same name'. Ignoring the imported type definition
/Users/thabetkacem/Desktop/GDExtended/GDBinding.dll (Location of the symbol related to previous warning)
obj/Debug/ios/GDBinding/GDiOS.g.cs(139,36): warning CS0465: Introducing `Finalize' method can interfere with destructor invocation. Did you intend to declare a destructor?
obj/Debug/ios/GDBinding/GDiOS.g.cs(163,31): warning CS0436: The type `GDBinding.GDiOS' conflicts with the imported type of same name'. Ignoring the imported type definition
/Users/thabetkacem/Desktop/GDExtended/GDBinding.dll (Location of the symbol related to previous warning)
obj/Debug/ios/GDBinding/GDiOS.g.cs(281,94): warning CS0436: The type `GDBinding.GDUIColorTheme' conflicts with the imported type of same name'. Ignoring the imported type definition
/Users/thabetkacem/Desktop/GDExtended/GDBinding.dll (Location of the symbol related to previous warning)
obj/Debug/ios/GDBinding/NSMutableURLRequest.g.cs(83,67): warning CS0436: The type `GDBinding.NSMutableURLRequest' conflicts with the imported type of same name'. Ignoring the imported type definition
/Users/thabetkacem/Desktop/GDExtended/GDBinding.dll (Location of the symbol related to previous warning)
obj/Debug/ios/ObjCRuntime/Messaging.g.cs(44,84): warning CS0436: The type `GDBinding.Messaging' conflicts with the imported type of same name'. Ignoring the imported type definition
/Users/thabetkacem/Desktop/GDExtended/GDBinding.dll (Location of the symbol related to previous warning)
Target DeployOutputFiles:
Copying file from '/Users/thabetkacem/Projects/GDBinding/GDBinding/obj/Debug/GDBinding.dll.mdb' to '/Users/thabetkacem/Projects/GDBinding/GDBinding/bin/Debug/GDBinding.dll.mdb'
Copying file from '/Users/thabetkacem/Projects/GDBinding/GDBinding/obj/Debug/GDBinding.dll' to '/Users/thabetkacem/Projects/GDBinding/GDBinding/bin/Debug/GDBinding.dll'
Done building project "/Users/thabetkacem/Projects/GDBinding/GDBinding/GDBinding.csproj".
Build succeeded.
Warnings:
/Users/thabetkacem/Projects/GDBinding/GDBinding/GDBinding.csproj (Build) -> /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Xamarin.ObjcBinding.CSharp.targets
(GenerateBindings target) ->
GDBinding.cs(642,22): warning CS0465: Introducing `Finalize' method can interfere with destructor invocation. Did you intend to declare a destructor?
/Users/thabetkacem/Projects/GDBinding/GDBinding/GDBinding.csproj (Build) ->
/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/4.0/Microsoft.CSharp.Targets (CoreCompile target) ->
obj/Debug/ios/GDBinding/GDSocket.g.cs(273,53): warning CS0436: The type `GDBinding.GDSocketDelegate' conflicts with the imported type of same name'. Ignoring the imported type definition
obj/Debug/ios/GDBinding/GDHttpRequest.g.cs(541,58): warning CS0436: The type `GDBinding.GDHttpRequestDelegate' conflicts with the imported type of same name'. Ignoring the imported type definition
obj/Debug/ios/GDBinding/GDPushConnection.g.cs(180,61): warning CS0436: The type `GDBinding.GDPushConnectionDelegate' conflicts with the imported type of same name'. Ignoring the imported type definition
obj/Debug/ios/GDBinding/GDPushChannel.g.cs(175,58): warning CS0436: The type `GDBinding.GDPushChannelDelegate' conflicts with the imported type of same name'. Ignoring the imported type definition
obj/Debug/ios/GDBinding/GDiOS.g.cs(393,50): warning CS0436: The type `GDBinding.GDiOSDelegate' conflicts with the imported type of same name'. Ignoring the imported type definition
obj/Debug/ios/ObjCRuntime/Messaging.g.cs(53,134): warning CS0436: The type `GDBinding.GDFileStat' conflicts with the imported type of same name'. Ignoring the imported type definition
obj/Debug/ios/GDBinding/GDFileSystem.g.cs(159,31): warning CS0436: The type `GDBinding.GDCReadStream' conflicts with the imported type of same name'. Ignoring the imported type definition
obj/Debug/ios/GDBinding/GDFileSystem.g.cs(181,31): warning CS0436: The type `GDBinding.GDCWriteStream' conflicts with the imported type of same name'. Ignoring the imported type definition
obj/Debug/ios/GDBinding/GDDirectByteBuffer.g.cs(139,46): warning CS0108: `GDBinding.GDDirectByteBuffer.Init' hides inherited member `MonoTouch.Foundation.NSObject.Init()'. Use the new keyword if hiding was intended
obj/Debug/ios/GDBinding/GDSocket.g.cs(177,32): warning CS0436: The type `GDBinding.GDDirectByteBuffer' conflicts with the imported type of same name'. Ignoring the imported type definition
obj/Debug/ios/GDBinding/GDHttpRequest.g.cs(377,46): warning CS0108: `GDBinding.GDHttpRequest.Init' hides inherited member `MonoTouch.Foundation.NSObject.Init()'. Use the new keyword if hiding was intended
obj/Debug/ios/GDBinding/GDHttpRequest.g.cs(449,32): warning CS0436: The type `GDBinding.GDHttpRequest_state_t' conflicts with the imported type of same name'. Ignoring the imported type definition
obj/Debug/ios/GDBinding/NSURLCache.g.cs(79,57): warning CS0436: The type `GDBinding.NSURLCache' conflicts with the imported type of same name'. Ignoring the imported type definition
obj/Debug/ios/GDBinding/GDPushConnection.g.cs(84,31): warning CS0436: The type `GDBinding.GDPushConnection' conflicts with the imported type of same name'. Ignoring the imported type definition
obj/Debug/ios/GDBinding/GDPushChannel.g.cs(148,46): warning CS0108: `GDBinding.GDPushChannel.Init' hides inherited member `MonoTouch.Foundation.NSObject.Init()'. Use the new keyword if hiding was intended
obj/Debug/ios/GDBinding/GDSecureDocs.g.cs(101,85): warning CS0436: The type `GDBinding.SendFileSuccessBlock' conflicts with the imported type of same name'. Ignoring the imported type definition
obj/Debug/ios/GDBinding/GDAppEvent.g.cs(82,32): warning CS0436: The type `GDBinding.GDAppResultCode' conflicts with the imported type of same name'. Ignoring the imported type definition
obj/Debug/ios/GDBinding/GDAppEvent.g.cs(102,32): warning CS0436: The type `GDBinding.GDAppEventType' conflicts with the imported type of same name'. Ignoring the imported type definition
obj/Debug/ios/GDBinding/GDiOSDelegate.g.cs(76,51): warning CS0436: The type `GDBinding.GDAppEvent' conflicts with the imported type of same name'. Ignoring the imported type definition
obj/Debug/ios/GDBinding/GDiOS.g.cs(139,36): warning CS0465: Introducing `Finalize' method can interfere with destructor invocation. Did you intend to declare a destructor?
obj/Debug/ios/GDBinding/GDiOS.g.cs(163,31): warning CS0436: The type `GDBinding.GDiOS' conflicts with the imported type of same name'. Ignoring the imported type definition
obj/Debug/ios/GDBinding/GDiOS.g.cs(281,94): warning CS0436: The type `GDBinding.GDUIColorTheme' conflicts with the imported type of same name'. Ignoring the imported type definition
obj/Debug/ios/GDBinding/NSMutableURLRequest.g.cs(83,67): warning CS0436: The type `GDBinding.NSMutableURLRequest' conflicts with the imported type of same name'. Ignoring the imported type definition
obj/Debug/ios/ObjCRuntime/Messaging.g.cs(44,84): warning CS0436: The type `GDBinding.Messaging' conflicts with the imported type of same name'. Ignoring the imported type definition
25 Warning(s)
0 Error(s)
Time Elapsed 00:00:05.0845450
---------------------- Done ----------------------
Build: 0 errors, 25 warnings
Any help would be greatly appreciated.
This can occur if you do not link, manually or (better) with [LinkWith] attribute, the native library (that you binded) with your application.
In such case the selectors message won't reach the native code and will return null (which will show handles (instance or class) to be 0x0.
To confirm this look at your Build Output (inside MonoDevelop) and see if your libX.a is being linked to your application.
Also try this on the simulator (i386) and devices (armv6 and/or armv7) since it's possible that your native library architecture is not available (in your .a).

Bootstrapping mono on an OCTEON (mips64) gives a working runtime, but gmcs doesn't work

I'm trying to compile mono (from git) for a Cavium OCTEON (mips64) running Debian Sid.
If I try to compile entirely on the OCTEON, (without any kind of existing mono install), it gets as far as the mcs directory and then hits trouble. The problems relate to not having a functional gmcs. The suggested path of make get-monolite-latest doesn't work (wrong core versions, still no gmcs, etc).
To combat this, I tried the processes for cross-compiling mono for ARM. Of course, I have fast MIPs hardware to hand, so I don't use scratchbox.
The split build process gives no errors. Once installed on the OCTEON, I can run C# programs that have already been compiled (via gmcs on the x86_64 system). However, I cannot compile from source on the OCTEON. So, the IL runtime seems to work, but the compiler doesn't.
For example, compiling the simple hello world from http://www.mono-project.com/Mono_Basics gives the following:
root#OCTEON:~# gmcs helloWorld.cs
error CS0518: The predefined type `System.Object' is not defined or imported
error CS0518: The predefined type `System.ValueType' is not defined or imported
error CS0518: The predefined type `System.Attribute' is not defined or imported
error CS0518: The predefined type `System.Int32' is not defined or imported
error CS0518: The predefined type `System.UInt32' is not defined or imported
error CS0518: The predefined type `System.Int64' is not defined or imported
error CS0518: The predefined type `System.UInt64' is not defined or imported
error CS0518: The predefined type `System.Single' is not defined or imported
error CS0518: The predefined type `System.Double' is not defined or imported
error CS0518: The predefined type `System.Char' is not defined or imported
error CS0518: The predefined type `System.Int16' is not defined or imported
error CS0518: The predefined type `System.Decimal' is not defined or imported
error CS0518: The predefined type `System.Boolean' is not defined or imported
error CS0518: The predefined type `System.SByte' is not defined or imported
error CS0518: The predefined type `System.Byte' is not defined or imported
error CS0518: The predefined type `System.UInt16' is not defined or imported
error CS0518: The predefined type `System.String' is not defined or imported
error CS0518: The predefined type `System.Enum' is not defined or imported
error CS0518: The predefined type `System.Delegate' is not defined or imported
error CS0518: The predefined type `System.MulticastDelegate' is not defined or imported
error CS0518: The predefined type `System.Void' is not defined or imported
error CS0518: The predefined type `System.Array' is not defined or imported
error CS0518: The predefined type `System.Type' is not defined or imported
error CS0518: The predefined type `System.Collections.IEnumerator' is not defined or imported
error CS0518: The predefined type `System.Collections.IEnumerable' is not defined or imported
error CS0518: The predefined type `System.IDisposable' is not defined or imported
error CS0518: The predefined type `System.IntPtr' is not defined or imported
error CS0518: The predefined type `System.UIntPtr' is not defined or imported
error CS0518: The predefined type `System.RuntimeFieldHandle' is not defined or imported
error CS0518: The predefined type `System.RuntimeTypeHandle' is not defined or imported
error CS0518: The predefined type `System.Exception' is not defined or imported
Compilation failed: 31 error(s), 0 warnings
I feel like I'm close, but missing a step. It's as if it's not finding mscorelib.dll. Yet, that file does seem to be present under the prefix path:
root#OCTEON# find . | grep -i mscor
./2.0/mscorlib.dll
./2.0/mscorlib.dll.mdb
./2.0/mscorlib.dll.so
./4.5/mscorlib.dll
./4.5/mscorlib.dll.mdb
./4.5/mscorlib.dll.so
./4.0/mscorlib.dll
./4.0/mscorlib.dll.mdb
Before I start delving into the mcs code to understand its flow and what's going wrong, I was hoping that someone on here might be able to shed some light on the problem and point me in the right direction. Have I missed something? Is there some obvious fix?