This patched fixed the gl tests, but I encountered the same error for gles1/gles2/gles3.
Piglit built for me when I added the same link instruction to: tests/util/CMakeLists.gles1.txt tests/util/CMakeLists.gles2.txt tests/util/CMakeLists.gles3.txt Is there a more specific (GLES) link instruction that should be used, instead of linking the gles tests against GL? -Mark Emil Velikov <emil.l.veli...@gmail.com> writes: > Similar to the earlier patch for waffle-less (glut) builds. The need > for this patch became apparent as we removed the libGL link dependency > in waffle. > > Cc: Mark Janes <mark.a.ja...@intel.com> > Reported-by: Mark Janes <mark.a.ja...@intel.com> > Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> > --- > tests/util/CMakeLists.gl.txt | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/tests/util/CMakeLists.gl.txt b/tests/util/CMakeLists.gl.txt > index 34ad63e..ecd9be3 100644 > --- a/tests/util/CMakeLists.gl.txt > +++ b/tests/util/CMakeLists.gl.txt > @@ -30,6 +30,10 @@ IF(PIGLIT_BUILD_GLX_TESTS) > ${UTIL_GL_SOURCES} > piglit-glx-util.c > ) > + link_libraries( > + ${OPENGL_gl_LIBRARY} > + ) > + > ENDIF(PIGLIT_BUILD_GLX_TESTS) > > piglit_add_library (piglitutil_${piglit_target_api} > -- > 2.1.3 _______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit