Eufloria > Eufloria Classic Support
Linux: game not starting - missing assembly
(1/1)
Cpt. Charisma:
and I thought noone coded in assembly any more ;)
mono -V
Mono JIT compiler version 1.9.1 (tarball)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
GC: Included Boehm (with typed GC)
SIGSEGV: altstack
Notifications: epoll
Architecture: x86
Disabled: none
./run-dyson
** (./Dyson.exe:17985): WARNING **: The following assembly referenced from /home/luke/games/dyson120-linux/Dyson.exe could not be loaded:
Assembly: System.Windows.Forms (assemblyref_index=7)
Version: 2.0.0.0
Public Key: b77a5c561934e089
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/home/luke/games/dyson120-linux/).
** (./Dyson.exe:17985): WARNING **: Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
** (./Dyson.exe:17985): WARNING **: Missing method get_PrimaryScreen in assembly /home/luke/games/dyson120-linux/Dyson.exe, type System.Windows.Forms.Screen
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
at Dyson.Game.Main () [0x00000]
Cpt. Charisma:
Ok, so under Ubuntu 8.10, installing 'mono' is not enough. I was able to install some other mono related packages and get it working.
I think this is the important one:
libmono-winforms2.0-cil
I also installed these for good measure:
libmono-system-runtime2.0-cil
libmono-i18n2.0-cil
The previous version worked just fine for me, so I guess some dependencies got added.
Alex:
I've no idea man, I don't think I added anything that would cause this :(
Ah this is possibly the window movement thing, I centre the window and stuff when the game starts.
Thanks for the heads up!
middlerun:
I was getting the same deal, and those packages seem to have fixed it. But the game still won't start, now I get this:
--- Quote ---./run-dyson
Unhandled Exception: System.ArgumentNullException: Argument cannot be null.
Parameter name: src
at (wrapper managed-to-native) System.Runtime.InteropServices.Marshal:PtrToStructure (intptr,System.Type)
at SdlDotNet.Graphics.Surface.get_SurfaceStruct () [0x00000]
at SdlDotNet.Graphics.Surface.get_Width () [0x00000]
at Wuwei.Drawing.GLSurface.set_Mode2D (Boolean value) [0x00000]
at Dyson.Game.Go () [0x00000]
at Dyson.Game.Main () [0x00000]
--- End quote ---
Navigation
[0] Message Index
Go to full version