how to solve include header files problem?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • palash chatterjee
    New Member
    • May 2010
    • 1

    #1

    how to solve include header files problem?

    while compiling i am getting errors like[LIST=1]
    1:unable to open header files used in program
    2:unable to output
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    An unable to open header file error means either that the header is not on your hard disk or that even though it is on your hard disk the compiler can't find it.

    In the first case you need to find out where it comes from and install it or if the header is not suitable for your platform change the code so it doesn't use it.

    In the second case you need to alter the compilers include paths so it can find it. There are many ways to do this but commonly either change the INCLUDES environment variable or add the path to the compiler command line using a -L switch.

    Comment

    Working...