Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Pro*C/C++ generates error "PCC-S-02015, unable to open include file"

1061275Dec 19 2013

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)

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 16 2014
Added on Dec 19 2013
0 comments
1,230 views