c++ code no recognizing occi.h.

pallavip06's Avatar, Join Date: Jun 2010
Newbie Member
C++ code not recognizing OCCI.H. How do I include it? Where do I chec for its availability?
0
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
How exactly is it "not recognising" it? Do you get an error?
Does it exist on your system? If so, where?

You include it with #include "occi.h", same as any other header.

Have you tried building the program with demo_rdbms.mk? That has rules for building OCCI programs and is self documenting; for instructions on how to use it, just open it in a text viewer/editor and have a look.

If it's not on your system you may need to install it from the Companion disk (10g) or Examples disk (11g).