Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Installing and Building Your SourcePro C++ Products
Rogue Wave web site:  Home Page  |  Main Documentation Page

3.5 Module-Specific Questions

Section 3.4 explained the general questions which you must always answer when creating a buildspec.

This section explains questions that only appear when specific modules are included in a buildspec. Some of the questions listed in this section are only displayed if advanced questions are set to be available.

These modules generate additional build option questions:

3.5.1 Essential Tools Module

This screen provides choices on how to set two macros that affect the behavior of the Essential Tools Module.


This is an advanced question that is only visible when the Show advanced questions box is selected on the Options dialog's Advanced Questions tab.

3.5.2 Internationalization Module

The Internationalization Module is dependent on the IBM International Components for Unicode (ICU). RCB asks two questions regarding your copy of the ICU.

3.5.2.1 ICU Selection

When installing the Internationalization Module, you must select whether you want to use an ICU installation provided by Rogue Wave or an ICU that is already installed on your machine.

If you select Use the ICU supplied by Rogue Wave, RCB will automatically find the path to the ICU installation. If you choose Use my own installation of the ICU, you must specify the path. The default value is Use the ICU supplied by Rogue Wave.

3.5.2.2 ICU Directory Path

If you chose Use my own installation of the ICU, you must specify the path to the ICU installation.

When specifying the absolute path, be sure to provide the path up to, but not including, the lib and include directories. For example, use C:\icu instead of C:\icu\lib or C:\icu\include.

3.5.3 Threads Module


All questions related to the Threads Modules are advanced questions. They will only be visible when the Show advanced questions box is selected on the Options dialog's Advanced Questions tab.

3.5.3.1 Tracing Question

This option sets the level of trace information produced from trace-enabled packages or trace-enabled user code.

The default setting, Disabled, preserves no tracing output, and will result in all references to the tracing package being compiled out of code. This results in smaller, faster executables at the cost of execution tracing information. Each successive level saves more information at the cost of larger executables, ending at Entry/Exit, which logs every function entry and exit. For more information about the tracing mechanism, refer to the Threads Module User's Guide.

3.5.3.2 Performance Option (Windows)

If you are using a Windows-based operating system, you must select whether or not you want to implement an RWMutexLock based on CRITICAL_SECTION.

Applications that use this implementation can significantly increase their performance speed. However, implementing this feature will make those applications undeployable on some platforms and unable to use certain methods.

3.5.4 Secure Communication Module

When installing the Secure Communication Module, you must select your cryptography library. Rogue Wave ships with a pre-built version of OpenSSL, or you can choose to use your own installation.

If you select the OpenSSL installation supplied by Rogue Wave, you do not need to specify its location. If you select to use your own installation of OpenSSL, the Library Location screen launches.

3.5.4.1 Library Location

The Library Location screen requires you to enter the path to your cryptography library.

3.5.5 SourcePro DB Access Modules

RCB allows you to choose between eight different database access modules: DB2 CLI, MS SQL Server, MySQL, ODBC, Oracle OCI, PostgreSQL, and Sybase CT. When installing any of these access modules, as well as its examples, you must specify a number of fields to allow your examples to connect to a relational database server with a valid user name and password.

3.5.5.1 DB Access Modules

While each of the DB Access Modules prompts have minor differences, they follow the same pattern as the screen below.

To connect your examples to the database, you must provide all required connection information. The table below lists all the potential fields that may be used when installing a DB Access Module.

If you have any questions about the required options, see the access module user's guide, located at buildspace\docs\html\<access-lib-mnemonic>ug. For example, the Oracle OCI user guide is located at buildspace\docs\html\oracleociug.

You can also access any of the documentation from the general index at buildspace\docs\html\index.html.

Information on environment variable settings for the various database clients can be found in the Building Your Applications.

3.5.5.2 Microsoft SQL Server Access Module

For MS SQL Access Module, there is an extra option, SQL Server Client. This option can have following values:

  1. SQL Server Driver - For building SourcePro applications with the MS SQL Server driver provided by MDAC.

  2. SQL Native Client Driver - For building applications with SQL Native Client Driver shipped with Microsoft SQL Server . SQL Native Client SDK is required for this option. It is generally installed at the following location:

    If this option is selected, the path to the SDK needs to be entered on the following screen.

3.5.5.3 Rerunning Example Builds After Correcting DB Connection Information

If the build of the examples failed because of incorrect information entered for the database connection parameters, you must delete the examples directory where the failed build results were placed before you rebuild the examples. For example, if you attempted to build examples for ODBC in the 8s configuration and the build failed, you must first delete buildspace\examples\odbc\8s before you can rebuild the examples.

If you do not delete the directory, RCB fails to re-parse the connection information and continues to use the erroneous information, resulting in another failed build.

Alternatively, to rebuild the examples, do the following. Go to the build directory (for example, buildspace\examples\odbc\8s), edit the file tutdefs.h and update the values. Execute the make clean (or nmake clean) command, and then execute the make (or nmake) command.

3.5.5.4 XA Module of SourcePro DB

Information about installing and building the DB XA Module is in Appendix A.


Support for the DB XA Module is available only when Rogue Wave Professional Services installs and configures the DB XA Module for specific platforms and XA-compliant Transaction Processing Monitors (TPMs). Please contact your Rogue Wave account representative for more information.

3.5.6 Essential Math Module

When building the Essential Math Module, you must indicate the type of Basic Linear Algebra Library to be used.

3.5.6.1 Basic Linear Algebra Library Selection

Select which Basic Linear Algebra (BLA) library to use, which is required by the Math Module.


The Intel Math Kernel Library (MKL) and the Sun Performance Library (SPL) are performance-enhanced libraries for their respective platforms.

3.5.6.2 MKL Selection

If you select the MKL, you must specify whether you want to use the version provided by Rogue Wave or a previously installed version, which is the default:

3.5.6.3 MKL Location

If you selected "Use my own installation of the MKL" in the MKL Selection window, specify the location of the previously installed version of MKL.

When entering the absolute path to the MKL, be sure to enter the path up to the subdirectory where the library is stored. For example, C:\program files\intel\mkl\ia32\lib.



Previous fileTop of DocumentContentsIndex pageNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.