Author Topic: Linux compiling and testing  (Read 1817 times)

0 Members and 1 Guest are viewing this topic.

Offline cprng

  • Able Ordinary Rate
  • c
  • Posts: 4
Linux compiling and testing
« on: January 31, 2014, 11:46:36 PM »
Tested a bunch of stuff trying to run this.  Using mono 2. 10. 9-r2 in case that's relevant.

Both Alpha 0. 2 and 0. 21 distributed executables failed with:
Code: [Select]
2014-02-01 03:09:16,267 [1] INFO  (Pulsar4X.UI.Program) Program Started

Unhandled Exception: System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]
  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename unknown>:0
  at System.Drawing.Bitmap..ctor (System.String filename, Boolean useIcm) [0x00000] in <filename unknown>:0
  at System.Drawing.Bitmap..ctor (System.String filename) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor (string)
  at Pulsar4X.UI.Forms.MainForm..ctor () [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) Pulsar4X.UI.Forms.MainForm:.ctor ()
  at Pulsar4X.UI.Program.Main () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]
  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename unknown>:0
  at System.Drawing.Bitmap..ctor (System.String filename, Boolean useIcm) [0x00000] in <filename unknown>:0
  at System.Drawing.Bitmap..ctor (System.String filename) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor (string)                                              
  at Pulsar4X.UI.Forms.MainForm..ctor () [0x00000] in <filename unknown>:0                                                  
  at (wrapper remoting-invoke-with-check) Pulsar4X.UI.Forms.MainForm:.ctor ()                                                
  at Pulsar4X.UI.Program.Main () [0x00000] in <filename unknown>:0      

Didn't try compiling the source codes from the alphas releases.

On compiling from latest on git, the following was changed so it would at least compile:

functions. lua

*removed trailing ". dll" from the bundled dependencies.  To avoid the compiler looking for library. dll. dll

* The bundled log4net could not be used due to the following error.
Code: [Select]
StorageTests.cs(39,23): error CS0584: Internal compiler error: Cannot import field `Pulsar4X.Stargen.StarSystemFactory.logger' referenced in assembly `Pulsar4X.Lib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'Using a custom log4net required adding the path to it to the log4netlib() function.

* Only needed with the winforms UI, editing the "Pulsar4X/deps/OpenTK-1. 1/bin/OpenTK" to "Pulsar4X/deps/OpenTK-1. 1/Bin/OpenTK" was needed due to Linux being case-sensitive.

premake4. lua

*project Pulsar4X. GTKForms links section had the *-sharp lines changed to just  for example "atk-sharp", to avoid a bunch of  
Code: [Select]
error CS1679: Invalid extern alias for -reference. Alias ` Version' is not a valid identifier
error CS2034: Cannot specify multiple aliases using single /reference option

*Then the full path for the *-sharps is added, example "/usr/lib/mono/gtk-sharp-2. 0/atk-sharp", so the builder knows where too look.

Compilation then succeds, with make running with no parameters and premake. lin running with ". /premake4. lin --os=linux --platform=x64  --cc=gcc --dotnet=mono  gmake" Compilation issues the following text:
Code: [Select]
==== Building Pulsar4X.Lib (debug) ====
Creating obj/Debug
Copying ShipNameThemes.json
Copying CommanderNameThemes.json
Entities/SimEntity.cs(10,1): warning CS0105: The using directive for `System.ComponentModel' appeared previously in this namespace
Entities/SimEntity.cs(7,14): (Location of the symbol related to previous warning)
Constants.cs(714,69): warning CS0472: The result of comparing value type `System.Drawing.Color' with null is `true'
Constants.cs(719,17): warning CS0162: Unreachable code detected
Entities/Ship.cs(2155,27): warning CS0219: The variable `WeaponPowerRequirement' is assigned but its value is never used
Entities/SimEntity.cs(54,30): warning CS0219: The variable `Start' is assigned but its value is never used
Entities/SimEntity.cs(403,37): warning CS0219: The variable `MyID' is assigned but its value is never used
Entities/SimEntity.cs(404,37): warning CS0219: The variable `TargetID' is assigned but its value is never used
Entities/SimEntity.cs(545,30): warning CS0219: The variable `nodeGone' is assigned but its value is never used
Entities/SimEntity.cs(720,38): warning CS0219: The variable `nodeGone' is assigned but its value is never used
Entities/TaskGroup.cs(1019,28): warning CS0219: The variable `dY' is assigned but its value is never used
Entities/TaskGroup.cs(2183,25): warning CS0219: The variable `RemainingTaskGroupCryo' is assigned but its value is never used
Entities/TaskGroup.cs(2279,19): warning CS0219: The variable `ComponentLoadCount' is assigned but its value is never used
Entities/Components/Armor.cs(127,28): warning CS0219: The variable `areaF' is assigned but its value is never used
Entities/Components/OrdnanceTN.cs(1194,38): warning CS0219: The variable `ShipDest' is assigned but its value is never used
Entities/Components/OrdnanceTN.cs(742,24): warning CS0414: The private field `Pulsar4X.Entities.Components.OrdnanceTargetTN.Body' is assigned but its value is never used
Compilation succeeded - 15 warning(s)
==== Building Pulsar4X.GTKForms (debug) ====
Creating obj/Debug
Copying Pulsar4X.Lib.dll
==== Building Pulsar4X.Tests (debug) ====
Creating obj/Debug
Copying Pulsar4X.Lib.dll
StorageTests.cs(80,17): warning CS0219: The variable `s' is assigned but its value is never used
ShipTests.cs(470,25): warning CS0219: The variable `EngDef' is assigned but its value is never used
ShipTests.cs(518,25): warning CS0219: The variable `EngDef' is assigned but its value is never used
ShipTests.cs(789,24): warning CS0219: The variable `P1' is assigned but its value is never used
ShipTests.cs(790,24): warning CS0219: The variable `P2' is assigned but its value is never used
ShipTests.cs(847,24): warning CS0219: The variable `P1' is assigned but its value is never used
ShipTests.cs(848,24): warning CS0219: The variable `P2' is assigned but its value is never used
ShipTests.cs(918,24): warning CS0219: The variable `P1' is assigned but its value is never used
ShipTests.cs(919,24): warning CS0219: The variable `P2' is assigned but its value is never used
ShipTests.cs(1008,24): warning CS0219: The variable `P1' is assigned but its value is never used
ShipTests.cs(1009,24): warning CS0219: The variable `P2' is assigned but its value is never used
ShipTests.cs(1125,24): warning CS0219: The variable `P1' is assigned but its value is never used
ShipTests.cs(1126,24): warning CS0219: The variable `P2' is assigned but its value is never used
ShipTests.cs(1212,24): warning CS0219: The variable `P1' is assigned but its value is never used
ShipTests.cs(1213,24): warning CS0219: The variable `P2' is assigned but its value is never used
ShipTests.cs(1728,38): warning CS0219: The variable `nodeGone' is assigned but its value is never used
ShipTests.cs(1892,24): warning CS0219: The variable `P1' is assigned but its value is never used
ShipTests.cs(1893,24): warning CS0219: The variable `P2' is assigned but its value is never used
ShipTests.cs(1980,24): warning CS0219: The variable `P1' is assigned but its value is never used
ShipTests.cs(1981,24): warning CS0219: The variable `P2' is assigned but its value is never used

Then, running "mono Pulsar4X. WinForms/bin/Debug/Pulsar4X. GTKForms. exe" starts the game with the following error:
Code: [Select]
log4net:ERROR Failed to find configuration section 'log4net' in the application's .config file. Check your .config file for the <log4net> and <configSections> elements. The configuration section should look like: <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />The game is seen in the attached screenshot.  I believe the GTK interface hasn't been done yet?

For the winforms UI with compilation with ". /premake4. lin --os=linux --platform=x64  --cc=gcc --dotnet=mono --UI=winforms gmake" and no parameters passed to make, compilation succeeds with

Code: [Select]
==== Building Pulsar4X.Lib (debug) ====
Creating obj/Debug
Copying ShipNameThemes.json
Copying CommanderNameThemes.json
Entities/SimEntity.cs(10,1): warning CS0105: The using directive for `System.ComponentModel' appeared previously in this namespace
Entities/SimEntity.cs(7,14): (Location of the symbol related to previous warning)
Constants.cs(714,69): warning CS0472: The result of comparing value type `System.Drawing.Color' with null is `true'
Constants.cs(719,17): warning CS0162: Unreachable code detected
Entities/Ship.cs(2155,27): warning CS0219: The variable `WeaponPowerRequirement' is assigned but its value is never used
Entities/SimEntity.cs(54,30): warning CS0219: The variable `Start' is assigned but its value is never used
Entities/SimEntity.cs(403,37): warning CS0219: The variable `MyID' is assigned but its value is never used
Entities/SimEntity.cs(404,37): warning CS0219: The variable `TargetID' is assigned but its value is never used
Entities/SimEntity.cs(545,30): warning CS0219: The variable `nodeGone' is assigned but its value is never used
Entities/SimEntity.cs(720,38): warning CS0219: The variable `nodeGone' is assigned but its value is never used
Entities/TaskGroup.cs(1019,28): warning CS0219: The variable `dY' is assigned but its value is never used
Entities/TaskGroup.cs(2183,25): warning CS0219: The variable `RemainingTaskGroupCryo' is assigned but its value is never used
Entities/TaskGroup.cs(2279,19): warning CS0219: The variable `ComponentLoadCount' is assigned but its value is never used
Entities/Components/Armor.cs(127,28): warning CS0219: The variable `areaF' is assigned but its value is never used
Entities/Components/OrdnanceTN.cs(1194,38): warning CS0219: The variable `ShipDest' is assigned but its value is never used
Entities/Components/OrdnanceTN.cs(742,24): warning CS0414: The private field `Pulsar4X.Entities.Components.OrdnanceTargetTN.Body' is assigned but its value is never used
Compilation succeeded - 15 warning(s)
==== Building Pulsar4X.UI (debug) ====
Creating obj/Debug
Read in 2 resources from '/home/user/proj/pulsar4x/alt/Pulsar4x/Pulsar4X/Pulsar4X.UI/Forms/MainForm.resx'
Writing resource file...  Done.
Read in 0 resources from '/home/user/proj/pulsar4x/alt/Pulsar4x/Pulsar4X/Pulsar4X.UI/Forms/SubForm.resx'
Writing resource file...  Done.
Read in 0 resources from '/home/user/proj/pulsar4x/alt/Pulsar4x/Pulsar4X/Pulsar4X.UI/Dialogs/AboutBox.resx'
Writing resource file...  Done.
Read in 0 resources from '/home/user/proj/pulsar4x/alt/Pulsar4x/Pulsar4X/Pulsar4X.UI/Dialogs/InputBasic.resx'
Writing resource file...  Done.
Read in 0 resources from '/home/user/proj/pulsar4x/alt/Pulsar4x/Pulsar4X/Pulsar4X.UI/Dialogs/GenGalaxyDialog.resx'
Writing resource file...  Done.
Read in 0 resources from '/home/user/proj/pulsar4x/alt/Pulsar4x/Pulsar4X/Pulsar4X.UI/Dialogs/CommanderNameThemesDialog.resx'
Writing resource file...  Done.
Read in 0 resources from '/home/user/proj/pulsar4x/alt/Pulsar4x/Pulsar4X/Pulsar4X.UI/Panels/Individual_Unit_Details_Panel.resx'
Writing resource file...  Done.
Read in 1 resources from '/home/user/proj/pulsar4x/alt/Pulsar4x/Pulsar4X/Pulsar4X.UI/Panels/MissileDesign.resx'
Writing resource file...  Done.
Read in 0 resources from '/home/user/proj/pulsar4x/alt/Pulsar4x/Pulsar4X/Pulsar4X.UI/Panels/Component_Design.resx'
Writing resource file...  Done.
Read in 0 resources from '/home/user/proj/pulsar4x/alt/Pulsar4x/Pulsar4X/Pulsar4X.UI/Panels/SysMap_ViewPort.resx'
Writing resource file...  Done.
Read in 0 resources from '/home/user/proj/pulsar4x/alt/Pulsar4x/Pulsar4X/Pulsar4X.UI/Panels/ClassDes_RenameClass.resx'
Writing resource file...  Done.
Read in 0 resources from '/home/user/proj/pulsar4x/alt/Pulsar4x/Pulsar4X/Pulsar4X.UI/Panels/Eco_Summary.resx'
Writing resource file...  Done.
Read in 0 resources from '/home/user/proj/pulsar4x/alt/Pulsar4x/Pulsar4X/Pulsar4X.UI/Panels/FastOOB_Panel.resx'
Writing resource file...  Done.
Read in 0 resources from '/home/user/proj/pulsar4x/alt/Pulsar4x/Pulsar4X/Pulsar4X.UI/Panels/ClassDes_DesignAndInfo.resx'
Writing resource file...  Done.
Read in 0 resources from '/home/user/proj/pulsar4x/alt/Pulsar4x/Pulsar4X/Pulsar4X.UI/Panels/ClassDes_Options.resx'
Writing resource file...  Done.
Read in 0 resources from '/home/user/proj/pulsar4x/alt/Pulsar4x/Pulsar4X/Pulsar4X.UI/Panels/SGaD_DataPanel.resx'
Writing resource file...  Done.
Read in 0 resources from '/home/user/proj/pulsar4x/alt/Pulsar4x/Pulsar4X/Pulsar4X.UI/Panels/Eco_Populations.resx'
Writing resource file...  Done.
Read in 0 resources from '/home/user/proj/pulsar4x/alt/Pulsar4x/Pulsar4X/Pulsar4X.UI/Panels/Ships_Design.resx'
Writing resource file...  Done.
Read in 0 resources from '/home/user/proj/pulsar4x/alt/Pulsar4x/Pulsar4X/Pulsar4X.UI/Panels/SGaD_Controls.resx'
Writing resource file...  Done.
Read in 0 resources from '/home/user/proj/pulsar4x/alt/Pulsar4x/Pulsar4X/Pulsar4X.UI/Panels/TaskGroup_Panel.resx'
Writing resource file...  Done.
Read in 0 resources from '/home/user/proj/pulsar4x/alt/Pulsar4x/Pulsar4X/Pulsar4X.UI/Panels/SysMap_Controls.resx'
Writing resource file...  Done.
Read in 0 resources from '/home/user/proj/pulsar4x/alt/Pulsar4x/Pulsar4X/Pulsar4X.UI/Panels/Ships_ShipList.resx'
Writing resource file...  Done.
Read in 0 resources from '/home/user/proj/pulsar4x/alt/Pulsar4x/Pulsar4X/Pulsar4X.UI/Properties/Resources.resx'
Writing resource file...  Done.
Copying Pulsar4X.Lib.dll
Copying PulsarFont.png
Copying DefaultTexture.png
Copying DejaVuSansMonoBold.xml
Copying DejaVuSansMonoBold.png
Copying PulsarLogo.png
Copying PulsarFont.xml
Copying Basic20_Vertex_Shader.glsl
Copying Basic30_Vertex_Shader.glsl
Copying DefaultIcon.png
Copying Pulsar4X.UI.exe.config
Copying Basic20_Fragment_Shader.glsl
Copying Basic30_Fragment_Shader.glsl
Copying DefaultTGIcon.png
Dialogs/GenGalaxyDialog.cs(32,17): warning CS0219: The variable `iNoOfSystemsDiv4' is assigned but its value is never used
SceenGraph/Sceen.cs(193,20): warning CS0219: The variable `dMoonOrbitRadius' is assigned but its value is never used
SceenGraph/Sceen.cs(211,28): warning CS0219: The variable `rnd' is assigned but its value is never used
Handlers/ClassDesign.cs(579,32): warning CS0219: The variable `List' is assigned but its value is never used
Handlers/Ships.cs(559,33): warning CS0219: The variable `MyID' is assigned but its value is never used
Handlers/Ships.cs(565,33): warning CS0219: The variable `Targettick' is assigned but its value is never used
Handlers/Ships.cs(1166,33): warning CS0219: The variable `MyID' is assigned but its value is never used
Handlers/Ships.cs(1172,33): warning CS0219: The variable `Targettick' is assigned but its value is never used
GLUtilities/GLCanvas.cs(363,50): warning CS0219: The variable `exp' is assigned but its value is never used
Forms/MainForm.cs(17,23): warning CS0414: The private field `Pulsar4X.UI.Forms.MainForm.VM' is assigned but its value is never used
ViewModels/ShipsViewModel.cs(163,35): warning CS0067: The event `Pulsar4X.UI.ViewModels.ShipsViewModel.PopulationChanged' is never used
Handlers/Components.cs(84,24): warning CS0414: The private field `Pulsar4X.UI.Handlers.Components.eventMask' is assigned but its value is never used
Compilation succeeded - 12 warning(s)
==== Building Pulsar4X.Tests (debug) ====
Creating obj/Debug
Copying Pulsar4X.Lib.dll
StorageTests.cs(80,17): warning CS0219: The variable `s' is assigned but its value is never used
ShipTests.cs(470,25): warning CS0219: The variable `EngDef' is assigned but its value is never used
ShipTests.cs(518,25): warning CS0219: The variable `EngDef' is assigned but its value is never used
ShipTests.cs(789,24): warning CS0219: The variable `P1' is assigned but its value is never used
ShipTests.cs(790,24): warning CS0219: The variable `P2' is assigned but its value is never used
ShipTests.cs(847,24): warning CS0219: The variable `P1' is assigned but its value is never used
ShipTests.cs(848,24): warning CS0219: The variable `P2' is assigned but its value is never used
ShipTests.cs(918,24): warning CS0219: The variable `P1' is assigned but its value is never used
ShipTests.cs(919,24): warning CS0219: The variable `P2' is assigned but its value is never used
ShipTests.cs(1008,24): warning CS0219: The variable `P1' is assigned but its value is never used
ShipTests.cs(1009,24): warning CS0219: The variable `P2' is assigned but its value is never used
ShipTests.cs(1125,24): warning CS0219: The variable `P1' is assigned but its value is never used
ShipTests.cs(1126,24): warning CS0219: The variable `P2' is assigned but its value is never used
ShipTests.cs(1212,24): warning CS0219: The variable `P1' is assigned but its value is never used
ShipTests.cs(1213,24): warning CS0219: The variable `P2' is assigned but its value is never used
ShipTests.cs(1728,38): warning CS0219: The variable `nodeGone' is assigned but its value is never used
ShipTests.cs(1892,24): warning CS0219: The variable `P1' is assigned but its value is never used
ShipTests.cs(1893,24): warning CS0219: The variable `P2' is assigned but its value is never used
ShipTests.cs(1980,24): warning CS0219: The variable `P1' is assigned but its value is never used
ShipTests.cs(1981,24): warning CS0219: The variable `P2' is assigned but its value is never used
Compilation succeeded - 20 warning(s)

Running the game with "mono Pulsar4X. UI/bin/Debug/Pulsar4X. UI. exe" gives the following error message:

Code: [Select]
Unhandled Exception: System.TypeLoadException: A type load exception has occurred.
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: A type load exception has occurred.

Running on verbose gives a lot of output, here's a part:

Code: [Select]
Method log4net.Core.DefaultRepositorySelector:GetInfoForAssembly (System.Reflection.Assembly,string&,System.Type&) emitted at 0x41f0beb0 to 0x41f0c348 (code length 1176) [Pulsar4X.UI.exe]
converting method System.Reflection.Assembly:get_Location ()
Method System.Reflection.Assembly:get_Location () emitted at 0x41f0c360 to 0x41f0c409 (code length 169) [Pulsar4X.UI.exe]
converting method (wrapper managed-to-native) System.Reflection.Assembly:get_location (System.Reflection.Assembly)
Method (wrapper managed-to-native) System.Reflection.Assembly:get_location (System.Reflection.Assembly) emitted at 0x41f0c420 to 0x41f0c4b8 (code length 152) [Pulsar4X.UI.exe]
converting method string:Concat (string[])
Method string:Concat (string[]) emitted at 0x41f0c4c0 to 0x41f0c578 (code length 184) [Pulsar4X.UI.exe]
converting method string:ConcatInternal (string[],int)
Method string:ConcatInternal (string[],int) emitted at 0x41f0c590 to 0x41f0c698 (code length 264) [Pulsar4X.UI.exe]
converting method System.Attribute:GetCustomAttributes (System.Reflection.Assembly,System.Type,bool)
Method System.Attribute:GetCustomAttributes (System.Reflection.Assembly,System.Type,bool) emitted at 0x41f0c6a0 to 0x41f0c74a (code length 170) [Pulsar4X.UI.exe]
converting method System.Reflection.Assembly:GetCustomAttributes (System.Type,bool)
Method System.Reflection.Assembly:GetCustomAttributes (System.Type,bool) emitted at 0x41f0c750 to 0x41f0c771 (code length 33) [Pulsar4X.UI.exe]
converting method System.Reflection.Assembly:op_Equality (System.Reflection.Assembly,System.Reflection.Assembly)
Method System.Reflection.Assembly:op_Equality (System.Reflection.Assembly,System.Reflection.Assembly) emitted at 0x41f0c780 to 0x41f0c7e0 (code length 96) [Pulsar4X.UI.exe]
converting method (wrapper managed-to-native) System.MonoType:get_Assembly (System.MonoType)
Method (wrapper managed-to-native) System.MonoType:get_Assembly (System.MonoType) emitted at 0x41f0c7e0 to 0x41f0c878 (code length 152) [Pulsar4X.UI.exe]
converting method System.Reflection.Assembly:op_Inequality (System.Reflection.Assembly,System.Reflection.Assembly)
Method System.Reflection.Assembly:op_Inequality (System.Reflection.Assembly,System.Reflection.Assembly) emitted at 0x41f0c880 to 0x41f0c8ea (code length 106) [Pulsar4X.UI.exe]
converting method System.Reflection.MethodInfo:op_Equality (System.Reflection.MethodInfo,System.Reflection.MethodInfo)
Method System.Reflection.MethodInfo:op_Equality (System.Reflection.MethodInfo,System.Reflection.MethodInfo) emitted at 0x41f0c8f0 to 0x41f0c950 (code length 96) [Pulsar4X.UI.exe]
converting method string:Concat (object[])
Method string:Concat (object[]) emitted at 0x41f0c950 to 0x41f0ca8e (code length 318) [Pulsar4X.UI.exe]
converting method log4net.Core.DefaultRepositorySelector:CreateRepository (string,System.Type)
Method log4net.Core.DefaultRepositorySelector:CreateRepository (string,System.Type) emitted at 0x4180b000 to 0x4180b84f (code length 2127) [Pulsar4X.UI.exe]
converting method System.DBNull:.cctor ()
Method System.DBNull:.cctor () emitted at 0x4180b860 to 0x4180b892 (code length 50) [Pulsar4X.UI.exe]
converting method System.DBNull:.ctor ()
Method System.DBNull:.ctor () emitted at 0x4180b8a0 to 0x4180b8a9 (code length 9) [Pulsar4X.UI.exe]
converting method log4net.Repository.Hierarchy.Hierarchy:.ctor ()
Method log4net.Repository.Hierarchy.Hierarchy:.ctor () emitted at 0x4180b8b0 to 0x4180b8d5 (code length 37) [Pulsar4X.UI.exe]
converting method log4net.Repository.Hierarchy.Hierarchy:.cctor ()
Method log4net.Repository.Hierarchy.Hierarchy:.cctor () emitted at 0x4180b8e0 to 0x4180b900 (code length 32) [Pulsar4X.UI.exe]
converting method log4net.Repository.Hierarchy.Hierarchy:.ctor (log4net.Repository.Hierarchy.ILoggerFactory)
Method log4net.Repository.Hierarchy.Hierarchy:.ctor (log4net.Repository.Hierarchy.ILoggerFactory) emitted at 0x4180b900 to 0x4180b941 (code length 65) [Pulsar4X.UI.exe]
converting method log4net.Util.PropertiesDictionary:.ctor ()
Method log4net.Util.PropertiesDictionary:.ctor () emitted at 0x4180b960 to 0x4180b975 (code length 21) [Pulsar4X.UI.exe]
converting method log4net.Util.ReadOnlyPropertiesDictionary:.ctor ()
Method log4net.Util.ReadOnlyPropertiesDictionary:.ctor () emitted at 0x4180b980 to 0x4180b9b7 (code length 55) [Pulsar4X.UI.exe]
converting method log4net.Repository.Hierarchy.Hierarchy:.ctor (log4net.Util.PropertiesDictionary,log4net.Repository.Hierarchy.ILoggerFactory)
Method log4net.Repository.Hierarchy.Hierarchy:.ctor (log4net.Util.PropertiesDictionary,log4net.Repository.Hierarchy.ILoggerFactory) emitted at 0x4180b9c0 to 0x4180ba50 (code length 144) [Pulsar4X.UI.exe]
converting method log4net.Repository.LoggerRepositorySkeleton:.ctor (log4net.Util.PropertiesDictionary)
converting method log4net.Core.Level:.cctor ()
Method log4net.Core.Level:.cctor () emitted at 0x4180ba70 to 0x4180be85 (code length 1045) [Pulsar4X.UI.exe]
converting method log4net.Core.Level:.ctor (int,string)
Method log4net.Core.Level:.ctor (int,string) emitted at 0x4180be90 to 0x4180beb9 (code length 41) [Pulsar4X.UI.exe]
converting method log4net.Core.Level:.ctor (int,string,string)
Method log4net.Core.Level:.ctor (int,string,string) emitted at 0x4180bed0 to 0x4180bf80 (code length 176) [Pulsar4X.UI.exe]
converting method string:Intern (string)
Method string:Intern (string) emitted at 0x4180bf90 to 0x4180bfd4 (code length 68) [Pulsar4X.UI.exe]
converting method (wrapper managed-to-native) string:InternalIntern (string)
Method (wrapper managed-to-native) string:InternalIntern (string) emitted at 0x4180bfe0 to 0x4180c055 (code length 117) [Pulsar4X.UI.exe]
Method log4net.Repository.LoggerRepositorySkeleton:.ctor (log4net.Util.PropertiesDictionary) emitted at 0x4180c060 to 0x4180c117 (code length 183) [Pulsar4X.UI.exe]
converting method log4net.Repository.LoggerRepositorySkeleton:.cctor ()
Method log4net.Repository.LoggerRepositorySkeleton:.cctor () emitted at 0x4180c150 to 0x4180c170 (code length 32) [Pulsar4X.UI.exe]
converting method log4net.ObjectRenderer.RendererMap:.ctor ()
Method log4net.ObjectRenderer.RendererMap:.ctor () emitted at 0x4180c170 to 0x4180c1d5 (code length 101) [Pulsar4X.UI.exe]
converting method log4net.ObjectRenderer.RendererMap:.cctor ()
Method log4net.ObjectRenderer.RendererMap:.cctor () emitted at 0x4180c1e0 to 0x4180c21d (code length 61) [Pulsar4X.UI.exe]
converting method System.Collections.Hashtable:Synchronized (System.Collections.Hashtable)
Method System.Collections.Hashtable:Synchronized (System.Collections.Hashtable) emitted at 0x4180c220 to 0x4180c280 (code length 96) [Pulsar4X.UI.exe]
converting method System.Collections.Hashtable/SyncHashtable:.ctor (System.Collections.Hashtable)
Method System.Collections.Hashtable/SyncHashtable:.ctor (System.Collections.Hashtable) emitted at 0x4180c290 to 0x4180c2d4 (code length 68) [Pulsar4X.UI.exe]
converting method log4net.Plugin.PluginMap:.ctor (log4net.Repository.ILoggerRepository)
Method log4net.Plugin.PluginMap:.ctor (log4net.Repository.ILoggerRepository) emitted at 0x4180c2e0 to 0x4180c327 (code length 71) [Pulsar4X.UI.exe]
converting method log4net.Core.LevelMap:.ctor ()
Method log4net.Core.LevelMap:.ctor () emitted at 0x4180c330 to 0x4180c350 (code length 32) [Pulsar4X.UI.exe]
converting method log4net.Util.SystemInfo:CreateCaseInsensitiveHashtable ()
Method log4net.Util.SystemInfo:CreateCaseInsensitiveHashtable () emitted at 0x4180c360 to 0x4180c371 (code length 17) [Pulsar4X.UI.exe]
converting method System.Collections.Specialized.CollectionsUtil:CreateCaseInsensitiveHashtable ()
Method System.Collections.Specialized.CollectionsUtil:CreateCaseInsensitiveHashtable () emitted at 0x4180c380 to 0x4180c3d1 (code length 81) [Pulsar4X.UI.exe]
converting method System.Collections.CaseInsensitiveHashCodeProvider:get_Default ()
Method System.Collections.CaseInsensitiveHashCodeProvider:get_Default () emitted at 0x4180c3f0 to 0x4180c573 (code length 387) [Pulsar4X.UI.exe]
converting method System.Collections.CaseInsensitiveHashCodeProvider:.ctor ()
Method System.Collections.CaseInsensitiveHashCodeProvider:.ctor () emitted at 0x4180c580 to 0x4180c5d4 (code length 84) [Pulsar4X.UI.exe]
converting method System.Collections.Hashtable:.ctor (System.Collections.IHashCodeProvider,System.Collections.IComparer)
Method System.Collections.Hashtable:.ctor (System.Collections.IHashCodeProvider,System.Collections.IComparer) emitted at 0x4180c5e0 to 0x4180c634 (code length 84) [Pulsar4X.UI.exe]
converting method log4net.Util.EmptyCollection:get_Instance ()
converting method log4net.Util.EmptyCollection:.cctor ()
Method log4net.Util.EmptyCollection:.cctor () emitted at 0x4180c640 to 0x4180c672 (code length 50) [Pulsar4X.UI.exe]
converting method log4net.Util.EmptyCollection:.ctor ()
Method log4net.Util.EmptyCollection:.ctor () emitted at 0x4180c680 to 0x4180c689 (code length 9) [Pulsar4X.UI.exe]
Method log4net.Util.EmptyCollection:get_Instance () emitted at 0x4180c690 to 0x4180c6a3 (code length 19) [Pulsar4X.UI.exe]
converting method log4net.Repository.LoggerRepositorySkeleton:AddBuiltinLevels ()
Method log4net.Repository.LoggerRepositorySkeleton:AddBuiltinLevels () emitted at 0x4180c6b0 to 0x4180c89d (code length 493) [Pulsar4X.UI.exe]
converting method log4net.Core.LevelMap:Add (log4net.Core.Level)
Method log4net.Core.LevelMap:Add (log4net.Core.Level) emitted at 0x4180c8b0 to 0x4180c960 (code length 176) [Pulsar4X.UI.exe]
converting method log4net.Core.Level:op_Equality (log4net.Core.Level,log4net.Core.Level)
Method log4net.Core.Level:op_Equality (log4net.Core.Level,log4net.Core.Level) emitted at 0x4180c970 to 0x4180c9ba (code length 74) [Pulsar4X.UI.exe]
converting method System.Collections.CaseInsensitiveHashCodeProvider:AreEqual (System.Globalization.TextInfo,System.Globalization.CultureInfo)
Method System.Collections.CaseInsensitiveHashCodeProvider:AreEqual (System.Globalization.TextInfo,System.Globalization.CultureInfo) emitted at 0x4180c9c0 to 0x4180ca0c (code length 76) [Pulsar4X.UI.exe]
converting method System.Globalization.TextInfo:ToLower (string)
Method System.Globalization.TextInfo:ToLower (string) emitted at 0x4180ca10 to 0x4180cb30 (code length 288) [Pulsar4X.UI.exe]
converting method System.Globalization.TextInfo:ToLower (char)
Method System.Globalization.TextInfo:ToLower (char) emitted at 0x4180cb30 to 0x4180ccc5 (code length 405) [Pulsar4X.UI.exe]
converting method log4net.Repository.LoggerRepositorySkeleton:set_Name (string)
Method log4net.Repository.LoggerRepositorySkeleton:set_Name (string) emitted at 0x4180cd50 to 0x4180cd6d (code length 29) [Pulsar4X.UI.exe]
converting method log4net.Core.DefaultRepositorySelector:OnLoggerRepositoryCreatedEvent (log4net.Repository.ILoggerRepository)
Method log4net.Core.DefaultRepositorySelector:OnLoggerRepositoryCreatedEvent (log4net.Repository.ILoggerRepository) emitted at 0x4180cd70 to 0x4180cdd1 (code length 97) [Pulsar4X.UI.exe]
converting method log4net.Core.DefaultRepositorySelector:LoadAliases (System.Reflection.Assembly,log4net.Repository.ILoggerRepository)
Method log4net.Core.DefaultRepositorySelector:LoadAliases (System.Reflection.Assembly,log4net.Repository.ILoggerRepository) emitted at 0x4180cde0 to 0x4180d014 (code length 564) [Pulsar4X.UI.exe]
converting method log4net.Core.DefaultRepositorySelector:LoadPlugins (System.Reflection.Assembly,log4net.Repository.ILoggerRepository)
Method log4net.Core.DefaultRepositorySelector:LoadPlugins (System.Reflection.Assembly,log4net.Repository.ILoggerRepository) emitted at 0x4180d020 to 0x4180d2ec (code length 716) [Pulsar4X.UI.exe]
converting method log4net.Core.DefaultRepositorySelector:ConfigureRepository (System.Reflection.Assembly,log4net.Repository.ILoggerRepository)
Method log4net.Core.DefaultRepositorySelector:ConfigureRepository (System.Reflection.Assembly,log4net.Repository.ILoggerRepository) emitted at 0x4180d300 to 0x4180dafc (code length 2044) [Pulsar4X.UI.exe]
converting method log4net.Repository.LoggerRepositorySkeleton:get_Name ()
Method log4net.Repository.LoggerRepositorySkeleton:get_Name () emitted at 0x4180db60 to 0x4180db74 (code length 20) [Pulsar4X.UI.exe]
converting method log4net.Repository.Hierarchy.Hierarchy:GetLogger (string)
Method log4net.Repository.Hierarchy.Hierarchy:GetLogger (string) emitted at 0x4180dbd0 to 0x4180dc30 (code length 96) [Pulsar4X.UI.exe]
converting method log4net.Repository.Hierarchy.Hierarchy:GetLogger (string,log4net.Repository.Hierarchy.ILoggerFactory)
Method log4net.Repository.Hierarchy.Hierarchy:GetLogger (string,log4net.Repository.Hierarchy.ILoggerFactory) emitted at 0x4180dc40 to 0x4180df08 (code length 712) [Pulsar4X.UI.exe]
converting method log4net.Repository.Hierarchy.LoggerKey:.ctor (string)
Method log4net.Repository.Hierarchy.LoggerKey:.ctor (string) emitted at 0x4180df30 to 0x4180df6b (code length 59) [Pulsar4X.UI.exe]
converting method System.Collections.Hashtable/SyncHashtable:get_Item (object)
Method System.Collections.Hashtable/SyncHashtable:get_Item (object) emitted at 0x4180df70 to 0x4180df9a (code length 42) [Pulsar4X.UI.exe]
converting method log4net.Repository.Hierarchy.LoggerKey:GetHashCode ()
Method log4net.Repository.Hierarchy.LoggerKey:GetHashCode () emitted at 0x4180dfa0 to 0x4180dfb4 (code length 20) [Pulsar4X.UI.exe]
converting method log4net.Repository.Hierarchy.DefaultLoggerFactory:CreateLogger (log4net.Repository.ILoggerRepository,string)
Method log4net.Repository.Hierarchy.DefaultLoggerFactory:CreateLogger (log4net.Repository.ILoggerRepository,string) emitted at 0x4180dfc0 to 0x4180e05f (code length 159) [Pulsar4X.UI.exe]
converting method log4net.Repository.Hierarchy.DefaultLoggerFactory/LoggerImpl:.ctor (string)
Method log4net.Repository.Hierarchy.DefaultLoggerFactory/LoggerImpl:.ctor (string) emitted at 0x4180e080 to 0x4180e099 (code length 25) [Pulsar4X.UI.exe]
converting method log4net.Repository.Hierarchy.Logger:.ctor (string)
Method log4net.Repository.Hierarchy.Logger:.ctor (string) emitted at 0x4180e0b0 to 0x4180e101 (code length 81) [Pulsar4X.UI.exe]
converting method log4net.Repository.Hierarchy.Logger:.cctor ()
Method log4net.Repository.Hierarchy.Logger:.cctor () emitted at 0x4180e110 to 0x4180e130 (code length 32) [Pulsar4X.UI.exe]
converting method log4net.Util.ReaderWriterLock:.ctor ()
Method log4net.Util.ReaderWriterLock:.ctor () emitted at 0x4180e130 to 0x4180e166 (code length 54) [Pulsar4X.UI.exe]
converting method System.Threading.ReaderWriterLock:.ctor ()
Method System.Threading.ReaderWriterLock:.ctor () emitted at 0x4180e170 to 0x4180e1d1 (code length 97) [Pulsar4X.UI.exe]
converting method log4net.Repository.Hierarchy.Logger:set_Hierarchy (log4net.Repository.Hierarchy.Hierarchy)
Method log4net.Repository.Hierarchy.Logger:set_Hierarchy (log4net.Repository.Hierarchy.Hierarchy) emitted at 0x4180e1e0 to 0x4180e1fd (code length 29) [Pulsar4X.UI.exe]
converting method System.Collections.Hashtable/SyncHashtable:set_Item (object,object)
Method System.Collections.Hashtable/SyncHashtable:set_Item (object,object) emitted at 0x4180e200 to 0x4180e297 (code length 151) [Pulsar4X.UI.exe]
converting method System.Collections.Hashtable:get_SyncRoot ()
Method System.Collections.Hashtable:get_SyncRoot () emitted at 0x4180e2a0 to 0x4180e2b0 (code length 16) [Pulsar4X.UI.exe]
converting method log4net.Repository.Hierarchy.Hierarchy:UpdateParents (log4net.Repository.Hierarchy.Logger)
Method log4net.Repository.Hierarchy.Hierarchy:UpdateParents (log4net.Repository.Hierarchy.Logger) emitted at 0x4180e2b0 to 0x4180e545 (code length 661) [Pulsar4X.UI.exe]
converting method log4net.Repository.Hierarchy.Logger:get_Name ()
Method log4net.Repository.Hierarchy.Logger:get_Name () emitted at 0x4180e570 to 0x4180e584 (code length 20) [Pulsar4X.UI.exe]
converting method string:LastIndexOf (char,int)
Method string:LastIndexOf (char,int) emitted at 0x4180e590 to 0x4180e5c5 (code length 53) [Pulsar4X.UI.exe]
converting method string:LastIndexOf (char,int,int)
Method string:LastIndexOf (char,int,int) emitted at 0x4180e5d0 to 0x4180e6f8 (code length 296) [Pulsar4X.UI.exe]
converting method string:LastIndexOfUnchecked (char,int,int)
Method string:LastIndexOfUnchecked (char,int,int) emitted at 0x4180e700 to 0x4180e92c (code length 556) [Pulsar4X.UI.exe]
converting method log4net.Repository.Hierarchy.ProvisionNode:.ctor (log4net.Repository.Hierarchy.Logger)
Method log4net.Repository.Hierarchy.ProvisionNode:.ctor (log4net.Repository.Hierarchy.Logger) emitted at 0x4180e930 to 0x4180e968 (code length 56) [Pulsar4X.UI.exe]
converting method log4net.Repository.Hierarchy.Hierarchy:get_Root ()
Method log4net.Repository.Hierarchy.Hierarchy:get_Root () emitted at 0x4180e970 to 0x4180ea0b (code length 155) [Pulsar4X.UI.exe]
converting method log4net.Repository.LoggerRepositorySkeleton:get_LevelMap ()
Method log4net.Repository.LoggerRepositorySkeleton:get_LevelMap () emitted at 0x4180ea40 to 0x4180ea54 (code length 20) [Pulsar4X.UI.exe]
converting method log4net.Core.LevelMap:LookupWithDefault (log4net.Core.Level)
Method log4net.Core.LevelMap:LookupWithDefault (log4net.Core.Level) emitted at 0x4180ea60 to 0x4180eb8c (code length 300) [Pulsar4X.UI.exe]
converting method log4net.Repository.Hierarchy.RootLogger:.ctor (log4net.Core.Level)
Method log4net.Repository.Hierarchy.RootLogger:.ctor (log4net.Core.Level) emitted at 0x4180eb90 to 0x4180ebca (code length 58) [Pulsar4X.UI.exe]
converting method log4net.Repository.Hierarchy.RootLogger:.cctor ()
Method log4net.Repository.Hierarchy.RootLogger:.cctor () emitted at 0x4180ebd0 to 0x4180ebf0 (code length 32) [Pulsar4X.UI.exe]
converting method log4net.Repository.Hierarchy.RootLogger:set_Level (log4net.Core.Level)
Method log4net.Repository.Hierarchy.RootLogger:set_Level (log4net.Core.Level) emitted at 0x4180ebf0 to 0x4180ec64 (code length 116) [Pulsar4X.UI.exe]
converting method log4net.Repository.Hierarchy.Logger:set_Parent (log4net.Repository.Hierarchy.Logger)
Method log4net.Repository.Hierarchy.Logger:set_Parent (log4net.Repository.Hierarchy.Logger) emitted at 0x4180ec70 to 0x4180ec8d (code length 29) [Pulsar4X.UI.exe]
converting method log4net.Repository.Hierarchy.Hierarchy:OnLoggerCreationEvent (log4net.Repository.Hierarchy.Logger)
Method log4net.Repository.Hierarchy.Hierarchy:OnLoggerCreationEvent (log4net.Repository.Hierarchy.Logger) emitted at 0x4180ec90 to 0x4180ecf5 (code length 101) [Pulsar4X.UI.exe]
converting method log4net.LogManager:WrapLogger (log4net.Core.ILogger)
Method log4net.LogManager:WrapLogger (log4net.Core.ILogger) emitted at 0x4180ed00 to 0x4180edf3 (code length 243) [Pulsar4X.UI.exe]
converting method log4net.Core.WrapperMap:GetWrapper (log4net.Core.ILogger)
Method log4net.Core.WrapperMap:GetWrapper (log4net.Core.ILogger) emitted at 0x4180ee00 to 0x4180f054 (code length 596) [Pulsar4X.UI.exe]
converting method log4net.Repository.Hierarchy.Logger:get_Repository ()
Method log4net.Repository.Hierarchy.Logger:get_Repository () emitted at 0x4180f060 to 0x4180f074 (code length 20) [Pulsar4X.UI.exe]
converting method log4net.Repository.LoggerRepositorySkeleton:add_ShutdownEvent (log4net.Repository.LoggerRepositoryShutdownEventHandler)
Method log4net.Repository.LoggerRepositorySkeleton:add_ShutdownEvent (log4net.Repository.LoggerRepositoryShutdownEventHandler) emitted at 0x4180f080 to 0x4180f099 (code length 25) [Pulsar4X.UI.exe]
converting method log4net.Repository.LoggerRepositorySkeleton:add_m_shutdownEvent (log4net.Repository.LoggerRepositoryShutdownEventHandler)
Method log4net.Repository.LoggerRepositorySkeleton:add_m_shutdownEvent (log4net.Repository.LoggerRepositoryShutdownEventHandler) emitted at 0x4180f0b0 to 0x4180f17c (code length 204) [Pulsar4X.UI.exe]
converting method log4net.Core.WrapperMap:CreateNewWrapperObject (log4net.Core.ILogger)
Method log4net.Core.WrapperMap:CreateNewWrapperObject (log4net.Core.ILogger) emitted at 0x4180f180 to 0x4180f1bf (code length 63) [Pulsar4X.UI.exe]
converting method log4net.LogManager:WrapperCreationHandler (log4net.Core.ILogger)
Method log4net.LogManager:WrapperCreationHandler (log4net.Core.ILogger) emitted at 0x4180f1c0 to 0x4180f1f2 (code length 50) [Pulsar4X.UI.exe]
converting method log4net.Core.LogImpl:.ctor (log4net.Core.ILogger)
Method log4net.Core.LogImpl:.ctor (log4net.Core.ILogger) emitted at 0x4180f210 to 0x4180f2c0 (code length 176) [Pulsar4X.UI.exe]
converting method log4net.Core.LogImpl:.cctor ()
Method log4net.Core.LogImpl:.cctor () emitted at 0x4180f2c0 to 0x4180f2e0 (code length 32) [Pulsar4X.UI.exe]
converting method log4net.Repository.LoggerRepositorySkeleton:add_ConfigurationChanged (log4net.Repository.LoggerRepositoryConfigurationChangedEventHandler)
Method log4net.Repository.LoggerRepositorySkeleton:add_ConfigurationChanged (log4net.Repository.LoggerRepositoryConfigurationChangedEventHandler) emitted at 0x4180f2e0 to 0x4180f2f9 (code length 25) [Pulsar4X.UI.exe]
converting method log4net.Repository.LoggerRepositorySkeleton:add_m_configurationChangedEvent (log4net.Repository.LoggerRepositoryConfigurationChangedEventHandler)
Method log4net.Repository.LoggerRepositorySkeleton:add_m_configurationChangedEvent (log4net.Repository.LoggerRepositoryConfigurationChangedEventHandler) emitted at 0x4180f310 to 0x4180f3dc (code length 204) [Pulsar4X.UI.exe]
converting method log4net.Core.LogImpl:ReloadLevels (log4net.Repository.ILoggerRepository)
Method log4net.Core.LogImpl:ReloadLevels (log4net.Repository.ILoggerRepository) emitted at 0x4180f3e0 to 0x4180f4ce (code length 238) [Pulsar4X.UI.exe]
converting method System.AppDomain:DoAssemblyResolve (string,bool)
Method System.AppDomain:DoAssemblyResolve (string,bool) emitted at 0x4180f4d0 to 0x4180f7bb (code length 747) [Pulsar4X.UI.exe]
converting method (wrapper runtime-invoke) <Module>:runtime_invoke_object__this___object_sbyte (object,intptr,intptr,intptr)
Method (wrapper runtime-invoke) <Module>:runtime_invoke_object__this___object_sbyte (object,intptr,intptr,intptr) emitted at 0x4180f7d0 to 0x4180f886 (code length 182) [Pulsar4X.UI.exe]
converting method System.TypeLoadException:.ctor ()
Method System.TypeLoadException:.ctor () emitted at 0x4180f890 to 0x4180f8bd (code length 45) [Pulsar4X.UI.exe]
converting method System.Exception:ToString ()
Method System.Exception:ToString () emitted at 0x4180f8c0 to 0x4180fa43 (code length 387) [Pulsar4X.UI.exe]
converting method (wrapper runtime-invoke) <Module>:runtime_invoke_object__this__ (object,intptr,intptr,intptr)
Method (wrapper runtime-invoke) <Module>:runtime_invoke_object__this__ (object,intptr,intptr,intptr) emitted at 0x4180fa50 to 0x4180fae6 (code length 150) [Pulsar4X.UI.exe]
converting method System.Exception:get_ClassName ()
Method System.Exception:get_ClassName () emitted at 0x4180faf0 to 0x4180fb25 (code length 53) [Pulsar4X.UI.exe]
converting method System.TypeLoadException:get_Message ()
Method System.TypeLoadException:get_Message () emitted at 0x4180fb30 to 0x4180fbb1 (code length 129) [Pulsar4X.UI.exe]
converting method System.Exception:get_Message ()
Method System.Exception:get_Message () emitted at 0x4180fbc0 to 0x4180fc01 (code length 65) [Pulsar4X.UI.exe]
converting method System.Exception:get_StackTrace ()
Method System.Exception:get_StackTrace () emitted at 0x4180fc10 to 0x4180ff1c (code length 780) [Pulsar4X.UI.exe]

Unhandled Exception: System.TypeLoadException: A type load exception has occurred.
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: A type load exception has occurred.

It seems like there is something wrong with log4net? Should I try compiling the releases? A newer version of mono?


 

Offline sublight

  • Moderator
  • Captain
  • *****
  • s
  • Posts: 582
  • Thanked: 8 times
Re: Linux compiling and testing
« Reply #1 on: February 01, 2014, 06:34:47 AM »
The GTK UI Varient was written primarily targeting MacOSx, since Mono's implementation of WinForms for OSX appears currently incomplete.

Code: [Select]
System.NotImplementedException: The requested feature is not implemented.
  at System.Windows.Forms.XplatUICarbon.SetClipRegion (IntPtr hwnd, System.Drawing.Region region) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUI.SetClipRegion (IntPtr handle, System.Drawing.Region region) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.CreateHandle () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.CreateControl () [0x00000] in <filename unknown>:0
  at at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:CreateControl ()
  at System.Windows.Forms.Control.CreateControl () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.WmShowWindow (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0

A secondary objective of the GTK UI variant is to use a 2D graphics library when drawing the system map for the benefit of people with old graphics cards that don't meet the OpenGL 2.1+ requirements of the WinForm based UI. For now, the GTK UI has no system map and is stalled until we develop one. I'm looking into using Cairo to generate an SVG that is then printed to GTK drawing area or saved as a whole-system screen shot, but so far practice has been trickier than theory.

For now I'd suggest Linux users try using the WinForm UI. If the default premake.lin tries to use the incomplete GTK UI, tell it you are a windows machine by calling ". /premake4. lin --os=windows" to force the WinForm GUI branch to load.

Yes, there are path name issues to libraries, but you can manually load/fix the missing libraries from inside Mono.
« Last Edit: February 01, 2014, 06:36:48 AM by sublight »
 

Offline cprng

  • Able Ordinary Rate
  • c
  • Posts: 4
Re: Linux compiling and testing
« Reply #2 on: February 01, 2014, 07:06:20 AM »
Quote
For now I'd suggest Linux users try using the WinForm UI.  If the default premake. lin tries to use the incomplete GTK UI, tell it you are a windows machine by calling ".  /premake4.  lin --os=windows" to force the WinForm GUI branch to load.

Hmm. . .  That doesn't seem to work.  I could only compile the winforms UI with --os=linux and --UI=winforms.  Trying to compile for windows give me
Code: [Select]
make[1]: *** No rule to make target `Storage\\Store.cs', needed by `bin/Debug/Pulsar4X.Lib.dll'.  Stop.
Quote
Yes, there are path name issues to libraries, but you can manually load/fix the missing libraries from inside Mono.

I assume you mean MonoDevelop? Note I used gmake and command line mono for this. . .  Is there any practical difference?

 

Offline sublight

  • Moderator
  • Captain
  • *****
  • s
  • Posts: 582
  • Thanked: 8 times
Re: Linux compiling and testing
« Reply #3 on: February 01, 2014, 08:06:32 AM »
Hmm. . .  That doesn't seem to work.  I could only compile the winforms UI with --os=linux and --UI=winforms.
Ok, if the winforms UI comes up by default then all is good. I couldn't remember if the GTK premake toggle was "if os != windows" or "if os = MacOSx", or if that toggle was exclusive to the mac premake,

Quote
I assume you mean MonoDevelop? Note I used gmake and command line mono for this. . .  Is there any practical difference?
Ah! so I did.

I hadn't heard of gmake before, but MonoDevelop is a medium-weight Integrated Development Environment. I guess it's a bit lighter, simpler, and unrefined than XCode, VisualStudio, or Eclipse. Is gmake is the same as a make-file project? If so congratulations, I didn't know the premake/pulsar combo worked for anything other than the MonoDevelop / VisualStudio IDEs.
 

Offline cprng

  • Able Ordinary Rate
  • c
  • Posts: 4
Re: Linux compiling and testing
« Reply #4 on: February 01, 2014, 09:13:01 AM »
Quote from: sublight link=topic=6764. msg69332#msg69332 date=1391263592
Ok, if the winforms UI comes up by default then all is good.  I couldn't remember if the GTK premake toggle was "if os != windows" or "if os = MacOSx", or if that toggle was exclusive to the mac premake,

Looks like this in premake4. lua:

Code: [Select]
if ((os.get() == "windows" and _OPTIONS.UI ~= "GTK") or _OPTIONS.UI == "winforms") then
    Winforms project
else
   GTK Project

Quote
I hadn't heard of gmake before, but MonoDevelop is a medium-weight Integrated Development Environment.  I guess it's a bit lighter, simpler, and unrefined than XCode, VisualStudio, or Eclipse.  Is gmake is the same as a make-file project? If so congratulations, I didn't know the premake/pulsar combo worked for anything other than the MonoDevelop / VisualStudio IDEs.

Yes, by gmake I mean make and Makefiles.  Premake called with --help claims to support:  

Code: [Select]
codeblocks        Generate Code::Blocks project files
 codelite          Generate CodeLite project files
 gmake             Generate GNU makefiles for POSIX, MinGW, and Cygwin
 vs2002            Generate Microsoft Visual Studio 2002 project files
 vs2003            Generate Microsoft Visual Studio 2003 project files
 vs2005            Generate Microsoft Visual Studio 2005 project files
 vs2008            Generate Microsoft Visual Studio 2008 project files
 vs2010            Generate Visual Studio 2010 project files
 xcode3            Generate Apple Xcode 3 project files (experimental)
 xcode4            Generate Apple Xcode 4 project files (experimental)

But did you give a look at that last log? I can't really understand what it's saying.  Here's the beggining of the log.

Code: [Select]
converting method System.OutOfMemoryException:.ctor (string)
Method System.OutOfMemoryException:.ctor (string) emitted at 0x4059ca70 to 0x4059ca99 (code length 41) [Pulsar4X.UI.exe]
converting method (wrapper runtime-invoke) <Module>:runtime_invoke_void__this___object (object,intptr,intptr,intptr)
Method (wrapper runtime-invoke) <Module>:runtime_invoke_void__this___object (object,intptr,intptr,intptr) emitted at 0x4059ca
b0 to 0x4059cb4e (code length 158) [Pulsar4X.UI.exe]
converting method System.SystemException:.ctor (string)
Method System.SystemException:.ctor (string) emitted at 0x4059cb50 to 0x4059cb79 (code length 41) [Pulsar4X.UI.exe]
converting method System.Exception:.ctor (string)
Method System.Exception:.ctor (string) emitted at 0x4059cb90 to 0x4059cbba (code length 42) [Pulsar4X.UI.exe]
converting method System.NullReferenceException:.ctor (string)
Method System.NullReferenceException:.ctor (string) emitted at 0x4059cbc0 to 0x4059cbe9 (code length 41) [Pulsar4X.UI.exe]
converting method System.StackOverflowException:.ctor (string)
Method System.StackOverflowException:.ctor (string) emitted at 0x4059cbf0 to 0x4059cc09 (code length 25) [Pulsar4X.UI.exe]
converting method Pulsar4X.UI.Program:Main ()
converting method Pulsar4X.UI.Program:.cctor ()
Method Pulsar4X.UI.Program:.cctor () emitted at 0x4059cc10 to 0x4059cc39 (code length 41) [Pulsar4X.UI.exe]
converting method (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
Method (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr) emitted at 0x4059cc50 to 0x4059ccd6
(code length 134) [Pulsar4X.UI.exe]
converting method log4net.LogManager:GetLogger (System.Type)
Method log4net.LogManager:GetLogger (System.Type) emitted at 0x4059cce0 to 0x4059cd19 (code length 57) [Pulsar4X.UI.exe]
converting method log4net.LogManager:.cctor ()
Method log4net.LogManager:.cctor () emitted at 0x4059cd50 to 0x4059cdb2 (code length 98) [Pulsar4X.UI.exe]
converting method (wrapper managed-to-native) object:__icall_wrapper_mono_object_new_fast (intptr)
Method (wrapper managed-to-native) object:__icall_wrapper_mono_object_new_fast (intptr) emitted at 0x4059cdc0 to 0x4059ce35 (
code length 117) [Pulsar4X.UI.exe]
converting method log4net.Core.WrapperMap:.ctor (log4net.Core.WrapperCreationHandler)
Method log4net.Core.WrapperMap:.ctor (log4net.Core.WrapperCreationHandler) emitted at 0x4059ce40 to 0x4059cecc (code length 1
40) [Pulsar4X.UI.exe]
converting method System.Collections.Hashtable:.ctor ()
Method System.Collections.Hashtable:.ctor () emitted at 0x4059cee0 to 0x4059cf14 (code length 52) [Pulsar4X.UI.exe]
converting method System.Collections.Hashtable:.cctor ()
Method System.Collections.Hashtable:.cctor () emitted at 0x4059cf30 to 0x4059cf7a (code length 74) [Pulsar4X.UI.exe]
converting method (wrapper managed-to-native) object:__icall_wrapper_mono_array_new_specific (intptr,int)
Method (wrapper managed-to-native) object:__icall_wrapper_mono_array_new_specific (intptr,int) emitted at 0x4059cf90 to 0x4059d00d (code length 125) [Pulsar4X.UI.exe]
converting method string:memcpy (byte*,byte*,int)
Method string:memcpy (byte*,byte*,int) emitted at 0x4059d010 to 0x4059d127 (code length 279) [Pulsar4X.UI.exe]
converting method string:.cctor ()
Method string:.cctor () emitted at 0x4059d150 to 0x4059d1c6 (code length 118) [Pulsar4X.UI.exe]
converting method (wrapper managed-to-native) string:GetLOSLimit ()
Method (wrapper managed-to-native) string:GetLOSLimit () emitted at 0x4059d1d0 to 0x4059d23d (code length 109) [Pulsar4X.UI.exe]
converting method string:memcpy4 (byte*,byte*,int)
Method string:memcpy4 (byte*,byte*,int) emitted at 0x4059d240 to 0x4059d2eb (code length 171) [Pulsar4X.UI.exe]


I tried running the project compiled on the Mono Migration Analyser and it gave a few errors.  I attached the results for the winforms build (note that's actually an . html file,but the forum wouldn't let me upload), but note this was run with the bundled log4net, but I compiled with my own log4net.
 

Offline Nathan_

  • Pulsar 4x Dev
  • Commodore
  • *
  • N
  • Posts: 701
Re: Linux compiling and testing
« Reply #5 on: March 16, 2014, 03:43:00 PM »
To belatedly get back to this, would just ripping out all of the logger code help?
 

Offline cprng

  • Able Ordinary Rate
  • c
  • Posts: 4
Re: Linux compiling and testing
« Reply #6 on: March 27, 2014, 07:10:11 AM »
I have no idea of how to do that.
 

Offline Nathan_

  • Pulsar 4x Dev
  • Commodore
  • *
  • N
  • Posts: 701
Re: Linux compiling and testing
« Reply #7 on: March 27, 2014, 12:35:16 PM »
I have no idea of how to do that.
It would mean going through all the various files and removing references to it. I'll keep that in mind for the next release.
 

Offline Erik Luken

  • Administrator
  • Admiral of the Fleet
  • *****
  • Posts: 5145
  • Thanked: 115 times
  • Discord Username: icehawke
Re: Linux compiling and testing
« Reply #8 on: March 27, 2014, 02:12:30 PM »
Can't you use compiler directives?
 

Offline Nathan_

  • Pulsar 4x Dev
  • Commodore
  • *
  • N
  • Posts: 701
Re: Linux compiling and testing
« Reply #9 on: March 27, 2014, 04:00:34 PM »
yeah thats how I'll probably wind up doing it.
 

 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53