Reputation: 1840
I have successfully installed Msys2 and mingw (mingws for 32 bit and 64 bit building). Now, I want to setup Opengl libraries for development. Which packages should I install using pacman? And for compiling an application using opengl and other popular opengl libraries which linker library flags do I need? (My main needs are GLU, GLUT and GLEW but if you inform about the other libraries available in MSYS2 that would be great!)
Upvotes: 4
Views: 11412
Reputation: 3335
That typically is done by (e.g)
pacman -Ss glew
and then picking the package that you want from that result and doing (again e.g.)
pacman -S mingw-w64-i686-glew
Note that you need to use the correct bitness (i686 = 32 bit in this example).
Upvotes: 5