* CMake cannot find Kicad package input
@ 2022-01-03 20:04 Peter Polidoro
2022-01-05 18:56 ` Peter Polidoro
0 siblings, 1 reply; 2+ messages in thread
From: Peter Polidoro @ 2022-01-03 20:04 UTC (permalink / raw)
To: help-guix
Hi,
I am trying to upgrade the Guix Kicad package from version 5.1.10
to 5.1.12.
When I upgrade the version and hash of the package definition and
try to build it, it fails with a CMake error saying the
OpenCascade header files are missing.
"opencascade-oce" is listed as a package input, just as it is for
version 5.1.10, which seems to build just fine. I see that
opencascade-oce is installed in my /gnu/store and I see the header
files are in the include/oce/ directory within it.
One of the Kicad build options may have changed, perhaps requiring
"-DKICAD_USE_OCE=ON", but it still fails even when I add that.
Another option is to switch from "opencascade-oce" to
"opencascade-occt" and switch the build option to
"-DKICAD_USE_OCC=ON". Then opencascade-occt gets installed into
/gnu/store and I see the header files in the include/opencascade/
directory within it. CMake still fails saying it cannot find the
opencascade header files.
Do I need to put more information in the Kicad package definition
to get CMake to find the opencascade header files? Or perhaps do I
need to modify the opencascade package definition to make CMake
work properly to find the header files.
Thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: CMake cannot find Kicad package input
2022-01-03 20:04 CMake cannot find Kicad package input Peter Polidoro
@ 2022-01-05 18:56 ` Peter Polidoro
0 siblings, 0 replies; 2+ messages in thread
From: Peter Polidoro @ 2022-01-05 18:56 UTC (permalink / raw)
To: help-guix
Peter Polidoro <peter@polidoro.io> writes:
> Do I need to put more information in the Kicad package
> definition to get CMake
> to find the opencascade header files?
I understand now, I just needed to specify the opencascade include
directory in the configure flags in the Kicad package definition.
Guix is a pleasure to learn and use, thank you all so much for
creating it!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-05 19:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-03 20:04 CMake cannot find Kicad package input Peter Polidoro
2022-01-05 18:56 ` Peter Polidoro
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.