<tfoot id='8vdO5'></tfoot>
  • <legend id='8vdO5'><style id='8vdO5'><dir id='8vdO5'><q id='8vdO5'></q></dir></style></legend>
      • <bdo id='8vdO5'></bdo><ul id='8vdO5'></ul>

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

      1. <small id='8vdO5'></small><noframes id='8vdO5'>

        如何在 MinGW 中使用 GLEW

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

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

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

                  本文介绍了如何在 MinGW 中使用 GLEW的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我试图使用glew32.lib 文件链接到我的项目中,而不是我自己编译Glew 源代码来获得glew.a 文件.现在,我的项目中有这些链接错误:

                  I was trying to use glew32.lib file to link in my project, than I compile Glew source by myself to get glew.a file. Now, I have these link errors in my project:

                  g++ -o Chapter10(OpenCLTest).exe srcChapter10(OpenCLTest).o -lopengl32 -lglew -lglut32 -lglu32 -lopencl
                  srcChapter10(OpenCLTest).o:Chapter10(OpenCLTest).cpp:(.text+0x167): undefined reference to `_imp____glewBindBuffer'
                  srcChapter10(OpenCLTest).o:Chapter10(OpenCLTest).cpp:(.text+0x39a): undefined reference to `_imp__glewInit'
                  srcChapter10(OpenCLTest).o:Chapter10(OpenCLTest).cpp:(.text+0x3a7): undefined reference to `_imp__glewIsSupported'
                  srcChapter10(OpenCLTest).o:Chapter10(OpenCLTest).cpp:(.text+0x48a): undefined reference to `_imp____glewGenBuffers'
                  srcChapter10(OpenCLTest).o:Chapter10(OpenCLTest).cpp:(.text+0x495): undefined reference to `_imp____glewBindBuffer'
                  srcChapter10(OpenCLTest).o:Chapter10(OpenCLTest).cpp:(.text+0x4dd): undefined reference to `_imp____glewBufferData'
                  srcChapter10(OpenCLTest).o:Chapter10(OpenCLTest).cpp:(.text+0x50b): undefined reference to `_imp____glewGetBufferParameteriv'
                  srcChapter10(OpenCLTest).o:Chapter10(OpenCLTest).cpp:(.text+0x1d67): undefined reference to `_imp____glewBindBuffer'
                  srcChapter10(OpenCLTest).o:Chapter10(OpenCLTest).cpp:(.text+0x1d7f): undefined reference to `_imp____glewDeleteBuffers'
                  srcChapter10(OpenCLTest).o:Chapter10(OpenCLTest).cpp:(.text+0x1d95): undefined reference to `_imp____glewBindBuffer'
                  srcChapter10(OpenCLTest).o:Chapter10(OpenCLTest).cpp:(.text+0x1dad): undefined reference to `_imp____glewDeleteBuffers'
                  srcChapter10(OpenCLTest).o:Chapter10(OpenCLTest).cpp:(.text+0x2078): undefined reference to `_imp____glewBindBuffer'
                  collect2: ld returned 1 exit status
                  

                  解决这个问题很好,但顺便问一下,gl 扩展是否还有其他 opengl 实现?

                  It is good to solve this problem but by the way I want to ask are there any other opengl implementaions of gl extentions?

                  推荐答案

                  你可以试试 GLee本质上与 GLEW 做同样的事情.

                  You could try GLee which essentially does the same thing as GLEW.

                  这篇关于如何在 MinGW 中使用 GLEW的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:我在哪里可以获得 Mac 的 windows.h? 下一篇:使用 SDL_Renderer 绘制 2D 内容和使用 SDL_GLContext 绘

                  相关文章

                  最新文章

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

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

                  2. <tfoot id='D7LWT'></tfoot>
                      <bdo id='D7LWT'></bdo><ul id='D7LWT'></ul>