Note that there are some explanatory texts on larger screens.

plurals
  1. POCan't get GLEW working with VS2010, linker errors
    primarykey
    data
    text
    <p>I'm trying to learn OpenGL and using openglbook.com as my reference. I'm trying to get GLEW and freeglut to work on my computer, and so I'm starting out by going through the steps he lays out for getting them working with Visual Studio here: <a href="http://openglbook.com/setting-up-opengl-glew-and-freeglut-in-visual-c" rel="nofollow">http://openglbook.com/setting-up-opengl-glew-and-freeglut-in-visual-c</a>. I'm following it to the letter and the only difference is that I'm using Visual Studio 2010 Ultimate.</p> <p>The issue appears when I try to use GLEW; when this happens I get a linker error. Here's the full text of the error message:</p> <pre><code>1&gt;------ Build started: Project: gl1, Configuration: Debug Win32 ------ 1&gt;Build started 2012/07/28 20:12:19. 1&gt;InitializeBuildStatus: 1&gt; Touching "Debug\gl1.unsuccessfulbuild". 1&gt;ClCompile: 1&gt; All outputs are up-to-date. 1&gt;ManifestResourceCompile: 1&gt; All outputs are up-to-date. 1&gt;main.obj : error LNK2019: unresolved external symbol __imp__glewGetErrorString@4 referenced in function _Initialize 1&gt;main.obj : error LNK2019: unresolved external symbol __imp__glewInit@0 referenced in function _Initialize 1&gt;c:\users\magpie\documents\visual studio 2010\Projects\gl1\Debug\gl1.exe : fatal error LNK1120: 2 unresolved externals 1&gt; 1&gt;Build FAILED. 1&gt; 1&gt;Time Elapsed 00:00:00.84 ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== </code></pre> <p>Any help? When I first encountered this error, I tried compiling GLEW from source, but that didn't fix it either (assuming I did that correctly).</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload