← Back to team overview

kicad-developers team mailing list archive

Re: Build failure OSX

 

Hi Jeff,

I copied and adjusted your cmake spell, and it works fine for me on
macOS 10.13 with cairo installed via brew. One difference I spotted is
that I have cairo_quartz.h in
/usr/local/Cellar/cairo/1.14.12/include/cairo/.

Cheers,
Orson

On 11/2/18 1:58 PM, Jeff Young wrote:
> CLion.  CMake args:
> 
> -DCMAKE_C_COMPILER=clang
> -DCMAKE_CXX_COMPILER=clang++
> -DCMAKE_OSX_DEPLOYMENT_TARGET=10.13
> -DwxWidgets_CONFIG_EXECUTABLE=../../wxWidgets/wx-bin/bin/wx-config
> -DKICAD_SCRIPTING=ON
> -DKICAD_SCRIPTING_MODULES=OFF
> -DKICAD_SCRIPTING_WXPYTHON=OFF
> -DKICAD_USE_OCE=OFF
> -DCMAKE_INSTALL_PREFIX=./bin
> -DCMAKE_BUILD_TYPE=Debug
> -DPYTHON_SITE_PACKAGE_PATH=/Users/jeff/kicad_dev/wxWidgets/wx-bin/lib/python2.7/site-packages
> 
> Cheers,
> Jeff.
> 
> 
>> On 2 Nov 2018, at 12:39, Adam Wolf <adamwolf@xxxxxxxxxxxxxxxxxxxx> wrote:
>>
>> How are you building?  What are your cmake arguments?
>>
>> Adam
>>
>> On Fri, Nov 2, 2018, 7:33 AM Jeff Young <jeff@xxxxxxxxx <mailto:jeff@xxxxxxxxx> wrote:
>> I also tried “brew install cairo” to no avail.  I assume I need a Cairo.framework in my /system/library/frameworks, but I’m not sure how to get it there.
>>
>>
>>> On 2 Nov 2018, at 10:28, Jeff Young <jeff@xxxxxxxxx <mailto:jeff@xxxxxxxxx>> wrote:
>>>
>>> "cairo-quartz.h can’t be found”
>>>
>>> I have such a file at /opt/local/include/cairo/, but that’s evidently not where the dev system is looking.  Do I need to copy that somewhere, or does something in my setup need to be updated to look for it there?
>>>
>>> Thanks,
>>> Jeff.
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>> Unsubscribe : https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>>> More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>> Unsubscribe : https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>> More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 

Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References