Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4618202
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:13:57+00:00 2026-05-22T02:13:57+00:00

I have file which needs to include blah.h in another project. I’ve tried adding

  • 0

I have file which needs to include blah.h in another project. I’ve tried adding the directory that holds the blah.h file to

Project -> Project Properties -> Additional include directories

but I keep getting a “C1083: Cannot open include file: blah.h: No such file or directory”. I’ve tried absolute and relative paths to the folder housing blah.h with no success.

I’m using Visual Studios 2003. and my include statement looks like

#include "blah.h"

Any suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T02:13:58+00:00Added an answer on May 22, 2026 at 2:13 am

    Get the build (or at least this part of the build) working using:

    #include "c:/path/to/blah.h"
    

    If/when VS stops complaining about not being able to find blah.h, cut-n-paste the path used in the #include into the “Additional include directories”. Remember that the “Additional include directories” field should have the directories separated by a semi-colon.

    Also, make sure that you set the “Additional include directories” property for all appropriate build configurations and platforms (drop-downs at the top of the Project property page dialog). Since the dialog opens up with only the “Active” configuration selected, I often find myself setting up an option for only the “Debug”/”Win32” configuration, then wonder for a second what’s gone wrong when I get errors after switching to the “Release” configuration or “x64”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a text file which needs to be constantly updated (regular intervals). All
I have a PDF file, which contains data that we need to import into
I have a file which is an XML representation of some data that is
I have a vb.net 3.5 class library project that needs to reference two assemblies
I have a CSV file that holds about 200,000 - 300,000 records. Most of
I have an assembly file ( asm.S ) which needs a constant #define 'd
I have a problem with an Xcode project which has a path of /users/me/blah
I have to create a java applet that needs to access static data which
I have a file settings.ini which needs to reside next to the Qt executable.
I have a project that needs to incorporate two third-party libraries, libA and libB.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.