Notice: If the game stops working after an update, it might be a savegame incompatibility. Remove your savegame folder and try again before posting about it.
Registration has an extra hurdle now: There have been advertisement bots, so I added a security keyword to registration. Deal with it.
  0 users browsing Bug Reports. | 1 bot  
Main » Bug Reports » Running the game on a Linux machine. resolvedmono
Pages: 1
Posted on 12-03-12, 10:48 am

 

Posts: 1/2
Since: 12-03-12

Last post: 4130 days
Last view: 4130 days
Hello!

I'm using Ubuntu. I don't manage to start the game.

I have this version of mono:
<pre>> mono --version
Mono JIT compiler version 2.10.5 (Debian 2.10.5-1ubuntu0.1)
Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors.
www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: Included Boehm (with typed GC and Parallel Mark)
</pre>

And this version of wine:
<pre>> wine --version
wine-1.3.28
</pre>

I tried both the 64 and 32 bits versions, both give exactly the same error message:
<pre>/noxico-0.1.14> mono Noxico.exe
Missing method EnableVisualStyles in assembly /home/xxxxxx/opt/noxico/
noxico-0.1.14/Noxico.exe, type System.Windows.Forms.Application

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or
assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089'
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not
load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089'</pre>

If I try with wine, I get
<pre>> wine Noxico.exe
wine: Install Mono 2.8 or greater for Windows to run .NET 4.0 applications.</pre>
but I have Mono 2.10.

So, I'm lost! Does anyone know what this mean and how to proceed from here?
Posted on 12-03-12, 04:12 pm
<i>Prophet of Celestia</i><br>Baka on the streets, senpai in the sheets

Posts: 110/344
Since: 06-08-12

Last post: 1670 days
Last view: 1209 days
First of all, you don't need Wine. Only Mono.

Second, it seems to me your Mono installation seems... incomplete. As if it has only the core library, but no WinForms. Which I find interesting since pretty much all the Linux distros I used recently (all on VM ofcourse) either came with a Mono that did have WinForms, or when I installed it myself (such as on Arch, which comes with a whole lotta nothing) I got WinForms part-and-parcel.

So all I can suggest is to reinstall Mono, maybe doublecheck your package manager.

I don't just program Noxico...
Posted on 12-06-12, 09:58 am (revision 1)

 

Posts: 2/2
Since: 12-03-12

Last post: 4130 days
Last view: 4130 days
Installing the following package solved the problem:
<pre>libmono-system-windows-forms4.0-cil
Mono System.Windows.Forms Library (for CLI 4.0)</pre>
Thank you!
Pages: 1
Main » Bug Reports » Running the game on a Linux machine. resolvedmono