← Back to team overview

kicad-developers team mailing list archive

Re: MSYS2 Could NOT find GLEW (missing: GLEW_LIBRARY)

 

Brian,  think that is because you started the msys shell instead of one of
the mingw64 one.

On Mon, 28 Jun 2021 at 16:46, jp charras <jp.charras@xxxxxxxxxx> wrote:

>
> Le 28/06/2021 à 16:14, Brian Piccioni a écrit :
> > JP
> >
> > Thanks for the quick reply
> >
> > bjpic@LAPTOP-70Q5CT1Q MSYS ~/kicad-source/build/release~
> > $ find /mingw64/ -name *glew*
> > /mingw64/bin/glew32.dll
> > /mingw64/bin/glewinfo.exe
> > /mingw64/bin/libvtkglew-8.2.dll
> > /mingw64/include/GL/glew.h
> > /mingw64/include/GL/wglew.h
> > /mingw64/include/OGRE/RenderSystems/GL/GL/glew.h
> > /mingw64/include/OGRE/RenderSystems/GL/GL/wglew.h
> > /mingw64/include/vtk-8.2/vtkglew
> > /mingw64/include/vtk-8.2/vtkglew/include/GL/glew.h
> > /mingw64/include/vtk-8.2/vtkglew/include/GL/vtk_glew_mangle.h
> > /mingw64/include/vtk-8.2/vtkglew/include/GL/wglew.h
> > /mingw64/include/vtk-8.2/vtk_glew.h
> > /mingw64/lib/cmake/glew
> > /mingw64/lib/cmake/glew/glew-config.cmake
> > /mingw64/lib/cmake/glew/glew-targets-release.cmake
> > /mingw64/lib/cmake/glew/glew-targets.cmake
> > /mingw64/lib/cmake/vtk-8.2/Modules/vtkglew.cmake
> > /mingw64/lib/libglew32.a
> > /mingw64/lib/libglew32.dll.a
> > /mingw64/lib/libvtkglew-8.2.dll.a
> > /mingw64/lib/pkgconfig/glew.pc
> > /mingw64/share/licenses/glew
> >
> > bjpic@LAPTOP-70Q5CT1Q MSYS ~/kicad-source/build/release~
> > $ pacman -Ss glew
> > mingw32/mingw-w64-i686-glew 2.2.0-2
> >     GLEW, The OpenGL Extension Wrangler Library (mingw-w64)
> > mingw64/mingw-w64-x86_64-glew 2.2.0-2 [installed]
> >     GLEW, The OpenGL Extension Wrangler Library (mingw-w64)
> > ucrt64/mingw-w64-ucrt-x86_64-glew 2.2.0-2
> >     GLEW, The OpenGL Extension Wrangler Library (mingw-w64)
> > clang64/mingw-w64-clang-x86_64-glew 2.2.0-2
> >     GLEW, The OpenGL Extension Wrangler Library (mingw-w64)
> >
> > bjpic@LAPTOP-70Q5CT1Q MSYS ~/kicad-source/build/release~
> >
> >
>
> This is similar to what I see on my computer (but I have less files).
>
> GLEW_LIBRARY should be found by cmake.
>
> You can try the brute force (that helped me in some cases):
>
> invoke cmake with the option:
>
> -DGLEW_LIBRARY=/d/mingw/mingw64/lib
>
> (expecting your mingw path is /d/mingw) to force the GLEW_LIBRARY path.
>
>
> --
> Jean-Pierre CHARRAS
>
>
> _______________________________________________
> 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
>

Follow ups

References