Product Overview > 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:
Compilation Flags  
Visual Studio 2010 or 2012
Visual Studio 2013
DLL_MDA
/DIL_DLL /MD /EHsc /GR /D_CRT_SECURE_NO_DEPRECATE
/DIL_DLL /MD /EHsc /GR /D_CRT_SECURE_NO_DEPRECATE
STAT_MDA
/DIL_DLL /MD /EHsc /GR /D_CRT_SECURE_NO_DEPRECATE
DIL_DLL /MD /EHsc /GR /D_CRT_SECURE_NO_DEPRECATE
STAT_MTA
/DIL_DLL /MT /EHsc /GR /D_CRT_SECURE_NO_DEPRECATE
DIL_DLL /MT /EHsc /GR /D_CRT_SECURE_NO_DEPRECATE
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 6.2.1
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.