Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem running Exe on a surface #22

Closed
jorisdormans opened this issue Apr 21, 2016 · 3 comments
Closed

Problem running Exe on a surface #22

jorisdormans opened this issue Apr 21, 2016 · 3 comments

Comments

@jorisdormans
Copy link

jorisdormans commented Apr 21, 2016

I've got a game created with FNA which is supposed to run on a tablet on a show in about 1,5 months from now. TO that end I bought a Surface tablet running Windows 10.. During my initial test the game ran fine. However one day later (and a couple of windows updates later) it refuses to run.
The windows event viewer reports the following:

Application: Blue.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.DllNotFoundException
Stack:
at MojoShader.INTERNAL_glBestProfile(MOJOSHADER_glGetProcAddress, IntPtr, MOJOSHADER_malloc, MOJOSHADER_free, IntPtr)
at Microsoft.Xna.Framework.Graphics.OpenGLDevice..ctor(Microsoft.Xna.Framework.Graphics.PresentationParameters)
at Microsoft.Xna.Framework.Graphics.GraphicsDevice..ctor(Microsoft.Xna.Framework.Graphics.GraphicsAdapter, Microsoft.Xna.Framework.Graphics.GraphicsProfile, Microsoft.Xna.Framework.Graphics.PresentationParameters)
at Microsoft.Xna.Framework.GraphicsDeviceManager.Microsoft.Xna.Framework.IGraphicsDeviceManager.CreateDevice()
at Microsoft.Xna.Framework.GraphicsDeviceManager.get_GraphicsDevice()
at Microsoft.Xna.Framework.Game.get_GraphicsDevice()
at Microsoft.Xna.Framework.GamePlatform.BeforeInitialize()
at Microsoft.Xna.Framework.SDL2_GamePlatform.BeforeInitialize()
at Microsoft.Xna.Framework.Game.DoInitialize()
at Microsoft.Xna.Framework.Game.Run()
at Blue.Program.Main(System.String[])

And also
Faulting application name: Blue.exe, version: 0.0.0.0, time stamp: 0x5711d6ec
Faulting module name: KERNELBASE.dll, version: 10.0.10240.16766, time stamp: 0x56e8cf1c
Exception code: 0xe0434352
Fault offset: 0x000b40f8
Faulting process id: 0x117c
Faulting application start time: 0x01d19bd0f15f602a
Faulting application path: C:\Users\jd\Documents\blue\Release\Blue.exe
Faulting module path: C:\windows\SYSTEM32\KERNELBASE.dll
Report Id: de4131b9-fb6a-485c-91bb-62dba7ef1229
Faulting package full name:
Faulting package-relative application ID:

I've tried installing VC++ redist. and a DirectX redist. even an XNA redistribution to be on the safe side. But nothing seems to work.
I am at my wits end here. ANy ideas?

@flibitijibibo
Copy link
Member

flibitijibibo commented Apr 21, 2016

You may need the 2010 32-bit redist, assuming MojoShader.dll is in the output directory.

@jorisdormans
Copy link
Author

Thanks that helped!

@flibitijibibo
Copy link
Member

Cool, glad that was all... a little concerning that Windows 10 updates blow that up though. I may have to statically link the C runtime in the future, or just omit the runtime altogether through SDL_stdlib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants