我已经多次构建了glew lib.我的上一个构建删除了对所有着色器函数的未定义引用,例如glCreateShader().我认为这个构建是正确的,因为我发现Code:Blocks可以打开Visual Studio 6.0项目,所以它为我准备了一切.
我可以glewInit()在不调用的情况下编译我的应用程序但是在调用时它会导致SEGFAULT glCreateShader().这是由于没有初始化glew引起的.
我需要打开它,但它不会让我XD
链接:mingw32,glew32,opengl32,glu32,glut32
IDE:Code :: Blocks
编译:MINGW32
我真的没有发现任何可以帮助的谷歌搜索。即使对于 py2exe,但我想使用 pyinstaller。
我的问题是模块 (pymunk[aka Chipmunk]) 没有完全包含在 exe 版本中。它可能缺少某种dll。基本上它缺少一个我不知道如何解决的依赖项。
Failed to load pymunk library.
This error usually means that you don't have a compiled version of chipmunk in
the correct spot where pymunk can find it. pymunk does not include precompiled
chipmunk library files for all platforms.
The good news is that it is usually enough (at least on *nix and OS X) to
simply run the compile command first before installing and then retry again:
You compile chipmunk with …Run Code Online (Sandbox Code Playgroud) c++ ×1
chipmunk ×1
codeblocks ×1
glew ×1
mingw32 ×1
opengl ×1
pyinstaller ×1
pymunk ×1
python ×1