4 Replies Latest reply: Jan 22, 2013 1:17 PM by JackK RSS

    Errors in OCCI header files

    JackK
      Hi,
      I have a C++ source code. Today I added *#include "occi.h"* to my code and during compilation I get following error messages:
      g++ -I../include -I/usr/include -I/usr/include/freetype2 -I/u01/app/oracle/product/11.2.0/xe/rdbms/public  -lglut -lGLU -lGL -L/usr/local/lib -lfreetype -L../linux -lftgl g.cpp
      In file included from /u01/app/oracle/product/11.2.0/xe/rdbms/public/occiData.h:107,
                       from /u01/app/oracle/product/11.2.0/xe/rdbms/public/occi.h:43,
                       from g.cpp:15:
      /u01/app/oracle/product/11.2.0/xe/rdbms/public/occiControl.h:986: error: expected identifier before ‘int’
      /u01/app/oracle/product/11.2.0/xe/rdbms/public/occiControl.h:987: error: expected unqualified-id before ‘{’ token
      /u01/app/oracle/product/11.2.0/xe/rdbms/public/occiControl.h:1257: error: expected identifier before ‘int’
      /u01/app/oracle/product/11.2.0/xe/rdbms/public/occiControl.h:1258: error: expected unqualified-id before ‘{’ token
      /u01/app/oracle/product/11.2.0/xe/rdbms/public/occiControl.h:1387: error: expected identifier before ‘int’
      /u01/app/oracle/product/11.2.0/xe/rdbms/public/occiControl.h:1387: error: expected unqualified-id before ‘{’ token
      make: *** [g.o] Error 1
      Am I doing something wrong? Please help...