Not compiling

  • PizzaPlatypus
    16th Dec 2010 Member 0 Permalink
    When I try to compile using this untouched powder toy fork from facial turd using instructions from the wiki AND having cleaned the file this comes up:
    1>------ Build started: Project: Powder toy mods, Configuration: Debug Win32 ------
    1> update.c
    1>src\update.c(40): fatal error C1083: Cannot open include file: 'update.h': No such file or directory
    1> powder.c
    1>src\powder.c(3): fatal error C1083: Cannot open include file: 'defines.h': No such file or directory
    1> misc.c
    1>src\misc.c(4): fatal error C1083: Cannot open include file: 'misc.h': No such file or directory
    1> md5.c
    1>src\md5.c(3): fatal error C1083: Cannot open include file: 'md5.h': No such file or directory
    1> main.c
    1>src\main.c(30): fatal error C1083: Cannot open include file: 'SDL/SDL.h': No such file or directory
    1> interface.c
    1>src\interface.c(7): fatal error C1083: Cannot open include file: 'bzlib.h': No such file or directory
    1> http.c
    1>src\http.c(45): fatal error C1083: Cannot open include file: 'defines.h': No such file or directory
    1> graphics.c
    1>src\graphics.c(2): fatal error C1083: Cannot open include file: 'SDL/SDL.h': No such file or directory
    1> air.c
    1>src\air.c(2): fatal error C1083: Cannot open include file: 'air.h': No such file or directory
    1> Generating Code...
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    WHY!!!!???
  • Felix
    16th Dec 2010 Member 0 Permalink
    Why you ask? Because it can't find the headers.

    Add include to include paths.
  • PizzaPlatypus
    16th Dec 2010 Member 0 Permalink
    i GOT IT STRAIGHT FROM FACIAL TURD so include header's are there (sorryabout the capitals my capslock went spacked)
  • Pilihp64
    16th Dec 2010 Developer 0 Permalink
    you have to add the includes folder into the include paths in visual studio.
  • Felix
    16th Dec 2010 Member 0 Permalink
    Read what I wrote again. Add include to include paths.
  • PizzaPlatypus
    16th Dec 2010 Member 0 Permalink
    what are include paths?
  • MiXih
    16th Dec 2010 Member 0 Permalink
    PizzaPlatypus
    gtfo
    Project Properties>>Configuration Properties>>Linker>>Input
  • PizzaPlatypus
    16th Dec 2010 Member 0 Permalink
    then what?
    if it' saying the source then I've alreadydone that
  • PizzaPlatypus
    16th Dec 2010 Member 0 Permalink
    I've done that