Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline quasar  
#1 Posted : Saturday, December 20, 2014 3:54:18 PM(UTC)
quasar

Joined: 12/15/2014(UTC)
Posts: 3
Location: Semarang

got this error when start delta engine editor(opengl opentk,sharpdx), how to fix it? cant even try to coding and run the gameSad

Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(DeltaEngine.Core.Window)' on type 'OpenTK20Device'. ---> Exception of type 'DeltaEngine.Graphics.OpenTK20.OpenTK20Device+OpenGLVersionDoesNotSupportShaders' was thrown. (See inner exception for details.) ---> DeltaEngine.Graphics.OpenTK20.OpenTK20Device+OpenGLVersionDoesNotSupportShaders: Exception of type 'DeltaEngine.Graphics.OpenTK20.OpenTK20Device+OpenGLVersionDoesNotSupportShaders' was thrown.
at DeltaEngine.Graphics.OpenTK20.OpenTK20Device.CreateContext()
at DeltaEngine.Graphics.OpenTK20.OpenTK20Device..ctor(Window window)
at lambda_method(Closure , Object[] )
at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
--- End of inner exception stack trace ---
at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
at Autofac.Core.Resolving.InstanceLookup.<Execute>b__0()
at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)
at Autofac.Core.Resolving.InstanceLookup.Execute()
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)
at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
at Autofac.Core.Container.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
at DeltaEngine.Platforms.Resolver.Resolve[BaseType]()
at DeltaEngine.Platforms.AppRunner.get_Device()
at DeltaEngine.Platforms.AppRunner.RunTick()
at DeltaEngine.Platforms.AppRunner.Run()
at DeltaEngine.Editor.EditorView.StartViewportAndWaitUntilWindowIsClosed()
at DeltaEngine.Editor.EditorView.TryStartViewportAndBlock()
at DeltaEngine.Editor.EditorView.StartEngineAndBlock()

Wanna join the discussion?! Login to your forum accountregister a new account. Or Connect via Facebook Twitter Google

Offline Benjamin  
#2 Posted : Sunday, December 21, 2014 5:41:38 PM(UTC)
Benjamin

Medals: Admin

Joined: 8/20/2011(UTC)
Posts: 1,421
Location: Hannover

Thanks: 18 times
Was thanked: 97 time(s) in 92 post(s)
Hi quasar,

The error message means OpenTK could not be initialized because you have no drivers supporting shaders. Since it is very unlikely you don't have a GPU supporting shaders, try upgrading your graphic drivers and try again.

Alternatively you could try to use a different framework, we use mostly our own OpenGL implementation, but SharpDX, SlimDX or XNA also work fine. GLFW is another OpenGL implementation, but it will most likely have the same issue if your OpenGL drivers are not working.

I have not seen this error for many years, what kind of system and operating system do you have?
Offline quasar  
#3 Posted : Wednesday, December 24, 2014 2:55:12 PM(UTC)
quasar

Joined: 12/15/2014(UTC)
Posts: 3
Location: Semarang

using laptop asus a42f with Windows 8 Pro 64 bit, Intel(R) Core i3 M330 @ 2.13 Ghz, 4 Gb RAM, intel HD Graphic
Offline adwitandrew  
#4 Posted : Friday, December 26, 2014 11:28:28 AM(UTC)
adwitandrew

Joined: 12/25/2014(UTC)
Posts: 2

Hi I Hope you are having a good day.

If you where using the OpenGL or OpenTK editor try using the sharpDX editor and framework it worked for me.
If you did not create desktop icons you can find it in the start menu in the Delta folder.

Hope this helps.
Offline quasar  
#5 Posted : Saturday, December 27, 2014 8:42:03 AM(UTC)
quasar

Joined: 12/15/2014(UTC)
Posts: 3
Location: Semarang

Originally Posted by: drew Go to Quoted Post
Hi I Hope you are having a good day.

If you where using the OpenGL or OpenTK editor try using the sharpDX editor and framework it worked for me.
If you did not create desktop icons you can find it in the start menu in the Delta folder.

Hope this helps.


yeah, its work! thanks
Rss Feed  Atom Feed
Users browsing this topic
OceanSpiders 2.0
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2023, Yet Another Forum.NET
This page was generated in 0.074 seconds.