I'm running a .pc file through the pre-compiler (on Windows 7x64 with instant client 12.1) and get the following error:
:
Error at line 78, column 1 in file XXX.pc
EXEC SQL INCLUDE SQLCA;
1
PCC-S-02015, unable to open include file
:
If I change the content of my file to the following
:
#include "sqlca.h"
//EXEC SQL INCLUDE SQLCA;
:
the pre-compiler does it's job nicely.
My pcscfg.cfg looks like this:
include="C:\PROGRA~2\Oracle\INSTAN~1\sdk\include"
include="C:\PROGRA~2\MICROS~2.0\VC\include"
define=(WIN32_LEAN_AND_MEAN)
DEFINE=_WSTDIO_DEFINED
Has there been a change in the syntax of Pro*C or why can't it resolve the EXEC SQL INCLUDE?
PS: I'm an absolute newbie to this and am trying to get to compile some veeery old code, build under instant client 9/10/11)