Skip to content

Instantly share code, notes, and snippets.

@tlf30
Created May 7, 2022 17:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tlf30/47cd95eab0833dafc81820aa7188cdf9 to your computer and use it in GitHub Desktop.
Save tlf30/47cd95eab0833dafc81820aa7188cdf9 to your computer and use it in GitHub Desktop.
Build LWJGL3
# Building
1. Generate Bindings: `ant clean-generated generate`
2. Compile Java: `ant compile`
3. Build Natives:
```
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
ant clean-native compile-native
```
4. Build jars:
```
set JAVA8_HOME=C:\Program Files\Java\jre1.8.0_231
ant -emacs release -Dbuild.revision=3.3.2-trev
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment