0

我正在尝试构建 SDK 并遇到错误。不幸的是,谷歌没有针对我的问题提出任何具体的问题。我已经运行“premake4 gmake”,然后运行 ​​mingw32-make,出现以下错误。

C:\Users\Austin\Documents\programming\opengl\new\glsdk_0_5_2>mingw32-make
==== Building glload (debug) ====
gl_load_cpp.cpp
In file included from include/glload/gl_all.hpp:9:0,
                 from source/gl_load_cpp.cpp:4:
include/glload/_int_gl_exts.hpp:4840:18: error: declaration does not declare any
thing [-fpermissive]
source/gl_load_cpp.cpp:4181:46: error: expected unqualified-id before '=' token
source/gl_load_cpp.cpp: In function 'void gl::CopyFunctionPointers()':
source/gl_load_cpp.cpp:7501:17: error: expected primary-expression before '=' to
ken
source/gl_load_cpp.cpp:10080:17: error: expected primary-expression before '=' t
oken
Makefile:135: recipe for target 'Debug/gl_load_cpp.o' failed
mingw32-make[1]: *** [Debug/gl_load_cpp.o] Error 1
Makefile:16: recipe for target 'glload' failed
mingw32-make: *** [glload] Error 2

这些错误似乎与“extern _detail::Proc_glMemoryBarrier MemoryBarrier;”行有关,尽管我不知道为什么。

编辑:我最终删除了这个版本的 Mingw(据说是他们网站上的最新版本)并下载了一个编译得很好的旧版本。不确定到底是什么问题,但如果其他人看到这个试试这个。

4

0 回答 0