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 Money.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.6 explains <buildtype> information.
Note that Money.h++ header files are specified with a leading rw/money. For example, the RWDecimalFormat header file is included in source as:
#include <rw/money/decimal.h>
This convention avoids potential naming conflicts with similarly named header files from other libraries. The rw/money indicates that the header file is part of the Money.h++ library.
This means that the include path that you specify for your compiler will start out looking 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\money
©Copyright 1999, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.