954,505 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

header files missing

I have several .CPP and .H fles which i want to compile together. These files are used for PLC and Oracle database communication. when i try to compile these files it says following header files are missing ..

How can I recover these files & how can I include them with all others file to compile them all together.
Please help.

Prashant

pdwivedi
Light Poster
37 posts since Oct 2007
Reputation Points: 8
Solved Threads: 0
 

Well which OS/Compiler are you trying to compile this on?

The last 4 header files all belong to Unix/Linux and other POSIX systems. As for occi.h, I've no idea.

Salem
Posting Sage
Team Colleague
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953
 

Well which OS/Compiler are you trying to compile this on?

The last 4 header files all belong to Unix/Linux and other POSIX systems. As for occi.h, I've no idea.


I am using turbo c++ compiler and i have also tried it on Visual c++. if u can suggest any other compiler please suggest

pdwivedi
Light Poster
37 posts since Oct 2007
Reputation Points: 8
Solved Threads: 0
 

you can not use signal.h and msg.h at all -- not supported by any MS-Windows compiler I know of. Then remove the sys/ from the others. occi.h have no clue. What you have left is this:

<time.h>
<stat.h>
Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

you can not use signal.h and msg.h at all -- not supported by any MS-Windows compiler I know of. Then remove the sys/ from the others. occi.h have no clue. What you have left is this:

<time.h>
<stat.h>


If it is not possible for windows compiler then suggest me any linux compiler...I do have Kdevelop on linux but i do not know how to use it.....if u can suggest any other compiler or any other way of compiling it I will be very helpful for me to carry on with my project. Thanks in Advance..

Prashant

pdwivedi
Light Poster
37 posts since Oct 2007
Reputation Points: 8
Solved Threads: 0
 

> I have several .CPP and .H fles which i want to compile together
Where did they come from, who wrote them?
If they originally came from a Unix/Linux environment, then there should be a "Makefile" in the top-level directory of the package.

> If it is not possible for windows compiler then suggest me any linux compiler
So where exactly is your Oracle database located? Is it on a networked machine or something?

Back to the software, if there is a makefile (and you have GCC installed), then at the command prompt, do these things
- cd to the top-level directory of the software package
- type 'make' and press return.

This should set the whole build going.

Salem
Posting Sage
Team Colleague
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953
 

Back to the software, if there is a makefile (and you have GCC installed), then at the command prompt, do these things - cd to the top-level directory of the software package - type 'make' and press return.

This should set the whole build going.


If typingmake doesn't work, try ./configure first.

dwks
Posting Whiz in Training
269 posts since Nov 2005
Reputation Points: 185
Solved Threads: 28
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You