[QGIS-Developer] Mac build broken d0e927a

Larry Shaffer larrys at dakotacarto.com
Tue Dec 5 13:59:29 PST 2017


Hi Gary,

Upon a clean build with CMake 3.10.0 (latest in Homebrew since end of
November), I get the same error as you reported. I did the following to get
back to a working compilation toolchain (assuming you are using CMake from
Homebrew):

brew rm -f cmake

# the following is CMake at 3.9.6, with available 'bottled' binaries, i.e.
no need to build from source:
brew install
https://raw.githubusercontent.com/Homebrew/homebrew-core/33ed355cfc5ae6c64bb70f80b74876b58d6d413a/Formula/cmake.rb

# this brings 3.10.0 in again
brew upgrade cmake

This leaves you with 3.10.0 'cmake' utility discoverable on PATH (assuming
/usr/local/bin is on PATH) and 3.9.6 available from:
/usr/local/Cellar/cmake/3.9.6/bin/cmake

You can use `brew switch cmake 3.9.6` if you want 3.9.6 on PATH. I didn't
do that, but instead created a new CMake configuration in Qt Creator
(assuming you are using that) and applied it to the kit I am using to build
QGIS 3.

I reported upstream at CMake that this issue has returned:
https://gitlab.kitware.com/cmake/cmake/issues/17278

Regards,

Larry Shaffer
Dakota Cartography
Black Hills, South Dakota
----------------------------------
Boundless Desktop and QGIS Support/Development
Boundless Spatial - http://boundlessgeo.com
lshaffer at boundlessgeo.com

On Mon, Dec 4, 2017 at 10:50 AM, Larry Shaffer <larrys at dakotacarto.com>
wrote:

> Hi Gary,
>
> Which CMake version are you using? There is a flaw with CMake 3.9.0 thru
> 3.9.3 that affects automoc targets, which gave me similar errors:
> https://gitlab.kitware.com/cmake/cmake/issues/17278
>
> Works for me with CMake 3.9.4+, using Homebrew dependencies.
>
> Larry Shaffer
> Dakota Cartography
> Black Hills, South Dakota
> ----------------------------------
> Boundless Desktop and QGIS Support/Development
> Boundless Spatial - http://boundlessgeo.com
> lshaffer at boundlessgeo.com
>
> On Sat, Dec 2, 2017 at 8:44 AM, Gary Sherman <gsherman at geoapt.com> wrote:
>
>> make[2]: *** No rule to make target `output/lib/qgis_core.framework/qgis_core',
>> needed by `tests/src/core/CMakeFiles/qgis_compositiontest_autogen'.
>> Stop.
>> make[1]: *** [tests/src/core/CMakeFiles/qgis_compositiontest_autogen.dir/all]
>> Error 2
>> make: *** [all] Error 2
>>
>> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
>> Gary Sherman
>> Founder, QGIS Project
>> -Open Source GIS Books:
>>  *http://locatepress.com
>> -Geospatial Consulting & Hosting:
>>  *http://geoapt.com
>> "We work virtually everywhere"
>> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20171205/4348cad0/attachment.html>


More information about the QGIS-Developer mailing list