Linking to the Libraries
For the link libraries, use the path to the SourcePro libraries and DB access modules. Both the SourcePro libraries and the database client files are located in the lib subdirectory of the buildspace; that is, if the Rogue Wave buildspace is c:\RogueWave\SourcePro\<ver>-osd, then the libraries are in c:\RogueWave\SourcePro\<ver>-osd\lib.
Rogue Wave gives a specific name to SourcePro for Open Sources Databases link libraries. For example, if you link the Essential Tools Module and the MySQL access module, your command line would include the link line that pertains to your platform as shown in
Table 6.
Table 6 – Link libraries
Platform | Release Link Libraries Command Line | Debug Link Libraries Command Line |
---|
Win32 | /LIBPATH: <buildspace>\lib dbt12d.lib tls12d.lib | /LIBPATH: <buildspace>\lib dbt15d.lib tls15d.lib |
UNIX | -L<buildspace>/lib -ldbt<libver>12d -ltls<libver>12d | -L<buildspace>/lib -ldbt<libver>15d -ltls<libver>15d |