Skip to content

Build Sora sample drivers

Qi Luo edited this page Mar 16, 2015 · 4 revisions

The setup package creates 4 shortcuts in [Start\Programs\Microsoft Research Asia\Software Radio Academic Kit 2.0]:

  • x86 Checked Build: points to the command line window for winxp_x86 checked build.
  • x86 Free Build: points to the command line window for winxp_x86 free build.
  • x64 Checked Build: points to the command line window for win7_amd64 checked build.
  • x64 Free Build: points to the command line window for win7_amd64 free build.

To build the SORA sample user mode applications, Windows DDK is required. Please specify a windows environment variable WINDDK_ROOT which points to your Windows DDK installation path. Here’s the screenshot as an example:

When the environment variable WINDDK_ROOT is specified, open the command line window by clicking the shortcut to sora build window.

The sample Miniport driver can be built as either 64-bit NDIS6 driver or 32-bit NDIS5 driver. NDIS5 is for Windows XP 32 bit edition, while NDIS6 is for Windows 7/8 64 bit edition. Before you start building the driver, run

%SORA_ROOT%\build\x86\setenv.bat

or

%SORA_ROOT%\build\x64\setenv.bat

to ensure the dirs files point to the correct folder.

In the command line window, type "bcz" to build the whole source tree. All target files (exe, dll, lib, sys, etc) are copied to %SORA_ROOT%\target

Clone this wiki locally