← Back to team overview

kicad-developers team mailing list archive

Re: OSX glm include dir incorrect

 

Hi,
as Wayne suggested:

1. Edit the CMakeCache.txt and remove the GLM_INCLUDE_DIR line. Then
make rebuild_cache.
2. Do a clean build.

HTH.

Cheers,
Mateusz

2015-12-10 22:10 GMT+01:00 Michele Ballabio <barra_cuda@xxxxxxxxxxxx>:
> 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?
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp



-- 
AKA f3nix AKA metyl AKA skowri ;)


References