[Mesa-dev] Is there a way to enable shared glapi with scons?

Yuzhu Lu yuzhu at wolfram.com
Thu Sep 17 14:23:56 PDT 2015


I need to build the mangled osmesa for Windows with shared glapi enabled, otherwise functions like glCreateShader will not work(yes, this is a bug.) But I can not find any setting to do that with scons. There is a experimental option gles=yes which will force the shared glapi. But I get build errors and can not find __imp__glapi_* functions. Anyone has suggestions? 



Yuzhu 


CFLAGS="-O2 -DUSE_MGL_NAMESPACE" CXXFLAGS="-O2 -DUSE_MGL_NAMESPACE" LDFLAGS="-static -s" scons build=release platform=windows toolchain=crossmingw machine=x86_64 texture-floature=yes llvm=no gles=yes osmesa 

/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_attrib_tmp.h:503: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_api.o): In function `vbo_Vertex4fv': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_attrib_tmp.h:267: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_attrib_tmp.h:267: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_api.o): In function `vbo_Vertex4f': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_attrib_tmp.h:260: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_attrib_tmp.h:260: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_api.o): In function `vbo_Vertex3fv': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_attrib_tmp.h:253: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_attrib_tmp.h:253: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_api.o): In function `vbo_Vertex3f': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_attrib_tmp.h:246: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_attrib_tmp.h:246: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_api.o): In function `vbo_Vertex2fv': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_attrib_tmp.h:239: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_attrib_tmp.h:239: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_api.o): In function `vbo_Vertex2f': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_attrib_tmp.h:232: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_attrib_tmp.h:232: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_api.o): In function `VertexAttrib4f_nopos': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_api.c:1240: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_api.c:1240: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_api.o): In function `vbo_Color4f': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_attrib_tmp.h:380: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_attrib_tmp.h:380: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_api.o): In function `vbo_Normal3f': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_attrib_tmp.h:334: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_attrib_tmp.h:334: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_api.o): In function `vbo_MultiTexCoord4f': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_attrib_tmp.h:485: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_attrib_tmp.h:485: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_EvalMesh2': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:714: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:739: undefined reference to `__imp__glapi_Dispatch' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:769: undefined reference to `__imp__glapi_get_dispatch' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:744: undefined reference to `__imp__glapi_get_dispatch' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:753: undefined reference to `__imp__glapi_get_dispatch' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:753: undefined reference to `__imp__glapi_Dispatch' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:760: undefined reference to `__imp__glapi_get_dispatch' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:757: undefined reference to `__imp__glapi_Dispatch' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:767: undefined reference to `__imp__glapi_get_dispatch' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:758: undefined reference to `__imp__glapi_get_dispatch' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:751: undefined reference to `__imp__glapi_get_dispatch' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:714: undefined reference to `__imp__glapi_get_context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:747: undefined reference to `__imp__glapi_get_dispatch' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:741: undefined reference to `__imp__glapi_get_dispatch' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_EvalMesh1': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:677: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:703: undefined reference to `__imp__glapi_Dispatch' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:705: undefined reference to `__imp__glapi_get_dispatch' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:677: undefined reference to `__imp__glapi_get_context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:707: undefined reference to `__imp__glapi_get_dispatch' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:703: undefined reference to `__imp__glapi_get_dispatch' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_Rectf': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:662: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:665: undefined reference to `__imp__glapi_Dispatch' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:662: undefined reference to `__imp__glapi_get_context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:665: undefined reference to `__imp__glapi_get_dispatch' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:670: undefined reference to `__imp__glapi_get_dispatch' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:669: undefined reference to `__imp__glapi_get_dispatch' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:668: undefined reference to `__imp__glapi_get_dispatch' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:667: undefined reference to `__imp__glapi_get_dispatch' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o):/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:666: more undefined references to `__imp__glapi_get_dispatch' follow 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_DrawTransformFeedbackStreamInstanced': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1529: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1529: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_DrawElementsInstancedBaseVertexBaseInstance': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1237: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1237: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_MultiDrawElementsIndirect': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1767: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1767: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_MultiDrawArraysIndirect': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1742: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1742: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_DrawElementsIndirect': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1724: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1724: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_DrawArraysIndirect': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1708: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1708: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_MultiDrawElementsBaseVertex': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1418: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1418: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_MultiDrawElements': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1400: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1400: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_DrawRangeElementsBaseVertex': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1019: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1019: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_DrawElements': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1118: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1118: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_DrawElementsBaseVertex': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1140: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1140: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_DrawElementsInstanced': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1162: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1162: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_DrawElementsInstancedBaseVertex': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1186: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1186: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_DrawElementsInstancedBaseInstance': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1211: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1211: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_DrawTransformFeedback': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1485: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1485: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_DrawTransformFeedbackStream': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1499: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1499: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_DrawTransformFeedbackInstanced': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1514: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1514: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_DrawRangeElementsBaseVertex': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1019: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1019: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_DrawArrays': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:785: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:785: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_DrawArraysInstancedBaseInstance': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:838: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:838: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_DrawArraysInstanced': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:812: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:812: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_DrawArrays': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:785: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:785: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_DrawArraysInstanced': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:812: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:812: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_DrawElements': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1118: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1118: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_DrawElementsBaseVertex': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1140: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1140: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_DrawRangeElementsBaseVertex': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1019: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1019: undefined reference to `__imp__glapi_get_context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1019: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1019: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_MultiDrawElements': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1400: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1400: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_MultiDrawElementsBaseVertex': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1418: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1418: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_array.o): In function `vbo_exec_DrawTransformFeedback': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1485: undefined reference to `__imp__glapi_Context' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_array.c:1485: undefined reference to `__imp__glapi_get_context' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_eval.o): In function `vbo_exec_do_EvalCoord1f': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_eval.c:161: undefined reference to `__imp__glapi_Dispatch' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_eval.c:163: undefined reference to `__imp__glapi_get_dispatch' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_eval.c:161: undefined reference to `__imp__glapi_get_dispatch' 
build/windows-x86_64/mesa/libmesa.a(vbo_exec_eval.o): In function `vbo_exec_do_EvalCoord2f': 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_eval.c:240: undefined reference to `__imp__glapi_Dispatch' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_eval.c:242: undefined reference to `__imp__glapi_get_dispatch' 
/home/osboxes/mesa_win64/mesa-10.5.9/src/mesa/vbo/vbo_exec_eval.c:240: undefined reference to `__imp__glapi_get_dispatch' 
collect2: error: ld returned 1 exit status 
scons: *** [build/windows-x86_64/mesa/drivers/osmesa/osmesa.dll] Error 1 
scons: building terminated because of errors. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150917/ca58c308/attachment-0001.html>


More information about the mesa-dev mailing list