Hello Sagar,

Missing config.h means that your include flags for wxWidgets are not
correctly set.  KiCad attempts to find these using `wx-config --cppflags`.
You can run this command and see what the response is.  It should include
something like: -I/usr/lib/aarch64-linux-gnu/wx/include/gtk3-unicode-3.2

If it does not, then, that is the issue.  You may have multiple versions of
wx installed on your system and wx-config is defaulting to the incorrect
version.  You can check this by running `wx-config --list`. You'll see
something like this:

    Default config is gtk3-unicode-3.2

  Default config will be used for output

  Alternate matches:
    base-unicode-3.0
    gtk3-unicode-3.0

If you want to force cmake to use a different version, you can use the
CMake flag -DwxWidgets_CONFIG_OPTIONS="--toolkit=XXX --version=YYY"  Here,
XXX is either 'base' or 'gtk3' and YYY is either 3.0 or 3.2.

Note that KiCad requires wxWidgets 3.2 or later.

Best,
Seth

[image: KiCad Services Corporation Logo]
Seth Hillbrand
*Lead Developer*
+1-530-302-5483‬
Long Beach, CA
www.kipro-pcb.com    [email protected]


On Sun, Nov 26, 2023 at 10:06 PM 'Sagar Acharya' via KiCad Developers <
[email protected]> wrote:

> Respected devs,
>
> I am unable to build kicad on voidlinux aarch64 on RPI3. The issue is, it
> fails to find and link wxPython, wxWidgets.
>
> I found the includes at /usr/include/wx-3.2/
> and
> lib at /usr/lib/
>
> Updated them under cmake/findWx{something}.cmake
>
> Even then, an error throws up, i.e. setup.h not found.
> Thanking you for the fantastic work
> Sagar Acharya
> https://humaaraartha.in/selfdost/selfdost.html
>
> P.S. Is it possible to reduce dependencies of kicad?
>
> --
> You received this message because you are subscribed to the Google Groups
> "KiCad Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/a/kicad.org/d/msgid/devlist/NkENlNH--3-9%40tutanota.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"KiCad Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/kicad.org/d/msgid/devlist/CAFdeG-rE9%3D_Z16XX_j6m_A3NjDga0xJq7%2BGOeoMRX1%2BAhdS8ww%40mail.gmail.com.

Reply via email to