Re: [Piglit] [waffle] [Mesa-dev] [ANNOUNCE] waffle-1.1.0
On 10/15/2012 12:13 PM, Chad Versace wrote: On 10/15/2012 07:57 AM, Brian Paul wrote: On 10/15/2012 02:37 AM, Chad Versace wrote: I unpacked the .xz file, then $ cd waffle-1.1.0 $ export WAFFLE_SOURCE_DIR=$PWD/src $ cmake \ -DCMAKE_LIBRARY_PATH=$(echo $LIBRARY_PATH | sed 's/:/;/g') \ -Dwaffle_has_glx=1 \ -Dwaffle_has_x11_egl=1 \ $WAFFLE_SOURCE_DIR -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done CMake Error at waffle/CMakeLists.txt:141 (target_link_libraries): Cannot specify link libraries for target dl which is not built by this project. CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 2.8) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run cmake --help-policy CMP. This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring incomplete, errors occurred! Did I do something wrong? Yes, but so did I. I see now that the build instructions I provided are ambiguous. The try setting WAFFLE_SOURCE_DIR to the top of the tarball, like this: $ cd waffle-1.1.0 $ export WAFFLE_SOURCE_DIR=$PWD $ cmake \ -DCMAKE_LIBRARY_PATH=$(echo $LIBRARY_PATH | sed 's/:/;/g') \ -Dwaffle_has_glx=1 \ -Dwaffle_has_x11_egl=1 \ $WAFFLE_SOURCE_DIR I still get the Cannot specify link libraries for target dl which is not built by this project error. -Brian ___ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit
Re: [Piglit] [waffle] [Mesa-dev] [ANNOUNCE] waffle-1.1.0
On 10/15/2012 11:20 AM, Brian Paul wrote: On 10/15/2012 12:13 PM, Chad Versace wrote: On 10/15/2012 07:57 AM, Brian Paul wrote: On 10/15/2012 02:37 AM, Chad Versace wrote: I unpacked the .xz file, then $ cd waffle-1.1.0 $ export WAFFLE_SOURCE_DIR=$PWD/src $ cmake \ -DCMAKE_LIBRARY_PATH=$(echo $LIBRARY_PATH | sed 's/:/;/g') \ -Dwaffle_has_glx=1 \ -Dwaffle_has_x11_egl=1 \ $WAFFLE_SOURCE_DIR -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done CMake Error at waffle/CMakeLists.txt:141 (target_link_libraries): Cannot specify link libraries for target dl which is not built by this project. CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 2.8) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run cmake --help-policy CMP. This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring incomplete, errors occurred! Did I do something wrong? Yes, but so did I. I see now that the build instructions I provided are ambiguous. The try setting WAFFLE_SOURCE_DIR to the top of the tarball, like this: $ cd waffle-1.1.0 $ export WAFFLE_SOURCE_DIR=$PWD $ cmake \ -DCMAKE_LIBRARY_PATH=$(echo $LIBRARY_PATH | sed 's/:/;/g') \ -Dwaffle_has_glx=1 \ -Dwaffle_has_x11_egl=1 \ $WAFFLE_SOURCE_DIR I still get the Cannot specify link libraries for target dl which is not built by this project error. I can't reproduce this. Does the problem occur on a freshly unpacked tarball on which CMake has never been invoked? ___ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit
Re: [Piglit] [waffle] [Mesa-dev] [ANNOUNCE] waffle-1.1.0
On 10/15/2012 08:59 AM, Marek Olšák wrote: Hi Chad, waffle and/or piglit create an RGBA framebuffer even in the case where only RGB is requested, which breaks these piglit tests: - clearbuffer-display-lists (not sure - fs-texelFetchOffset-2D - fdo25614-genmipmap Thanks for finding the bug. I just submitted a patch to fix fs-texelFetchOffset-2D: util: Fix visual selection when using waffle Also, the read-front test is completely broken. I'm still looking into read-front. This test used to work with waffle. I must have broken something as the piglit patch series evolved. Thankfully, waffle can be turned off in piglit, which I didn't know until now. Thankfully, waffle will allow us to test GL core profiles and GLES3, and it doesn't spam the screen with windows that steal your input. ___ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit
Re: [Piglit] [waffle] [Mesa-dev] [ANNOUNCE] waffle-1.1.0
On 10/15/2012 12:42 PM, Chad Versace wrote: On 10/15/2012 11:20 AM, Brian Paul wrote: On 10/15/2012 12:13 PM, Chad Versace wrote: On 10/15/2012 07:57 AM, Brian Paul wrote: On 10/15/2012 02:37 AM, Chad Versace wrote: I unpacked the .xz file, then $ cd waffle-1.1.0 $ export WAFFLE_SOURCE_DIR=$PWD/src $ cmake \ -DCMAKE_LIBRARY_PATH=$(echo $LIBRARY_PATH | sed 's/:/;/g') \ -Dwaffle_has_glx=1 \ -Dwaffle_has_x11_egl=1 \ $WAFFLE_SOURCE_DIR -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done CMake Error at waffle/CMakeLists.txt:141 (target_link_libraries): Cannot specify link libraries for target dl which is not built by this project. CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 2.8) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run cmake --help-policy CMP. This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring incomplete, errors occurred! Did I do something wrong? Yes, but so did I. I see now that the build instructions I provided are ambiguous. The try setting WAFFLE_SOURCE_DIR to the top of the tarball, like this: $ cd waffle-1.1.0 $ export WAFFLE_SOURCE_DIR=$PWD $ cmake \ -DCMAKE_LIBRARY_PATH=$(echo $LIBRARY_PATH | sed 's/:/;/g') \ -Dwaffle_has_glx=1 \ -Dwaffle_has_x11_egl=1 \ $WAFFLE_SOURCE_DIR I still get the Cannot specify link libraries for target dl which is not built by this project error. I can't reproduce this. Does the problem occur on a freshly unpacked tarball on which CMake has never been invoked? Got something different this time: $ cmake -DCMAKE_LIBRARY_PATH=$(echo $LIBRARY_PATH | sed 's/:/;/g') -Dwaffle_has_glx=1 -Dwaffle_has_x11_egl=1 $WAFFLE_SOURCE_DIR -- The C compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done CMake Error at CMakeLists.txt:72 (include): include could not find load file: GNUInstallDirs -- Performing Test waffle_has_tls -- Performing Test waffle_has_tls - Success -- Performing Test waffle_has_tls_model_initial_exec -- Performing Test waffle_has_tls_model_initial_exec - Success -- Library EGL not found -- Library GL found: /usr/lib64/libGL.so -- Library xcb found: /usr/local/lib/libxcb.so -- Library X11 found: /usr/lib64/libX11.so -- Library X11-xcb found: /usr/lib64/libX11-xcb.so CMake Error at doc/CMakeLists.txt:1 (install): install FILES given no DESTINATION! CMake Error at src/waffle/CMakeLists.txt:149 (install): install TARGETS given no LIBRARY DESTINATION for shared library target waffle-1. --- Waffle configuration summary Supported platforms: glx x11_egl Libraries: EGL: waffle_EGL_library-NOTFOUND GL: /usr/lib64/libGL.so xcb: /usr/local/lib/libxcb.so X11: /usr/lib64/libX11.so X11-xcb: /usr/lib64/libX11-xcb.so Build type: Tools: cc: /usr/bin/gcc CFLAGS_base: --std=c99 -Wall -Werror CFLAGS_debug: -g3 -O0 -DDEBUG CFLAGS_release: -g1 -O2 -DNDEBUG Install paths: CMAKE_INSTALL_PREFIX: /usr/local CMAKE_INSTALL_INCLUDEDIR: CMAKE_INSTALL_LIBDIR: CMAKE_INSTALL_DOCDIR: --- CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: waffle_EGL_library linked by target waffle-1 in directory /home/software/waffle-1.1.0/src/waffle linked by target waffle_static in directory /home/software/waffle-1.1.0/src/waffle -- Configuring incomplete, errors occurred! -Brian ___ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit