← Back to team overview

kicad-developers team mailing list archive

Re: OSX glm include dir incorrect

 

On Thu, 10 Dec 2015 11:38:26 -0500
Wayne Stambaugh <stambaughw@xxxxxxxxx> wrote:

> Cirilo,
> 
> I already fixed all of this in my branch before you sent your patch.
> I just committed the fix for this and gave you credit for the include
> path fix.
> 
> Thanks,
> 
> Wayne

Hi,
it seems this change broke something for me: cmake can't find glm
anymore, and fails with:

-- Kicad install dir: </home/mike/git/bzr/kicad-build>
-- Check for installed OpenGL -- found
-- Found Glew: /usr/lib/libGLEW.so
-- Check for installed GLEW -- found
CMake Error
at /usr/share/cmake-3.4/Modules/FindPackageHandleStandardArgs.cmake:148
(message): Could NOT find GLM (missing: GLM_VERSION) (Required is at
least version "0.9.5.4") Call Stack (most recent call first):
  /usr/share/cmake-3.4/Modules/FindPackageHandleStandardArgs.cmake:388
(_FPHSA_FAILURE_MESSAGE) CMakeModules/FindGLM.cmake:54
(FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:473 (find_package)

-- Configuring incomplete, errors occurred!
See also "kicad/master-build/CMakeFiles/CMakeOutput.log".


...but CMakeOutput.log does not seem to contain anything useful. I do
have glm 0.9.7.1 installed.
If I comment out the line

GLM_VERSION

in FindGLM.cmake, all works fine like before. What else should I try to
understand what's going on?



Follow ups

References