OCE_DIR not found (Compiling KiCad on Mageia 6 - 64 bit)

Folks,

Am trying to build kicad 5 on Mageia 6 64 bit. It is complaining about OCE_DIR. My error is:

Could not find a package configuration file provided by “OCE” (requested
version 0.16) with any of the following names:

OCEConfig.cmake
oce-config.cmake

Digging around I believe OCE is opencascade. Is that right? I have that installed and I have searched my /usr directories for OCEConfig.cmake, but to no avail.

I have installed:

lib64opencascade-devel
lib64opencascade11
opencascade

Is my opencascade assumption correct?

Can anyone point me in the right direction please?

Many thanks.

OpenCascade would appear to be correct.

At least on Linux the files look a bit more like liboce-… and so on.

Freecad installation appears to pull them in automatically as dependency.

You have the OpenCascade installed. So you’ll want set KICAD_USE_OCC=1. This is slightly different than the OpenCascade community edition (OCE)

3 Likes

@DiBosco you may also be interested in other build flag hints from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=kicad-git

1 Like

Thanks Seth_h, that got me past that issue, would never have worked that out! Been busy writing a python script for my BOMs, will will get back to the next compile issue later.

nickoe, will have a look at the Arch stuff, cheers!

Thanks for the help folks, got it compiled and installed! Looking forward to having a play with v5.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.