nigels-com / glew

The OpenGL Extension Wrangler Library
Other
2.58k stars 608 forks source link

The problem encountered when compiling with CMake on Windows #408

Closed wk34u closed 2 months ago

wk34u commented 2 months ago

The code from the master branch lacks some files when compiling with CMake on Windows.

The files missing are:

glew\include\GL\glxew.h
glew\include\GL\glew.h
glew\include\GL\wglew.h
glew\include\GL\eglew.h

However, these files are available in the following locations: glew-2.2.0 release on GitHub glew-2.2.0 release on SourceForge

The CMake commands used are as follows:

cd glew
cmake ./build/cmake
cmake --build ./
nigels-com commented 2 months ago

The generated sources are not included in the git repository due to their size and gradual drift.

wk34u commented 2 months ago

I got it, I can start by generating the mentioned files under MinGW using make -C auto.