aarrrggggggggh!!!! errors what am i doing wrong

  • tommig
    18th Jan 2011 Member 0 Permalink
    trying to compile a clean source and keep getting these errors, what am i doing wrong?

    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 ==========
  • Pilihp64
    18th Jan 2011 Developer 0 Permalink
    please search, you have not correctly added your include folders
  • Cr15py
    18th Jan 2011 Member 0 Permalink
    You're joking right? If you've never programmed before, learn C before you try to do anything with Powder Toy.
  • tommig
    18th Jan 2011 Member 0 Permalink
    righty-ho! must have missed a step in the wiki!
  • PizzaPlatypus
    18th Jan 2011 Member 0 Permalink
    wait! You just go to project>properties>Configuration properties>VC++directories>iclude directories and then add the path of your includes folder (to find this go to the folder right-click get properties and it will show the path) copy it into the include directories and add \includes to the end of it.
  • Ace
    18th Jan 2011 Member 0 Permalink
    PizzaPlatypus:
    wait! You just go to project>properties>Configuration properties>VC++directories>iclude directories and then add the path of your includes folder (to find this go to the folder right-click get properties and it will show the path) copy it into the include directories and add \includes to the end of it.

    when i did that it came up with:
    1>------ Build started: Project: Aces Mod, Configuration: Debug Win32 ------
    1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(268,5): error MSB6001: Invalid command line switch for "link.exe". The value ["C:\Users\Allan\Desktop\Aces mod\Libraries\SDL.lib”] contains an odd number of double-quote characters. Only even numbers of literal double-quote characters are acceptable to command line tools.
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
  • PizzaPlatypus
    18th Jan 2011 Member 0 Permalink
    then I don't know but what I said worked for me. Sorry if it made it worse
  • devast8a
    18th Jan 2011 Former Staff 0 Permalink
    @Ace
    You put " into the paths. Please read the error message.
  • Felix
    18th Jan 2011 Member 0 Permalink
    You have two different kinds of " "
    ”
    and
    "
    Replace the first one with the second one.
  • plead-for-destruction
    18th Jan 2011 Member 0 Permalink
    are you using Code::Blocks?