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 8569897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T18:26:26+00:00 2026-06-11T18:26:26+00:00

Visual studio projects have a folder for header files. So, I put the header

  • 0

Visual studio projects have a folder for header files. So, I put the header file in there thinking I would be able to type #include “SDL.h”, but that didn’t work. I did some searching for it and found nothing helpful.

error

  • 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-06-11T18:26:27+00:00Added an answer on June 11, 2026 at 6:26 pm

    Putting the header there only helps organize your files, it doesn’t copy the file to the include directories nor makes it automatically visible.

    You’ll need to add the path to where SDL.h is located to your project additional include directories.

    Just right-click on the project -> Configuration Properties -> C/C++ -> General -> Additional Include Directories.

    In fact, you shouldn’t have to add SDL.h to the solution, having the path in the Additional Include Directories is enough.

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

Sidebar

Related Questions

I have MS Visual Studio web project folder came from TFS server with several
I have a Visual Studio Setup project which has a Application Folder DefaultLocation set
i have some visual studio projects which depend on other projects, which have different
I have two visual studio projects, one written in C#, another written in fortran
We (small team) currently have our Visual Studio projects on a network drive (no
I have saved an image path in database like so: C:\Users\3embed\Documents\Visual Studio 2010\Projects\HeritageWeb\HeritageWeb\Images\startbutton.png I
I have multiple Projects(site) in my Solution (visual studio 2010). when i run my
I have a Visual Studio 2010 solution with 5 projects in it, two libraries
I have a Visual Studio C++ solution with 3 projects: one contains all classes
I have got a Visual Studio Solution containing several projects and have set up

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.