2016-07-13 35 views
0

私のプログラムでOpenTKを使用しようとしています。OpenTK Toolkitサンプルブラウザクラッシュ

OpenTKサンプルの下で、GLControl Simpleを試しました。しかし、それは動作しません、私は解決策を見つけるのに十分な経験がありません。誰かが私を助けることができますか?

これは私が取得エラーです:

Error

エラーメッセージが述べている:

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box. 

************** Exception Text ************** 
OpenTK.Graphics.GraphicsContextException: Context creation failed. Wgl.CreateContext() error: -1073283041. 
    at OpenTK.Platform.Windows.WinGLContext..ctor(GraphicsMode format, WinWindowInfo window, IGraphicsContext sharedContext, Int32 major, Int32 minor, GraphicsContextFlags flags) in c:\temp\opentk\Source\OpenTK\Platform\Windows\WinGLContext.cs:line 185 
    at OpenTK.Platform.Windows.WinFactory.CreateGLContext(GraphicsMode mode, IWindowInfo window, IGraphicsContext shareContext, Boolean directRendering, Int32 major, Int32 minor, GraphicsContextFlags flags) in c:\temp\opentk\Source\OpenTK\Platform\Windows\WinFactory.cs:line 97 
    at OpenTK.Graphics.GraphicsContext..ctor(GraphicsMode mode, IWindowInfo window, Int32 major, Int32 minor, GraphicsContextFlags flags) in c:\temp\opentk\Source\OpenTK\Graphics\GraphicsContext.cs:line 151 
    at OpenTK.WinGLControl.CreateContext(Int32 major, Int32 minor, GraphicsContextFlags flags) 
    at OpenTK.GLControl.OnHandleCreated(EventArgs e) 
    at System.Windows.Forms.Control.WmCreate(Message& m) 
    at System.Windows.Forms.Control.WndProc(Message& m) 
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) 
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) 


************** Loaded Assemblies ************** 
mscorlib 
    Assembly Version: 2.0.0.0 
    Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400) 
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll 
---------------------------------------- 
Examples 
    Assembly Version: 1.1.0.0 
    Win32 Version: 1.1.1664.6217 
    CodeBase: file:///C:/Users/exj508/Documents/OpenTK/1.1/Binaries/OpenTK/Release/Examples.exe 
---------------------------------------- 
System.Windows.Forms 
    Assembly Version: 2.0.0.0 
    Win32 Version: 2.0.50727.5491 (Win7SP1GDR.050727-5400) 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll 
---------------------------------------- 
System 
    Assembly Version: 2.0.0.0 
    Win32 Version: 2.0.50727.8686 (QFE.050727-8600) 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll 
---------------------------------------- 
System.Drawing 
    Assembly Version: 2.0.0.0 
    Win32 Version: 2.0.50727.5495 (Win7SP1GDR.050727-5400) 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll 
---------------------------------------- 
System.Configuration 
    Assembly Version: 2.0.0.0 
    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400) 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll 
---------------------------------------- 
System.Xml 
    Assembly Version: 2.0.0.0 
    Win32 Version: 2.0.50727.5494 (Win7SP1GDR.050727-5400) 
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll 
---------------------------------------- 
OpenTK 
    Assembly Version: 1.1.0.0 
    Win32 Version: 1.1.1664.6217 
    CodeBase: file:///C:/Users/exj508/Documents/OpenTK/1.1/Binaries/OpenTK/Release/OpenTK.DLL 
---------------------------------------- 
OpenTK.GLControl 
    Assembly Version: 1.1.0.0 
    Win32 Version: 1.1.1664.6217 
    CodeBase: file:///C:/Users/exj508/Documents/OpenTK/1.1/Binaries/OpenTK/Release/OpenTK.GLControl.DLL 
---------------------------------------- 

************** JIT Debugging ************** 
To enable just-in-time (JIT) debugging, the .config file for this 
application or computer (machine.config) must have the 
jitDebugging value set in the system.windows.forms section. 
The application must also be compiled with debugging 
enabled. 

For example: 

<configuration> 
    <system.windows.forms jitDebugging="true" /> 
</configuration> 

When JIT debugging is enabled, any unhandled exception 
will be sent to the JIT debugger registered on the computer 
rather than be handled by this dialog box. 

私は、次のグラフィックスカードを持っている:

  • カード:インテル(R)HDグラフィックス4000
  • ドライババージョン: 10.18.10.3621

あなたはより多くの情報が必要な場合はお問い合わせください。

答えて

1

インテルのWebサイトからデバイスドライバをインストールしてみてください。マイクロソフトから提供されたものは良いものではありません。

+0

私はhpのウェブサイトからドライバをインストールしましたが、私は新しいものを見つけるためにインテルのウェブサイトを検索します – kevingoos

+1

問題があったので、インテルは彼のウェブサイトで新しいドライバを持っています – kevingoos

+1

私はこれを変えました自分自身の問題。ベンダーは、実際のグラフィックスカードメーカーと同じようにドライバを定期的に更新しません。 – Erwin