Welcome to the Rogue Wave Views Component Suite > Compilation > Windows Compiling and Linking Options
 
Windows Compiling and Linking Options
To compile the examples supplied with the libraries, you can use:
*Visual Studio
A number of solution (.sln) and project (.vcproj) files for Visual Studio are provided for you to compile.
*The command line tool.
A number of makefiles that can be used with the command nmake (Microsoft Visual C++) are provided.
A default definition file, VIEWS.DEF, is supplied in each <SUBSYSTEM> directory.
Reminder: The <SUBSYSTEM> directories are located in the directory specific to your system (x86_.net20* or x64_.net20*). For the value of <SUBSYSTEM>, see the section corresponding to the compiler you use.
The packing alignment value for the structure and union members used to build the libraries is the default value of the compiler as described in Compiling and Linking with Microsoft Visual C++.
Compiling and Linking with Microsoft Visual C++
This section discusses the requirements for compiling your source files with Microsoft Visual C++.
Most of the binaries rely on the data files provided in the Rogue Wave Views library, and you will need to copy these files as well as the .EXE file when installing a program on another platform. You may also place these files in the resources bound to the executable.
The packing alignment for structure and union members is 8 bytes.
The libraries are standard C++ libraries and are provided in the following formats:
*DLL_MDA: dynamic multi-threaded runtime libraries with subsystem DLL_MDA
*STAT_MDA: static multi-threaded runtime libraries with subsystem STAT_MDA
*STAT_MTA: static multi-threaded runtime libraries with subsystem STAT_MTA
Here are the compilation flags to use:
Table 3   Compilation Flags  
Visual Studio .NET 2003
Visual Studio .NET 2005 and 2008
DLL_MDA
/MD /GX /GR /DILVSTD /DILVDLL
/MD /EHsc /GR /D_CRT_SECURE_NO_DEPRECATE /DILVSTD /DILVDLL
STAT_MDA
/MD /GX /GR /DILVSTD
/MD /EHsc /GR /D_CRT_SECURE_NO_DEPRECATE /DILVSTD
STAT_MTA
/MT /GX /GR /DILVSTD
/MT /EHsc /GR /D_CRT_SECURE_NO_DEPRECATE /DILVSTD
Note: When compiling files in debug mode, you must use the nondebug version of the runtime libraries and also delete the macro _DEBUG. (This is because Rogue Wave Views uses only nondebug runtime libraries.)

Version 5.5.1
Copyright © 2012, Rogue Wave Software, Inc. All Rights Reserved.