Thread: Unable to open include file SDL_audio.h

  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    4

    Unable to open include file SDL_audio.h

    When i tried to compile a c program included SDL>H file in borland c

    its diaplaying the error

    Unable to open include file SDL_audio and the same eroor for these include lines too.

    #include <SDL_main.h>
    #include <SDL_stdinc.h>
    #include <SDL_audio.h>
    #include <SDL_cdrom.h>
    #include <SDL_cpuinfo.h>
    #include <SDL_endian.h>
    #include <SDL_error.h>
    #include <SDL_events.h>
    #include <SDL_loadso.h>
    #include <SDL_mutex.h>
    #include <SDL_rwops.h>
    #include <SDL_thread.h>
    #include <SDL_timer.h>
    #include <SDL_video.h>
    #include <SDL_version.h>


    i have all these files inside this directory

    C:\BORLANDC\INCLUDE

    But i cant compile.

    Please could any one help me.

  2. #2
    Registered User gavra's Avatar
    Join Date
    Jun 2008
    Posts
    265
    check this:
    project > project options > parameters > linker
    Do you have something there?
    gavra.

  3. #3
    Registered User
    Join Date
    Jun 2008
    Posts
    4
    The linke error is in the include file SDL.h


    But i have all these link files in the folder

    c:\borlandc\include


    Please help me.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Formatting a text file...
    By dagorsul in forum C Programming
    Replies: 12
    Last Post: 05-02-2008, 03:53 AM
  2. Formatting the contents of a text file
    By dagorsul in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2008, 12:36 PM
  3. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  4. to #include or not to #include
    By krygen in forum C++ Programming
    Replies: 9
    Last Post: 12-25-2004, 12:06 AM