Compilation
Previous  Index  Next

To compile and link OCL library follow these command line instructions:

·for Visual C++ assuming that you are at the root of OCL folder:  

cd ocl\src\msvc6  
_Make.bat  

·for Borland C++ Builder assuming that you are at the root of OCL folder:  

cd ocl\src\bcb6  
_Make.bat  

·for GNU compiler:  

cd ./ocl/src/gnu  
make  

Following macros are used to define options for linking OCL with OCI library.

OCL_DYNAMICOCL automatically determine what OCI functionality will be used and OCL will be dynamically linked with OCI library. If you are not define any macros this macros will be defined automatically.  

OCL_OCI7OCL will use a set of OCI 7 functions and statically linked with OCI library  
 
OCL_OCI8OCL will use a set of OCI 8 functions and statically linked with OCI library  
 
OCL_OCI81,  
OCL_OCI90Defines OCI library version.  
 
OCL_MFCIs used to compile OCL with MFC support  
 
OCL_VCLIs used to compile OCL with VCL support  


OCL | Index