2016-07-13 2 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

인텔 웹 사이트에서 장치 드라이버를 설치하십시오. Microsoft가 제공 한 것은 좋지 않습니다.

+0

나는 hp 웹 사이트에서 드라이버를 설치했다. 그러나 새로운 하나를 위해 인텔 웹 사이트에서 검색 할 것이다. – kevingoos

+1

문제였다. 인텔은 그의 웹 사이트에 최신 드라이버를 가지고있다. – kevingoos

+1

나는 그렇게 생각했다;) 나는 이것의 변형을 가지고 있었다. 문제는 나 자신. 공급 업체는 실제 그래픽 카드 제조업체만큼 드라이버를 정기적으로 업데이트하지 않습니다. – Erwin

관련 문제