Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Rogue Wave Component Builder (RCB): Building Your Applications
Rogue Wave web site:  Home Page  |  Main Documentation Page

1.1 The Four Basic Build Requirements

1. SET THE INCLUDE PATH Section 1.2
The include path points to the root of the Rogue Wave buildspace that contains the components you are using. If the buildspace is located at c:\RogueWave\SourcePro\<ver>, the command line specification is -Ic:\RogueWave\SourcePro\<ver>.
2. LINK IN ROGUE WAVE LIBRARIES Section 1.3
The libraries are located in the lib subdirectory of the buildspace. That is, if the Rogue Wave buildspace is c:\RogueWave\SourcePro\<ver>, the libraries are in c:\RogueWave\SourcePro\<ver>\lib. If, for example, you linked the Essential Tools Module and trace built in the 15d configuration, your command line would specify this linking on Windows as: tls15d.lib trace15d.lib /link /LIBPATH c:\RogueWave\SourcePro\<ver>\lib. The UNIX equivalent would be: -ltls15d.lib -ltrace15d.lib -Lc:\RogueWave\SourcePro\<ver>\lib.
3. DEFINE THE _RWCONFIG=buildtag MACRO Section 1.4
This one command line macro defines for you all the SourcePro C++-specific pre-processor macros required by the build. For example, if you link the Essential Tools Module and trace libraries tls15d.lib and trace15d.lib, the command line macro is -D_RWCONFIG=15d.
4. SPECIFY COMPILER FLAGS AND SYSTEM LIBRARIES Section 1.5
Use the same set of compiler and linker options to build your programs that are used to build SourcePro C++ examples. The best places to find the options are in the log files and the generated makefiles. The log files show the commands executed by the makefile.

Sample Command Lines Essential Tools Module and Threads Module trace package

Throughout this document, <ver> stands for the product or library version number.



Previous fileTop of DocumentContentsNo linkNext 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.
Provide feedback to Rogue Wave about its documentation.