← Back to team overview

kicad-developers team mailing list archive

CMake can't find GLM

 

Comrades,

I am in the process of rebuilding my main desktop system, and trying to get
my KiCAD build environment back together.  I've run into a very early snag,
in the form of CMake being unable to find the GLM package:

$ cmake -DCMAKE_BUILD_TYPE=Release ../..
-- KICAD_SCRIPTING is OFF: Disabling all python scripting support
-- KiCad install dir: </usr/local>
-- Check for installed GLEW -- found
CMake Error at
/usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137
(message):
  Could NOT find GLM (missing: GLM_VERSION) (Required is at least version
  "0.9.5.1")

However, libglm-dev is installed, at version 0.9.9.3:

$ apt list libglm-dev
Listing... Done
libglm-dev/stable,now 0.9.9.3-2 all [installed]

I am knowingly not quite right at the bleeding edge of the KiCAD 6 source
tree, as Wayne has mentioned he is pushing some of the changes involving
removing the support for saving legacy schematic symbols, and my ODBC fork
still depends on that; I'm not quite ready to take on whatever challenges
might be involved in updating my fork to use the new s-expr symbol code.

Anyway, all of that as a preface to this question: *Is this a known issue
with a fix already?*

Any advice on how to correct this?  What additional information do I need
to provide to shed light on the situation?

The system is Debian 10 (stable).  Missing packages are almost a certainty
as I'm rebuilding.

Many thanks,
-Brian

Follow ups