ADM-XRC SDK 2.8.1 User Guide (Linux)
© Copyright 2001-2009 Alpha Data


Configuring the Borland C++ command line tools

This section assumes that that the ADM-XRC SDK has been installed in the default location, namely:

C:/ADMXRC_SDK2.8.1

In order to build applications using the ADM-XRC SDK, the compiler must be able to locate the API header file, and the linker must be able to locate the appropriate version of the API library. The Borland C++ command line tools allow the library and include file search paths to be customized via the BCC32.CFG and ILINK32.CFG files, which are usually located in the bin/ directory of the Borland C++ tools installation.

Add this line to BCC32.CFG:

-I"C:/ADMXRC_SDK2.8.1/include"

Add this line to ILINK32.CFG:

-L"C:/ADMXRC_SDK2.8.1/lib/Borland"

Important note: there appears to be a bug in the Borland C++ command line tools, manifested when specifying a quoted paths with spaces in configuration files such as BCC32.CFG. In order for the tools to correctly pick up these paths, there must be at least one space at the end of such lines in the configuration file. To illustrate this, let + denote a space character. A BCC32.CFG file including this workaround would look like:

-IC:/borland/bcc55/include
-I"C:/some+path/include"+
-j10

 


 Top of page