Author Topic: Linux: SdlDotNet.Graphics.Video crash!  (Read 6306 times)

Leockard

  • Guest
Linux: SdlDotNet.Graphics.Video crash!
« on: August 13, 2009, 01:22:02 AM »
Hi all, I'm trying to get Dyson working on Ubuntu Jaunty, the game looks pretty sweet and I want to give it a go. Thing is, I am getting this problem at startup (the game doesn't even run):

Code: [Select]
$ mono Dyson.exe

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Dyson.Game ---> System.TypeInitializationException: An exception was thrown by the type initializer for SdlDotNet.Input.Mouse ---> System.TypeInitializationException: An exception was thrown by the type initializer for SdlDotNet.Graphics.Video ---> System.DllNotFoundException: SDL
  at (wrapper managed-to-native) Tao.Sdl.Sdl:SDL_WasInit (int)
  at SdlDotNet.Graphics.Video.Initialize () [0x00000]
  at SdlDotNet.Graphics.Video..cctor () [0x00000]
  --- End of inner exception stack trace ---
  at SdlDotNet.Input.Mouse..cctor () [0x00000]
  --- End of inner exception stack trace ---
  at Wuwei.Input.MouseStateRecorder.UpdateCurrentState () [0x00000]
  at Wuwei.Input.MouseStateRecorder..ctor () [0x00000]
  at Dyson.Game..cctor () [0x00000]
  --- End of inner exception stack trace ---

I have already sorted out a couple of problems with the solutions on the forums. The only other post with a similar problem was this http://www.dyson-game.com/smf/index.php?topic=90.0, but that's for Mac; I even tried the macpack thing in there but was no good.

Thanks for the help.

Leockard

  • Guest
Re: Linux: SdlDotNet.Graphics.Video crash!
« Reply #1 on: August 15, 2009, 12:25:28 AM »
....bump?

Alex

  • Administrator
  • Ent
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 14
  • Posts: 1,035
Re: Linux: SdlDotNet.Graphics.Video crash!
« Reply #2 on: August 15, 2009, 06:03:40 AM »
Hello there, now I'm not really qulified to give out support on Linux but it looks like your error there is that you don't have SDL installed.

Have you installed the packages mentioned in the download page?

Leockard

  • Guest
Re: Linux: SdlDotNet.Graphics.Video crash!
« Reply #3 on: August 15, 2009, 07:59:06 AM »
yes yes i have everything installed, don't know what this can be.
btw, it would be a good idea to specify WHAT libsdl package is mentioned in the download page, as there is no package named just libsdl. (at least in ubuntu)

aven

  • Guest
Re: Linux: SdlDotNet.Graphics.Video crash!
« Reply #4 on: August 15, 2009, 11:40:38 AM »
Hello there, now I'm not really qulified to give out support on Linux but it looks like your error there is that you don't have SDL installed.

Have you installed the packages mentioned in the download page?

I looked into the ubuntu repository and there are a load of files with SDL in them. Just wondering, what is the full name of the file I need if it isn't installed already. I also got the same errors as Leockard.

Edit: Maybe I am looking at the wrong place but this isn't a DLL that we need right?
« Last Edit: August 15, 2009, 11:55:44 AM by aven »

Alex

  • Administrator
  • Ent
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 14
  • Posts: 1,035
Re: Linux: SdlDotNet.Graphics.Video crash!
« Reply #5 on: August 16, 2009, 02:00:14 AM »
I'm not sure which package it is, but you can get the rpm from libsdl: http://www.libsdl.org/download-1.2.php

aven

  • Guest
Re: Linux: SdlDotNet.Graphics.Video crash!
« Reply #6 on: August 16, 2009, 06:58:51 AM »
hmm, they don't have any deb packages for ubuntu, only debian.

I will try to look into the repository one more time to see if there are any packages with a similar name to this one and just try and get it working.