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

Posted on 2002-03-14
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
  • 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 50 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
oracle query help 29 77
Error executing command from server 6 41
case statement in where clause 5 40
Read only access to a Procedure in oracle? 4 48
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now