271
edits
Ccawley2011 (talk | contribs) |
|||
Line 164: | Line 164: | ||
Unzip the SDL2 archive in a folder, open MSYS, go to the SDL2 folder and issue this command to install the library: | Unzip the SDL2 archive in a folder, open MSYS, go to the SDL2 folder and issue this command to install the library: | ||
make install-package arch=i686-w64-mingw32 prefix= | make install-package arch=i686-w64-mingw32 prefix=/mingw | ||
Line 396: | Line 396: | ||
Then issue these commands to compile and install the library: | Then issue these commands to compile and install the library: | ||
CPPFLAGS=-D_WIN32_WINNT=0x400 cmake -G "MSYS Makefiles" -DCMAKE_INSTALL_PREFIX= | CPPFLAGS=-D_WIN32_WINNT=0x400 cmake -G "MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=/mingw -DCMAKE_BUILD_TYPE=Release -DENABLE_PROGRAMS=OFF -DENABLE_TESTING=OFF . | ||
make | make | ||
make install | make install | ||
Line 438: | Line 438: | ||
Then issue these commands to compile and install the library: | Then issue these commands to compile and install the library: | ||
make install.all GLEW_PREFIX= | make install.all GLEW_PREFIX=/mingw GLEW_DEST=/mingw GLEW_NO_GLU=-DGLEW_NO_GLU | ||
edits