943,854 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 2747
  • C++ RSS
Sep 14th, 2006
1

Included file not found during compile time.

Expand Post »
Included file not found during compile time.

This must be an easy question for you to answer.

I have a header file (basetsd.h) that is located in the
C:\Program Files\Microsooft Visual Studio\VC98\Include
directory.

Where do I set the path to this header file? I don't want to hard code it in my cpp file (which is what the last programmer who worked on this project did).
Similar Threads
Reputation Points: 17
Solved Threads: 0
Junior Poster
complete is offline Offline
147 posts
since Dec 2005
Sep 14th, 2006
0

Re: Included file not found during compile time.

If you are using VC++ 6.0 compiler the path should already be set. Look in menu Tools --> Options --> Directories -->Include Files. There you will find the path. If it isn't there then you need to put it there. Should have been set during the compiler's install, but maybe you accidentially deleted it.
Last edited by Ancient Dragon; Sep 14th, 2006 at 4:47 pm.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,951 posts
since Aug 2005
Sep 16th, 2006
1

Re: Included file not found during compile time.

just in case, you might wanna try either adding or subtracting the ".h"'s in your include's. that helps, but if you are used to that compiler, then ignore me. (I constantly am forced to switch b/w VS2k5 and Dev-C++)
Reputation Points: 46
Solved Threads: 2
Posting Whiz in Training
FireSBurnsmuP is offline Offline
237 posts
since Sep 2006
Sep 17th, 2006
1

Re: Included file not found during compile time.

basetsd.h isn't a standard header file, as you can find out by googling it. Therefore dropping the .h wouldn't help much; only the standard C++ header files have no extension. Of course, you're free to call the header basetsd without a .h; but there's no reason to believe that the programmer did so.

Both of the compilers you mentioned should support no-.h standard C++ header files.
Reputation Points: 185
Solved Threads: 28
Posting Whiz in Training
dwks is offline Offline
269 posts
since Nov 2005
Sep 21st, 2006
1

Re: Included file not found during compile time.

actually, Dev requires the .h's sometimes, so it confuses me every once in a while...
Reputation Points: 46
Solved Threads: 2
Posting Whiz in Training
FireSBurnsmuP is offline Offline
237 posts
since Sep 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: HELP needed in VC++ Project!!!
Next Thread in C++ Forum Timeline: help with union and bit field structure.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC