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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T11:09:18+00:00 2026-06-16T11:09:18+00:00

I am using Ubuntu 12.04.1 . The compiler I am using is gcc and

  • 0

I am using Ubuntu 12.04.1 . The compiler I am using is gcc and my IDE is CodeBlocks . I am working with SDL under C/C++ . When I include “SDL/SDL.h” , the program gets compiled and the output is displayed . But including “SDL.h” gives an error :

fatal error: SDL.h: No such file or directory
|=== Build finished: 1 errors, 0 warnings ===|

Also there are 2 SDL.h files in /usr/include –
One is /usr/include/SDL/SDL.h
Other one is /usr/include/SDL.h

What is the difference between both the header files and why is only one path working ?

  • 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-16T11:09:19+00:00Added an answer on June 16, 2026 at 11:09 am

    I’m not sure why you have 2 copies of SDL.h or what that is, but does this help? '"SDL.h" no such file or directory found' when compiling

    If you made a copy you should delete it.

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

Sidebar

Related Questions

I have written a simple C program using gcc compiler in Ubuntu enviroment. The
I'm using Linux Ubuntu Intrepid Ibex and using as compiler the gcc , but
When I try to compile my program on ubuntu using gcc, i get these
I am using PostgreSQL 9.1.3 (PostgreSQL 9.1.3 on x86_64-pc-linux-gnu, compiled by gcc-4.6.real (Ubuntu/Linaro 4.6.1-9ubuntu3)
I have compiled an Ada program on Ubuntu using GNAT. Afterwards, I tried a
I am running gcc compiler on ubuntu i am using an example to learn
I have a following problem: I compiled my application on Linux Ubuntu 9.10 using
My .deb package, built on 32-bit Ubuntu and containing executables compiled with gcc, won't
I am using Mac OS 10.6.7, The gcc compiler was already there when I
I'm using CodeLite on Ubuntu and for some bizzare reason GCC keeps throwing this

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.