 
  
Chapter 15  Creating CORBA C++ Clients
Compiling C++ clients
To compile your C++ client in your C++ development
environment, make sure to:
- Include the following
directories in your compiler's list of include-file directories:
- The include directory in your
EAServer installation
- The location of the generated C++ stub
files. This directory corresponds to the C++ code
base value that you entered when generating stubs from Jaguar Manager.
 
- Link with
these library files, which reside in the EAServer installation lib subdirectory:
 
 For UNIX:
- libjcc.ext,
where ext is the platform extension for shared
library files.
 
- For Windows:
- If the client uses SSL, the following files must
also reside on the client machine in a directory specified in the
libary search environment variable. In the UNIX column, replace ext with
the platform extension for shared library files:
| Windows | UNIX | 
|---|
 | libjctssec.dll | libjctssec.ext |  | libjsybscl.dll | libjsybscl.ext |  | libjspks.dll | libjspks.ext |  | libjsentpks.dll | libjsentpks.ext |  | libjintl.dll | libjintl.ext |  
 
 
 The Sybase PKCS #11 token stores the keys/certificate
database in two files, which are installed by the client installation
program.
- If your C++ compiler does not
support namespaces, add this in your makefile's compile
line:
-DJAG_NO_NAMESPACE
 
 
 Additionally, on Solaris add:
 -z muldefs
 
For example C++ client compilation commands,
see the C++ tutorial in the EAServer
Cookbook.
 
| Copyright © 2002 Sybase, Inc. All rights reserved. |   |