Menu

Compiling in Linux

2005-10-21
2013-04-17
  • Felipe Sanches

    Felipe Sanches - 2005-10-21

    I tyied to compile it on linux. At the first time it gave me an error saying fullscreen was not declared. So, I looked at the code and it have chanced the following line:

    SDLMain.c:221: fullscreen = 1 - fullscreen;

    by this one:

    SDLMain.c:221: int fullscreen = 1;

    It seems to me that "fullscreen" should be a global, am I wrong?
    After making this, it compiled.

     
    • Alexandre Fontoura

      Yes, its a global variable.
      The thing was that I didn't update the file on cvs that have the global declaration of the fullscreen variable. Sorry for that and as soon as I can, I'll update the var.c/h files on cvs.

       

Log in to post a comment.

MongoDB Logo MongoDB