| |||
| Home > Examples Systems > Debug Example > Building and running the example |
To build the debug version of this example, perform the following:
under Linux:
make DEBUG=y clean all
under Windows, open dbg_[VC2005|VC2008].vcproj with
Microsoft Visual Studio and build the dbg project,
with the Debug configuration active.
To build the release version of this example, perform the following:
under Linux, enter the following at the command line:
make DEBUG=n clean all
under Windows, open dbg_[VC2005|VC2008].vcproj with
Microsoft Visual Studio and build the dbg project,
with the Release configuration active.
Under Linux, the make clean command is optional. If used, the example is completely rebuilt.
To run this example, enter the following at the command line:
under Linux:
./dbg.x
under Windows:
dbg.exe