OpenTK.dll中的System.DllNotFoundException

时间:2017-06-03 09:35:36

标签: c# dll opentk

所以我对OpenGl和3D编程都很陌生,我试图用OpenTK设置一个基本项目,它在sart上工作得很好但是现在我在程序调用时遇到这个错误GameWindow类的构造函数。

        public Window() : base(1280, 720, GraphicsMode.Default, "OpenGL", OpenTK.GameWindowFlags.Default, DisplayDevice.Default, 3, 0, OpenTK.Graphics.GraphicsContextFlags.Debug)
    {
        Console.WriteLine("gl version: " + GL.GetString(StringName.Version));
    }

以下是我得到的错误:

Exception thrown: 'System.DllNotFoundException' in OpenTK.dll Exception thrown: 'System.BadImageFormatException' in OpenTK.dll

提前致谢

0 个答案:

没有答案