1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

c++ code no recognizing occi.h.

Discussion in 'C++' started by pallavip06, Jun 23, 2010.

  1. pallavip06

    pallavip06 New Member

    Joined:
    Jun 23, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    C++ code not recognizing OCCI.H. How do I include it? Where do I chec for its availability?
    :undecided
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    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).
     

Share This Page