Cautious!DO NOT INSTALL Different Edition Together!
- Microsoft Windows (Win32)
- Debian Linux and its derivations (like Ubuntu Linux) (Dpkg)
- 32bit and 64bit version of MinGW-w64(i686-posix-sjlj and x86_64-posix-seh)
- 32bit and 64bit version of GLFW3(Windows pre-compiled binaries)
- Git on Windows
- 7-Zip
- Windows SDK, provided but no guarantee
It is very complex due to Microsoft Windows' lack of package managers, please be patient. Why we're not using the MSVC compiler? It was not supported before. Now it's supported but too slow (slower than MinGW-w64) to be used.
- Ensure your computer's performance is good enough -- at least 2 cores CPU and 4 gigabytes RAM.
- Recheck your internet access, which is required to fetch the source code from github.
- Keep the local clone of this repository is up to date.
- Enter the
sign_tools
folder, executegen.bat
to generate the certificates manually. Do not set the password, leave it blank. - Set the
PATH
environment variable correctly, the executables of7-Zip
andGit-SCM
should be included. - Unzip the two versions of MinGW-w64 you have downloaded into two folders, rename the 32bit version to
mingw32
and the 64bit version tomingw64
, put them into thewin_tools
folder. - Unzip the two versions of GLFW3 you have downloaded into two folders and install them into two versions of MinGW-w64 separately:
- MinGW-w64 data folder position:
- For 32bit version, it is
mingw32/i686-w64-mingw32
folder - For 64bit version, it is
mingw64/x86_64-w64-mingw32
folder
- For 32bit version, it is
- Apply these two steps to both 32bit and 64bit versions separately:
- Copy the contents of
include
folder of GLFW3 intoinclude
folder of MinGW-w64 data folder - Copy the contents of
lib-mingw-w64
folder of GLFW3 intolib
folder of MinGW-w64 data folder
- Copy the contents of
- MinGW-w64 data folder position:
Just follow the files' name under the win_tools
folder. The first step will be very time-consuming. You will get the 32bit and 64bit executables under win_tools/builds
.
Install pkg-config
, build-essential
, git
and libglfw3-dev
via apt-get
.
- Ensure your computer's performance is good enough -- at least 2 cores CPU and 4 gigabytes RAM.
- Recheck your internet access, which is required to fetch the source code from github.
- Keep the local clone of this repository is up to date.
Enter the deb_tools
folder and run
bash ./auto-build.sh
The first step will be very time-consuming. You will get the .deb
file under deb_tools/deb-src
which contains the specialized build version which depends on your machine.