unofficial mirror of 
 help / color / mirror / Atom feed
* 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


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.


^ 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).