2
我目前正在關注openglbook.com教程(set up)(Tutorial),並且在相當早的時候遇到了問題。我收到以下兩個錯誤:Visual Studio中的OpenGL - GLEW的問題
1>main.obj : error LNK2019: unresolved external symbol [email protected] referenced in function _Initialize
1>main.obj : error LNK2019: unresolved external symbol [email protected] referenced in function _Initialize
我已經下載並編譯了freeglut 2.8.0以及glew 1.9.0二進制文件。我已將這些庫複製並分別包含在C:\ Program Files(x86)\ Microsoft SDKs \ Windows \ v6.0A \ Lib和Include中。 Lib和Include路徑也被添加到我的項目屬性下的其他庫/包含目錄。
我也在鏈接器 - >輸入 - >其他依賴項中定義了glew32.lib和freeglut.lib。
我在我的主文件的頂部包含了GL/glew.h和GL/freeglut.h。
我錯過了什麼?我找到的其他線程已經通過將目錄添加到項目屬性中解決了。有沒有人有任何想法?
謝謝!當我回家時,我會嘗試這些問題,並將問題標記爲答案,如果它解決了我的問題:D – BalsamicVinegar