The following tutorial assumes you have installed at least Windows 2000/XP. Compilation of LWJGL has not been confirmed on Windows 98/Me versions.
If you have already installed Java, please skip this part.
Please install the appropriate Java Development environment. Java 1.5+ is required to build, but Java 1.4+ is sufficient as a runtime environment. You can get Java here.
Please also install Ant and make sure it's on the path.
Once the JDK and Ant has been installed, you will need to download and install the native libraries needed by LWJGL to compile the bindings.
Note: you may have to manually edit the platform_build/windows_ant/build.xml and modify the <property name=“alhome” location=“${program_files}\OpenAL 1.1 with EFX SDK”/> if it has changed name. Once the above applications have been installed, please modify your environment variables and add these two properties
Before you can compile lwjgl, please check it out from SVN by issuing the following command: svn co https://java-game-lib.svn.sourceforge.net/svnroot/java-game-lib/trunk/LWJGL lwjgl
Then enter the lwjgl directory and issue the following commands:
To generate the native parts, you need to open the 'Visual Studio Command Prompt', which was installed when you installed Visual Studio Express. This commandprompt have the needed compile time environment setup. Navigate to the LWJGL directory and issue a:
This should produce the lwjgl.dll binary in libs\win32\
If you want to compile the optional parts, you will have to fix the fmod dependency by downloading the FMOD 3 Programmers API.
To test FMOD, please copy the fmod.dll to the libs\win32.
Please make sure that you launch the IDE from the Visual Studio Command Prompt. Then just execute the compile_native ant target from your IDE.