Solved

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

Posted on 2002-03-14
4
1,440 Views
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:

CODE = CPP
CPP_SUFFIX = cpp
PARSE = PARTIAL
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>
.........1
PCC-S-02015, unable to open include file
Error at line 6, column 10 in file OracDCpp.pc
#include <string.h>
.........1
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?
0
Comment
Question by:eoincorrigan
  • 2
  • 2
4 Comments
 
LVL 22

Expert Comment

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

Good luck!
0
 

Author Comment

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

SYS_INCLUDE=(/usr/lang/SC2.0.1/include,/usr/lang/SC2.1.1/include)

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.
0
 
LVL 22

Accepted Solution

by:
DrSQL earned 50 total points
ID: 6864910
eoincorrigan,
   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!
0
 

Author Comment

by:eoincorrigan
ID: 6879966
Thanks Doc.
0

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.

Join & Write a Comment

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…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
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.

747 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

12 Experts available now in Live!

Get 1:1 Help Now