<small id='HVgL2'></small><noframes id='HVgL2'>

    • <bdo id='HVgL2'></bdo><ul id='HVgL2'></ul>

    <i id='HVgL2'><tr id='HVgL2'><dt id='HVgL2'><q id='HVgL2'><span id='HVgL2'><b id='HVgL2'><form id='HVgL2'><ins id='HVgL2'></ins><ul id='HVgL2'></ul><sub id='HVgL2'></sub></form><legend id='HVgL2'></legend><bdo id='HVgL2'><pre id='HVgL2'><center id='HVgL2'></center></pre></bdo></b><th id='HVgL2'></th></span></q></dt></tr></i><div id='HVgL2'><tfoot id='HVgL2'></tfoot><dl id='HVgL2'><fieldset id='HVgL2'></fieldset></dl></div>
  1. <legend id='HVgL2'><style id='HVgL2'><dir id='HVgL2'><q id='HVgL2'></q></dir></style></legend>
    1. <tfoot id='HVgL2'></tfoot>

      对 `_imp__glewInit@0' 的未定义引用

      时间:2023-09-17
      <tfoot id='i8oMy'></tfoot>

            <small id='i8oMy'></small><noframes id='i8oMy'>

          • <legend id='i8oMy'><style id='i8oMy'><dir id='i8oMy'><q id='i8oMy'></q></dir></style></legend>
              <tbody id='i8oMy'></tbody>
              <bdo id='i8oMy'></bdo><ul id='i8oMy'></ul>

              1. <i id='i8oMy'><tr id='i8oMy'><dt id='i8oMy'><q id='i8oMy'><span id='i8oMy'><b id='i8oMy'><form id='i8oMy'><ins id='i8oMy'></ins><ul id='i8oMy'></ul><sub id='i8oMy'></sub></form><legend id='i8oMy'></legend><bdo id='i8oMy'><pre id='i8oMy'><center id='i8oMy'></center></pre></bdo></b><th id='i8oMy'></th></span></q></dt></tr></i><div id='i8oMy'><tfoot id='i8oMy'></tfoot><dl id='i8oMy'><fieldset id='i8oMy'></fieldset></dl></div>
              2. 本文介绍了对 `_imp__glewInit@0' 的未定义引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                问题描述

                我已经多次构建了glew lib.我的最后一次构建删除了对所有着色器函数的未定义引用,例如 glCreateShader().我认为这个版本是正确的,因为我发现 Code:Blocks 可以打开 Visual Studio 6.0 项目,所以它为我准备了一切.

                I have built the glew lib so many times. My last build removed the undefined references to all the shader functions such as glCreateShader(). I think this build is the correct one cause I found out that Code:Blocks can open Visual Studio 6.0 projects so it had everything laid out for me.

                我可以在不调用 glewInit() 的情况下编译我的应用程序,但是当 glCreateShader() 被调用时它会导致一个 SEGFAULT.这是由于未初始化发光引起的.

                I can compile my app without calling glewInit() but it results in a SEGFAULT right when glCreateShader() is called. Which is caused by not Initializing glew.

                我需要打开它但它不会让我XD

                I need to turn it on but it wont let me XD

                链接:mingw32、glew32、opengl32、glu32、glut32

                links: mingw32, glew32, opengl32, glu32, glut32

                IDE:代码::块

                编译器:MinGW32

                Compiler:MinGW32

                推荐答案

                省去很多麻烦,只需将 glew.c 直接添加到您的项目中即可.我不明白为什么人们如此努力地从外部链接到它.许可证是友好的,它只是一个源文件.只记得#define GLEW_STATIC.

                Save yourself a lot of trouble and just add the glew.c to your project directly. I do not understand why people fight so hard to link to it externally. The license is friendly, and it is only one source file. Just remember to #define GLEW_STATIC.

                这篇关于对 `_imp__glewInit@0' 的未定义引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                上一篇:使用 mingw32 在窗户上发光 下一篇:Qt5 OpenGL GLSL 版本错误

                相关文章

                最新文章

                <i id='zfzm5'><tr id='zfzm5'><dt id='zfzm5'><q id='zfzm5'><span id='zfzm5'><b id='zfzm5'><form id='zfzm5'><ins id='zfzm5'></ins><ul id='zfzm5'></ul><sub id='zfzm5'></sub></form><legend id='zfzm5'></legend><bdo id='zfzm5'><pre id='zfzm5'><center id='zfzm5'></center></pre></bdo></b><th id='zfzm5'></th></span></q></dt></tr></i><div id='zfzm5'><tfoot id='zfzm5'></tfoot><dl id='zfzm5'><fieldset id='zfzm5'></fieldset></dl></div>

                  • <bdo id='zfzm5'></bdo><ul id='zfzm5'></ul>

                  <tfoot id='zfzm5'></tfoot>

                  1. <small id='zfzm5'></small><noframes id='zfzm5'>

                    <legend id='zfzm5'><style id='zfzm5'><dir id='zfzm5'><q id='zfzm5'></q></dir></style></legend>