Re: [kicad] Unable to build

2023-11-27 Thread Seth Hillbrand
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.comi...@kipro-pcb.com


On Sun, Nov 26, 2023 at 10:06 PM 'Sagar Acharya' via KiCad Developers <
devlist@kicad.org> 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 devlist+unsubscr...@kicad.org.
> 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 devlist+unsubscr...@kicad.org.
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.


Re: [kicad] Unable to build

2023-11-27 Thread Jon Evans
Hi,

KiCad is not supported on this platform, so I doubt anyone can provide
step-by-step build instructions.
It sounds like you are getting stuck at the building wxWidgets stage?  If
so, you probably will need to step through that cmake and see where it is
getting hung up.

> P.S. Is it possible to reduce dependencies of kicad?

No, all of the dependencies are there for a reason.

Best,
Jon

On Mon, Nov 27, 2023 at 1:06 AM 'Sagar Acharya' via KiCad Developers <
devlist@kicad.org> 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 devlist+unsubscr...@kicad.org.
> 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 devlist+unsubscr...@kicad.org.
To view this discussion on the web visit 
https://groups.google.com/a/kicad.org/d/msgid/devlist/CA%2BqGbCCTMaFskspuV8Pdx%3DfZYrQ%3D2m7j7Ok-PEUNc--TDCAA%2Bg%40mail.gmail.com.


[kicad] Unable to build

2023-11-26 Thread 'Sagar Acharya' via KiCad Developers
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 devlist+unsubscr...@kicad.org.
To view this discussion on the web visit 
https://groups.google.com/a/kicad.org/d/msgid/devlist/NkENlNH--3-9%40tutanota.com.