From 9328d0bb5f081a5e0b16ffba81846dd91a4aaeb5 Mon Sep 17 00:00:00 2001 From: Max Argus Date: Thu, 12 Jul 2018 19:00:36 +0200 Subject: [PATCH] fix build --- examples/ThirdPartyLibs/glad/{glx_dyn.c => glx.c} | 0 setup.py | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename examples/ThirdPartyLibs/glad/{glx_dyn.c => glx.c} (100%) diff --git a/examples/ThirdPartyLibs/glad/glx_dyn.c b/examples/ThirdPartyLibs/glad/glx.c similarity index 100% rename from examples/ThirdPartyLibs/glad/glx_dyn.c rename to examples/ThirdPartyLibs/glad/glx.c diff --git a/setup.py b/setup.py index dca060865..3baaa0348 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ CXX_FLAGS += '-DBT_USE_DOUBLE_PRECISION ' CXX_FLAGS += '-DBT_ENABLE_ENET ' CXX_FLAGS += '-DBT_ENABLE_CLSOCKET ' CXX_FLAGS += '-DB3_DUMP_PYTHON_VERSION ' -CXX_FLAGS += '-DBT_USE_EGL ' # uncomment for EGL (old EGL versions fail) +#CXX_FLAGS += '-DBT_USE_EGL ' # uncomment for EGL (old EGL versions fail) # libraries += [current_python] @@ -397,7 +397,7 @@ if _platform == "linux" or _platform == "linux2": sources = sources + ["examples/ThirdPartyLibs/enet/unix.c"]\ +["examples/OpenGLWindow/X11OpenGLWindow.cpp"]\ +["examples/ThirdPartyLibs/glad/gl.c"]\ - +["examples/ThirdPartyLibs/glad/glx_dyn.c"] + +["examples/ThirdPartyLibs/glad/glx.c"] include_dirs += ["examples/ThirdPartyLibs/optionalX11"] if 'BT_USE_EGL' in CXX_FLAGS: # linking with bullet's Glew libraries causes segfault