[Mesa-dev] MSVC, MinGW build break
Brian Paul
brianp at vmware.com
Fri Oct 16 20:11:10 PDT 2015
Hi Rob,
Your recent commit "nir: remove dependency on glsl" broke the build for
MSVC and MinGW.
For MSVC:
[...]
Linking
build\windows-x86-debug\gallium\tests\graw\occlusion-query.exe ...
Linking build\windows-x86-debug\gallium\tests\graw\quad-sample.exe ...
glsl.lib(loop_controls.obj) : error LNK2001: unresolved external symbol
"public: static struct glsl_type const * const glsl_type::bool_type"
(?bool_type at glsl_type@@2QBU1 at B)
glsl.lib(lower_discard_flow.obj) : error LNK2001: unresolved external
symbol "public: static struct glsl_type const * const
glsl_type::bool_type" (?bool_type at glsl_type@@2QBU1 at B)
[...]
glsl.lib(builtin_functions.obj) : error LNK2001: unresolved external
symbol "public: static struct glsl_type const * const
glsl_type::float_type" (?float_type at glsl_type@@2QBU1 at B)
[...]
mesa.lib(ff_fragment_shader.obj) : error LNK2001: unresolved external
symbol "public: static struct glsl_type const * const
glsl_type::sampler2DShadow_type" (?sampler2DShadow_type at glsl_type@@2QBU1 at B)
[etc. for hundreds more]
For MinGW:
[...]
Linking build/windows-x86-debug/gallium/tests/graw/fs-write-z.exe ...
Linking build/windows-x86-debug/gallium/targets/osmesa/osmesa.dll ...
Linking
build/windows-x86-debug/gallium/targets/libgl-gdi/opengl32.dll ...
build/windows-x86-debug/mesa/libmesa.a(ir_to_mesa.o): In function
`reladdr_to_temp':
/var/lib/hudson/jobs/mesa-mingw/workspace/src/mesa/program/ir_to_mesa.cpp:793:
undefined reference to `glsl_type::vec4_type'
build/windows-x86-debug/mesa/libmesa.a(ir_to_mesa.o): In function `visit':
/var/lib/hudson/jobs/mesa-mingw/workspace/src/mesa/program/ir_to_mesa.cpp:1092:
undefined reference to `glsl_type::vec4_type'
/var/lib/hudson/jobs/mesa-mingw/workspace/src/mesa/program/ir_to_mesa.cpp:1115:
undefined reference to `glsl_type::vec4_type'
/var/lib/hudson/jobs/mesa-mingw/workspace/src/mesa/program/ir_to_mesa.cpp:1487:
undefined reference to `glsl_type::float_type'
/var/lib/hudson/jobs/mesa-mingw/workspace/src/mesa/program/ir_to_mesa.cpp:1497:
undefined reference to `glsl_type::float_type'
/var/lib/hudson/jobs/mesa-mingw/workspace/src/mesa/program/ir_to_mesa.cpp:1871:
undefined reference to `glsl_type::vec4_type'
/var/lib/hudson/jobs/mesa-mingw/workspace/src/mesa/program/ir_to_mesa.cpp:1883:
undefined reference to `glsl_type::vec4_type'
Hopefully it's something simple to fix.
-Brian
More information about the mesa-dev
mailing list