0
使用Code :: Blocks w/mingw,並試圖將GLee用於Windows上的某些OpenGL。我得到以下編譯錯誤:構建錯誤w/GLee(GL輕鬆擴展庫)
GLee.c|60|undefined reference to `[email protected]'
GLee.c|10748|undefined reference to `[email protected]'
GLee.c|10751|undefined reference to `[email protected]'
GLee.c|10797|undefined reference to `[email protected]'
GLee.c|10910|undefined reference to `[email protected]'
GLee.c|10976|undefined reference to `[email protected]'
而我只是其中GLEE喜歡這樣(與GLee.c,而不是.dll文件):
#include "GLee.h"
根據本伍德豪斯,歡樂合唱團是「用純C語言編寫的,所以任何C或C++編譯器都可以工作,你可以將源文件直接包含在你的項目中或者編譯成一個庫」,所以我應該沒有問題。
谷歌並沒有給我太多這方面的信息,所以我希望有一些OpenGL的獸醫(或任何熟悉GLee的人)能指出我的方向。