[Mesa-dev] [waffle] [ANNOUNCE] waffle-1.1.0

Brian Paul brianp at vmware.com
Mon Oct 15 11:46:56 PDT 2012


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 CMP0000".
>>>> 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



More information about the mesa-dev mailing list