Home » Developer & Programmer » Precompilers, OCI & OCCI » proc 10.2.0 on windows (Oracle, 10.2.0, windows nt)
proc 10.2.0 on windows [message #337605] Thu, 31 July 2008 07:03 Go to next message
vnammour
Messages: 4
Registered: July 2008
Location: Jerusalem, Palestine
Junior Member
Hi all,

I have written makefiles that compile .pc files in unix. This was for several projects that use an oralib source code directory.
Just running proc on one target .pc file works fine on unix.

I am trying to use proc - Oracle 10.2.0 - in windows and I keep getting
Quote:
unable to open include file
#include <stdio.h>

and other C library headers.
I am doing all development under cygwin, this way I can write a makefile just like under unix instead of using nmake.
All C library headers are in /usr/include
When I run proc on Solaris as that:
proc program.pc
No problems, and I do get program.c
However in windows I get the previous error message. I have tried to do
proc include=/user/include program.pc
and
proc include=/user/include parse=full program.pc
but I still get the same error message.
I really appreciate any insights/advice that help resolve this problem.
Thanks in advance.
Re: proc 10.2.0 on windows [message #339732 is a reply to message #337605] Fri, 08 August 2008 04:47 Go to previous messageGo to next message
vnammour
Messages: 4
Registered: July 2008
Location: Jerusalem, Palestine
Junior Member
Hello,
Does anyone have a clue why this is happening (the former post).
I thought Michel might have some insight into this problem. I can also see that there are 3-4 posts with similar issue but with no response. To restate the problem again, I have some source files (.pc) and I invoke the proc to generate the .c files. This works well on unix (many platforms such as HPUX, Solaris 2.8, Solaris 2.10, RHL ...) but it does not on windows. It complains that C library headers are missing even if I explicitly define their path in include option.
Any clue at all.

Thanks.
Re: proc 10.2.0 on windows [message #339762 is a reply to message #339732] Fri, 08 August 2008 07:08 Go to previous messageGo to next message
tahpush
Messages: 961
Registered: August 2006
Location: Stockholm/Sweden
Senior Member

Have you tried

#include "address of your tlib file\stdio.h"
Re: proc 10.2.0 on windows [message #339873 is a reply to message #339732] Sat, 09 August 2008 04:22 Go to previous message
vnammour
Messages: 4
Registered: July 2008
Location: Jerusalem, Palestine
Junior Member
Hi Tahpush,
I actually did try to include the absolute path name, with these combinations:
#include "/usr/include/stdio.h"

or
#include "cygdrive/d/cygwin/usr/include/stdio.h"


but they both failed to resolve the problem.
Previous Topic: Problem on compilation
Next Topic: Connectivity between C and Oracle
Goto Forum:
  


Current Time: Thu Mar 28 15:59:20 CDT 2024