Unable to load dll 'SDL.dll'...

Crash on startup

Discussion about the game and its default mods.
GoliatH
Posts: 1
Joined: Sat Nov 20, 2010 5:52 pm

Unable to load dll 'SDL.dll'...

Post by GoliatH »

Hi guys!

Just downloaded and installed openRA. Installed without any errors but crashes on startup. Here's the contents from exception.log:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.DllNotFoundException: Unable to load DLL 'SDL.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at Tao.Sdl.Sdl.__SDL_Init(Int32 flags)
at Tao.Sdl.Sdl.SDL_Init(Int32 flags)
at OpenRA.GlRenderer.GraphicsDevice..ctor(Int32 width, Int32 height, WindowMode window, Boolean vsync)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)
at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at OpenRA.Graphics.Renderer.CreateDevice(Assembly rendererDll, Int32 width, Int32 height, WindowMode window, Boolean vsync)
at OpenRA.Graphics.Renderer.Initialize(WindowMode windowMode)
at OpenRA.Game.Initialize(Arguments args)
at OpenRA.Program.Run(String[] args)
at OpenRA.Program.Main(String[] args)

Well, its obvious the opengl device failed to get created; sdl.dll couldn't be found... Do I have to install something else too? sdl.dll belongs to the 'Simple DirectMedia Layer' thing... Does openRA use SDL? And how do I fix this crash?
chrisf
Posts: 246
Joined: Mon Sep 06, 2010 5:59 am

Post by chrisf »

Yes, we do use SDL to handle platform-specific noise we'd rather not think about :)

sdl.dll should have been downloaded into your game directory by the installer -- but it's not as fault-tolerant as it ought to be. Check if just reinstalling fixes it.

Failing that, can I get some more details? OS, 32 or 64 bits, anything else that might give a clue.
sandydekker
Posts: 1
Joined: Thu Feb 24, 2011 10:43 am

Re: Unable to load dll 'SDL.dll'...

Post by sandydekker »

GoliatH wrote: Hi guys!

Just downloaded and installed openRA. Installed without any errors but crashes on startup. Here's the contents from exception.log:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.DllNotFoundException: Unable to load DLL 'SDL.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at Tao.Sdl.Sdl.__SDL_Init(Int32 flags)
at Tao.Sdl.Sdl.SDL_Init(Int32 flags)
at OpenRA.GlRenderer.GraphicsDevice..ctor(Int32 width, Int32 height, WindowMode window, Boolean vsync)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)
at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at OpenRA.Graphics.Renderer.CreateDevice(Assembly rendererDll, Int32 width, Int32 height, WindowMode window, Boolean vsync)
at OpenRA.Graphics.Renderer.Initialize(WindowMode windowMode)
at OpenRA.Game.Initialize(Arguments args)
at OpenRA.Program.Run(String[] args)
at OpenRA.Program.Main(String[] args)

Well, its obvious the opengl device failed to get created; sdl.dll couldn't be found... Do I have to install something else too? sdl.dll belongs to the 'Simple DirectMedia Layer' thing... Does openRA use SDL? And how do I fix this crash?
Hi,
[link removed]

This is the best place to get dll problems solved.
Just follow the link given above and click the button "Fix dll errors now" and you are through. :)
User avatar
Sleipnir
Posts: 878
Joined: Thu Apr 11, 2002 12:52 am

Post by Sleipnir »

On the off chance that this isn't spam, i'll leave the above post but have removed the link.
Don't use websites like the above - reinstalling OpenRA should fix the problem.
mastermaher
Posts: 2
Joined: Sun Dec 02, 2012 11:30 am

same issues

Post by mastermaher »

just put my own post on this

http://www.sleipnirstuff.com/forum/view ... 918#283918

having same issues and this post did not fix them, anyone got any ideas tried re installing and this did not fix the issue

Who is online

Users browsing this forum: Sleipnir and 3 guests