You must specify the include path in all your project files if you're using an IDE, and in any other relevant scripts or files that contain path information. In addition, you must be sure to use the proper path if you run your compiler from the command line.
The include path for DBTools.h++ header files is:
<rw_root>\workspaces\<OS+ver>\<COMPILER+ver>\<buildtype>
For example, for MSVC 6.0 on NT 4.0 with build type 7s:
<rw_root>\workspaces\WINNT4\MSVC60\7s
Appendix A lists the mnemonics for all the compilers and operating systems that Rogue Wave supports. SPM appends version numbers to the mnemonics for your compiler and operating system. Section 2.5 explains <buildtype> information.
Note that DBTools.h++ header files are specified with a leading rw/db. For example, the RWDBConnection header file is included in source as:
#include <rw/db/connect.h>
This convention avoids potential naming conflicts with similarly named header files from other libraries. The rw/db indicates that the header file is part of the DBTools.h++ library.
This means that the include path that you specify for your compiler will look something like this:
cl -I<rw_root>\workspaces\<OS+ver>\<COMPILER+ver>
\<buildtype>...
and not like this:
# WRONG! cl -I<rw_root>\workspaces\<OS+ver>\<COMPILER+ver>
\<buildtype>\rw\db...
©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.