Pro*C\C++ private configuration files...

Posted on 2002-03-14
Medium Priority
Last Modified: 2012-08-14
I'm attempting to use a custome configuation file when precompiling my Pro*C\C++ application.

I'm executing the precompiler with:

proc OracDCPP.pc CONFIG=OracDCPP.cfg

The OracDCPP.cfg file looks like this:

SYS_INCLUDE = (D:\Program Files\Microsoft Visual Studio\VC98\Include)

(The SYS_INCLUDE is all on one line!)

And I'm getting these errors when I run it:

Error at line 5, column 10 in file OracDCpp.pc
#include <stdio.h>
PCC-S-02015, unable to open include file
Error at line 6, column 10 in file OracDCpp.pc
#include <string.h>
PCC-S-02015, unable to open include file

But I've checked the path and stdio.h and string.h are both in THAT include directory!

Can you help?
Question by:eoincorrigan
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 22

Expert Comment

ID: 6864798
    Try enclosing the path in quotes.  If that's not it I should be able to check the docs a little later.

Good luck!

Author Comment

ID: 6864869
Unfortunatly that didn't do the trick.
The docs I've been reading give unix examples like:


So at least I know I can have a comma delimited list of paths if I need them.

But no, enclosing the path in quotes didn't work.
LVL 22

Accepted Solution

DrSQL earned 200 total points
ID: 6864910
   You want the INCLUDE not the SYS_INCLUDE.  The SYS_INCLUDE is for the system header files.  The INCLUDE is for the #include'd files.

Good luck!

Author Comment

ID: 6879966
Thanks Doc.

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question