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

Chad Versace chad.versace at linux.intel.com
Mon Oct 15 11:42:35 PDT 2012


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?



More information about the waffle mailing list