Can't compile - Graphics.h has errors

  • DeathHammer000
    11th May 2014 Member 0 Permalink

    Here is a compiling error (using MinGW, SCons and Git Bash): http://pastebin.com/AnDTjdqs

     

    I got a build failure (it said that Graphics.h had errors). Can you tell me how to fix it?

     

    Thanks.

    Edited once by DeathHammer000. Last: 12th May 2014
  • mniip
    11th May 2014 Developer 0 Permalink
    The thing you pasted is config.log. Can you paste the actual error?
  • DeathHammer000
    12th May 2014 Member 0 Permalink

    @mniip (View Post)

    Don't know how to put Git errors onto Notepad - so I stitched together an image of the error.

     

    http://i60.tinypic.com/jaf6th.png

    Edited 2 times by DeathHammer000. Last: 12th May 2014
  • mniip
    12th May 2014 Developer 0 Permalink
    right click the window title, Edit -> Mark. then select a region and press enter, it is now in your clipboard.
  • DeathHammer000
    12th May 2014 Member 0 Permalink

    @mniip (View Post)

    Okay, thanks. Used Pastebin.

     

    http://pastebin.com/KC0YNxkQ

  • mniip
    12th May 2014 Developer 1 Permalink
    Where did you get the source? I just looked up, and none of the revisions of Config.h contained the lines that are in your errors.
  • DeathHammer000
    13th May 2014 Member 0 Permalink

    I see the mistake... I used the FacialTurd repository. It moved to the simtr one (I used an old tutorial, it was on the official wiki).

     

    I'll use that and notify you of any further errors.

     

    --EDIT--

     

    I had another error - it said that it didn't declare LVBR when I added it. Here is the error and the class file affected.

     

    http://pastebin.com/n09cwMTP

     

    It worked perfectly when I compiled it without any mod files. I'm not sure how it broke...

    Edited 2 times by DeathHammer000. Last: 13th May 2014