kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #45185
Re: MSYS2 Could NOT find GLEW (missing: GLEW_LIBRARY)
That was probably it!
I get much farther now. It stopped at
CMake Error at
C:/msys64/mingw64/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:230
(message):
Could NOT find wxWidgets: Found unsuitable version "3.0.5", but
required is
at least "3.1.5" (found
-LC:/msys64/mingw64/lib;;;-pipe;-Wl,--dynamicbase,--high-entropy-va,--nxcompat,--default-image-base-high;-Wl,--subsystem,windows;-mwindows;-lwx_mswu_gl-3.0;-lwx_mswu_aui-3.0;-lwx_mswu_adv-3.0;-lwx_mswu_html-3.0;-lwx_mswu_core-3.0;-lwx_baseu_net-3.0;-lwx_baseu-3.0;-lwx_mswu_propgrid-3.0;-lwx_baseu_xml-3.0;-lwx_mswu_stc-3.0)
Because it found 3.0.5 (even though 3.1.5 was installed) so I ran
pacman -R mingw-w64-x86_64-wxWidgets
and it went through.
Thanks everybody!
On 2021-06-28 11:00 a.m., Nick Østergaard wrote:
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
<mailto: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
<https://launchpad.net/~kicad-developers>
Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
<mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~kicad-developers
<https://launchpad.net/~kicad-developers>
More help : https://help.launchpad.net/ListHelp
<https://help.launchpad.net/ListHelp>
_______________________________________________
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