Jump to content

Compiling Zandronum with Visual Studio: Difference between revisions

Add section about libopus
m ('soruce' [sic] -> 'source code')
Tag: Source edit
(Add section about libopus)
Tag: Source edit
Line 94: Line 94:


Version 3.5 or newer is required.
Version 3.5 or newer is required.
== Opus ==
The Opus audio codec is required for voice chat support.
Download the latest libopus archive from [https://opus-codec.org/downloads/ the Opus website]. Extract the archive, then open the <tt>win32\VS2015\opus.sln</tt> solution (allow Visual Studio to upgrade the projects if necessary). Build the <tt>Release</tt> configuration for the same platform you will build Zandronum for (Win32 or x64).
After building, you will have a static library built under your libopus directory at <tt>win32\VS2015\Win32\Release\opus.lib</tt> or <tt>win32\VS2015\x64\Release\opus.lib</tt>. Pass this as the <tt>OPUS_LIBRARIES</tt> variable when it comes time to run CMake. Additionally, pass the libopus <tt>include</tt> folder as <tt>OPUS_INCLUDE_DIR</tt>.


== Zandronum Source Code ==  
== Zandronum Source Code ==