classic compile error: GLEW_STATIC needs to be define when we use opengl functions
This commit is contained in:
@@ -18,7 +18,7 @@ sources = env.Glob('bmesh/*.c')
|
||||
env.BlenderLib( libname = 'bf_python_bmesh', sources = Split(sources), includes = Split(incs), defines = defs, libtype = ['core','player'], priority = [362,165])
|
||||
|
||||
# generic
|
||||
defs = []
|
||||
defs = ['GLEW_STATIC']
|
||||
|
||||
if is_debug:
|
||||
defs.append('_DEBUG')
|
||||
|
||||
Reference in New Issue
Block a user