← Back to team overview

kicad-developers team mailing list archive

Re: New Build Dependencies: Lemon + GTK3

 

Do you know if is called "lemon.exe" and is on the path by default? If it
isn't on the path, then CMake might have difficulty finding it. You can try
passing "-DLEMON=<path>" in the CMake command line and I believe it will
use that path instead of searching for it. Other than that, I might need
Jon to take a look at it since he has a MSVC setup currently I believe (but
we are relying on the built-in CMake FindLemon script, not our own).

-Ian

On Sun, Aug 2, 2020 at 11:06 PM Roberto Fernández Bautista <
roberto.fer.bau@xxxxxxxxx> wrote:

> Just tried your branch and unfortunately couldn't get it to compile on
> Visual Studio (even after a "vcpkg install lemon:x64-windows" and "vcpkg
> integrate install")... I got the cmake error "lemon not found"
>
> I know Visual Studio isn't officially supported but any ideas what I could
> do to install lemon correctly so visual studio/ cmake can recognise it?
>
> Thanks
>
> Roberto
>
> On Sun, 2 Aug 2020 at 22:06, Ian McInerney <Ian.S.McInerney@xxxxxxxx>
> wrote:
>
>> Yes, I have a branch on my fork [1] called "im/lemon" that can be used.
>> It can be found here: https://gitlab.com/imcinerney/kicad/-/tree/im/lemon.
>> If the build passes with that, it means lemon integration is working. CMake
>> should error during configuration if the lemon executable can't be found
>>
>> -Ian
>>
>> [1] https://gitlab.com/imcinerney/kicad
>>
>> On Sun, Aug 2, 2020 at 10:01 PM Adam Wolf <adamwolf@xxxxxxxxxxxxxxxxxxxx>
>> wrote:
>>
>>> Is there a branch packages can use to make sure their lemon integration
>>> is working?
>>>
>>> On Sun, Aug 2, 2020, 4:00 PM Ian McInerney <Ian.S.McInerney@xxxxxxxx>
>>> wrote:
>>>
>>>> Two new build-time dependencies are being added to the master branch
>>>> for v6:
>>>> * lemon - The lemon parser generator
>>>> * GTK3 (linux only) - the GTK3 libraries (only GTK3, not GTK2 - that is
>>>> not supported anymore). This is technically also a runtime dependency, but
>>>> we also need GTK3 for wxWidgets, so it shouldn't be a new runtime dep (only
>>>> needing the build headers are new).
>>>>
>>>> The lemon parser is needed to fix
>>>> https://gitlab.com/kicad/code/kicad/-/issues/5013 by changing how the
>>>> files are generated (in MR
>>>> https://gitlab.com/kicad/code/kicad/-/merge_requests/318). GTK3 is
>>>> needed to enable new functionality inside the platform-specific
>>>> KIPLATFORM library for Linux (such as overriding menu settings, moving
>>>> files to trash, etc.)
>>>>
>>>> All developers should make sure they have these new dependencies
>>>> installed, and nightly builds should add them to their build script (Steve,
>>>> thanks for updating Fedora's so quick!) I have opened issue on GitLab for
>>>> the builders on there:
>>>> https://gitlab.com/kicad/packaging/kicad-win-builder/-/issues/101
>>>> https://gitlab.com/kicad/packaging/kicad-mac-builder/-/issues/332
>>>>
>>>> https://gitlab.com/kicad/packaging/kicad-ubuntu-builder/kicad-daily-package/-/issues/2
>>>>
>>>> I haven't merged any code into master that needs them yet, but I would
>>>> like to merge the lemon fix as soon as possible (the problem it is solving
>>>> has attracted increased attention it seems).
>>>>
>>>> -Ian
>>>> _______________________________________________
>>>> 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
>>>>
>>> _______________________________________________
>> 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
>>
>

References