Installation problem

Hello all,

I am having quite a strange problem.I was successfully using SDL when the
lights got off and now when i compile my program it says SDL.h not present.

I am quite confused seeing that the same program was running before on
linux.

Please help :slight_smile:

Naman

Hi,

can you please explain better what you are trying to do?

Which compiler and OS are you using?

How have you installed SDL?–
Paulo

On Tue, Apr 27, 2010 at 7:58 PM, naman kohli wrote:

Hello all,

I am having quite a strange problem.I was successfully using SDL when the
lights got off and now when i compile my program it says SDL.h not present.

I am quite confused seeing that the same program was running before on
linux.

Please help :slight_smile:

Naman


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

“The lights got off”? Do you mean a power failure? If so, try running a file
system check as root (fsck). Then you may need to reinstall SDL.

JeffOn Tuesday 27 April 2010 10:58, naman kohli wrote:

Hello all,

I am having quite a strange problem.I was successfully using SDL when the
lights got off and now when i compile my program it says SDL.h not present.

I am quite confused seeing that the same program was running before on
linux.

Please help :slight_smile:

Naman

Hey,

Actually I am working on Fedora 12…and the problem has been solved in
the sense that I just tried to include the complete location of SDL.h and
its fine now.

However if u can tell why it’s still not working as SDL.h

I did’nt install it.I checked and it was there. :stuck_out_tongue:

Hi,

can you please explain better what you are trying to do?

Which compiler and OS are you using?

How have you installed SDL?

–
Paulo

Hello all,

I am having quite a strange problem.I was successfully using SDL when the
lights got off and now when i compile my program it says SDL.h not present.

I am quite confused seeing that the same program was running before on
linux.

Please help :slight_smile:

Naman


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Thankss

NamanOn Wed, Apr 28, 2010 at 12:29 AM, Paulo Pinto wrote:

On Tue, Apr 27, 2010 at 7:58 PM, naman kohli <@naman_kohli>wrote:


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Are you using sdl-config in your build script or Makefile? It is supposed to be used to get the appropriate -I option for includes, and the appropriate linker options among other things.On 04/27/2010 12:08 PM, naman kohli wrote:

Hey,

Actually I am working on Fedora 12…and the problem has been
solved in the sense that I just tried to include the complete location
of SDL.h and its fine now.

However if u can tell why it’s still not working as SDL.h

I did’nt install it.I checked and it was there. :stuck_out_tongue:

On Wed, Apr 28, 2010 at 12:29 AM, Paulo Pinto <pjmlp at progtools.org <mailto:pjmlp at progtools.org>> wrote:

Hi,

can you please explain better what you are trying to do?

Which compiler and OS are you using?

How have you installed SDL?

--
Paulo

On Tue, Apr 27, 2010 at 7:58 PM, naman kohli <namankohli1 at gmail.com <mailto:namankohli1 at gmail.com>> wrote:

    Hello all,

    I am having quite a strange problem.I was successfully using SDL
    when the lights got off and now when i compile my program it
    says SDL.h not present.

    I am quite confused seeing that the same program was running
    before on linux.

    Please help :)


    Naman

    _______________________________________________
    SDL mailing list
    SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
    http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Thankss

Naman

_______________________________________________
SDL mailing list
SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

–
LordHavoc
Author of DarkPlaces Quake1 engine - http://icculus.org/twilight/darkplaces
Co-designer of Nexuiz - http://alientrap.org/nexuiz
"War does not prove who is right, it proves who is left." - Unknown
"Any sufficiently advanced technology is indistinguishable from a rigged demo." - James Klass
"A game is a series of interesting choices." - Sid Meier

No am just compiling using the statement gcc proj.c -l SDL

How to use sdl - config…On Wed, Apr 28, 2010 at 12:39 AM, Forest Hale wrote:

Are you using sdl-config in your build script or Makefile? It is supposed
to be used to get the appropriate -I option for includes, and the
appropriate linker options among other things.

On 04/27/2010 12:08 PM, naman kohli wrote:

Hey,

Actually I am working on Fedora 12…and the problem has been
solved in the sense that I just tried to include the complete location
of SDL.h and its fine now.

However if u can tell why it’s still not working as SDL.h

I did’nt install it.I checked and it was there. :stuck_out_tongue:

On Wed, Apr 28, 2010 at 12:29 AM, Paulo Pinto <pjmlp at progtools.org <mailto:pjmlp at progtools.org>> wrote:

Hi,

can you please explain better what you are trying to do?

Which compiler and OS are you using?

How have you installed SDL?

--
Paulo

On Tue, Apr 27, 2010 at 7:58 PM, naman kohli <@naman_kohli <mailto:@naman_kohli>> wrote:

    Hello all,

    I am having quite a strange problem.I was successfully using SDL
    when the lights got off and now when i compile my program it
    says SDL.h not present.

    I am quite confused seeing that the same program was running
    before on linux.

    Please help :)


    Naman

    _______________________________________________
    SDL mailing list
    SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
    http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Thankss

Naman

_______________________________________________
SDL mailing list
SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

–
LordHavoc
Author of DarkPlaces Quake1 engine -
http://icculus.org/twilight/darkplaces
Co-designer of Nexuiz - http://alientrap.org/nexuiz
"War does not prove who is right, it proves who is left." - Unknown
"Any sufficiently advanced technology is indistinguishable from a rigged
demo." - James Klass
"A game is a series of interesting choices." - Sid Meier


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Someone will probably correct me on how to use sdl-config, but here’s a quick idea:
gcc proj.c sdl-config --cflags sdl-config --libs

Note that --libs puts in SDLmain for example (as it should), which -l SDL does not.On 04/27/2010 12:13 PM, naman kohli wrote:

No am just compiling using the statement gcc proj.c -l SDL

How to use sdl - config…

On Wed, Apr 28, 2010 at 12:39 AM, Forest Hale <@Forest_Hale mailto:Forest_Hale> wrote:

Are you using sdl-config in your build script or Makefile?  It is
supposed to be used to get the appropriate -I option for includes,
and the appropriate linker options among other things.

On 04/27/2010 12:08 PM, naman kohli wrote:
> Hey,
>
> Actually I am working on Fedora 12........and the problem has been
> solved in the sense that I just tried to include the complete location
> of SDL.h and its fine now.
>
> However if u can tell why it's still not working as SDL.h
>
> I did'nt install it.I checked and it was there. :P
>
> On Wed, Apr 28, 2010 at 12:29 AM, Paulo Pinto <pjmlp at progtools.org <mailto:pjmlp at progtools.org> <mailto:pjmlp at progtools.org <mailto:pjmlp at progtools.org>>> wrote:
>
>     Hi,
>
>     can you please explain better what you are trying to do?
>
>     Which compiler and OS are you using?
>
>     How have you installed SDL?
>
>     --
>     Paulo
>
>     On Tue, Apr 27, 2010 at 7:58 PM, naman kohli <namankohli1 at gmail.com <mailto:namankohli1 at gmail.com> <mailto:namankohli1 at gmail.com <mailto:namankohli1 at gmail.com>>> wrote:
>
>         Hello all,
>
>         I am having quite a strange problem.I was successfully
using SDL
>         when the lights got off and now when i compile my program it
>         says SDL.h not present.
>
>         I am quite confused seeing that the same program was running
>         before on linux.
>
>         Please help :)
>
>
>         Naman
>
>         _______________________________________________
>         SDL mailing list
>         SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
<mailto:SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>>
>         http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>
> Thankss
>
> Naman
>
>
>
>     _______________________________________________
>     SDL mailing list
>     SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
<mailto:SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>>
>     http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>
>
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


--
LordHavoc
Author of DarkPlaces Quake1 engine -
http://icculus.org/twilight/darkplaces
Co-designer <http://icculus.org/twilight/darkplaces Co-designer> of
Nexuiz - http://alientrap.org/nexuiz
"War does not prove who is right, it proves who is left." - Unknown
"Any sufficiently advanced technology is indistinguishable from a
rigged demo." - James Klass
"A game is a series of interesting choices." - Sid Meier

_______________________________________________
SDL mailing list
SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

–
LordHavoc
Author of DarkPlaces Quake1 engine - http://icculus.org/twilight/darkplaces
Co-designer of Nexuiz - http://alientrap.org/nexuiz
"War does not prove who is right, it proves who is left." - Unknown
"Any sufficiently advanced technology is indistinguishable from a rigged demo." - James Klass
"A game is a series of interesting choices." - Sid Meier

Thankss a lot…

And there’s no path addition that I have to do as in these cflags.On Wed, Apr 28, 2010 at 12:47 AM, Forest Hale wrote:

Someone will probably correct me on how to use sdl-config, but here’s a
quick idea:
gcc proj.c sdl-config --cflags sdl-config --libs

Note that --libs puts in SDLmain for example (as it should), which -l SDL
does not.

On 04/27/2010 12:13 PM, naman kohli wrote:

No am just compiling using the statement gcc proj.c -l SDL

How to use sdl - config…

On Wed, Apr 28, 2010 at 12:39 AM, Forest Hale <havoc at ghdigital.com <mailto:havoc at ghdigital.com>> wrote:

Are you using sdl-config in your build script or Makefile?  It is
supposed to be used to get the appropriate -I option for includes,
and the appropriate linker options among other things.

On 04/27/2010 12:08 PM, naman kohli wrote:
> Hey,
>
> Actually I am working on Fedora 12........and the problem has been
> solved in the sense that I just tried to include the complete

location

> of SDL.h and its fine now.
>
> However if u can tell why it's still not working as SDL.h
>
> I did'nt install it.I checked and it was there. :P
>
> On Wed, Apr 28, 2010 at 12:29 AM, Paulo Pinto <pjmlp at progtools.org <mailto:pjmlp at progtools.org> <mailto:pjmlp at progtools.org <mailto:pjmlp at progtools.org>>> wrote:
>
>     Hi,
>
>     can you please explain better what you are trying to do?
>
>     Which compiler and OS are you using?
>
>     How have you installed SDL?
>
>     --
>     Paulo
>
>     On Tue, Apr 27, 2010 at 7:58 PM, naman kohli <@naman_kohli <mailto:@naman_kohli> <mailto:@naman_kohli <mailto:@naman_kohli>>> wrote:
>
>         Hello all,
>
>         I am having quite a strange problem.I was successfully
using SDL
>         when the lights got off and now when i compile my program

it

>         says SDL.h not present.
>
>         I am quite confused seeing that the same program was

running

>         before on linux.
>
>         Please help :)
>
>
>         Naman
>
>         _______________________________________________
>         SDL mailing list
>         SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
<mailto:SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>>
>         http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>
> Thankss
>
> Naman
>
>
>
>     _______________________________________________
>     SDL mailing list
>     SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
<mailto:SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>>
>     http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>
>
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


--
LordHavoc
Author of DarkPlaces Quake1 engine -
http://icculus.org/twilight/darkplaces
Co-designer <http://icculus.org/twilight/darkplaces Co-designer> of
Nexuiz - http://alientrap.org/nexuiz
"War does not prove who is right, it proves who is left." - Unknown
"Any sufficiently advanced technology is indistinguishable from a
rigged demo." - James Klass
"A game is a series of interesting choices." - Sid Meier

_______________________________________________
SDL mailing list
SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

–
LordHavoc
Author of DarkPlaces Quake1 engine -
http://icculus.org/twilight/darkplaces
Co-designer of Nexuiz - http://alientrap.org/nexuiz
"War does not prove who is right, it proves who is left." - Unknown
"Any sufficiently advanced technology is indistinguishable from a rigged
demo." - James Klass
"A game is a series of interesting choices." - Sid Meier


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Naman