Skip to content

Building the C Media Driver on Windows 11

Problem

You want to test the Aeron C Media Driver and other tools, such as AeronStat

Solution

You will need to download the source code from GitHub and build it yourself.

Steps for Windows 11 on Intel machines

After cloning the Aeron repository from GitHub, checkout the latest release branch:

git checkout 1.42.0

Next, install Visual Studio (ensure that C++ tooling is included)

Next, install CMake

Finally, open a command prompt (not git bash etc.) and run the build in the cppbuild folder:

cppbuild.cmd

That should build successfully. To confirm, try running Aeron's Media Driver. In the /cppbuild/Release/binaries/Release folder, execute:

aeronmd -Daeron_print_configuration=true

Other operating systems and windows versions are likely to have different steps required. See the Aeron homepage for compiler requirements.

See Also