Source compilation help?

  • iggyfigs
    11th Apr 2011 Member 0 Permalink
    Hello, I am a total newb to powder toy modding! I have added a new element to TPT, but I do not know how to compile the source. I am using Visual Studio pro 2010, facialturds source. Instructions or a pointer to a help page would be awesome! Thanks!

    EDIT: I found the wiki post just after writing this thread :)
  • Ace
    11th Apr 2011 Member 0 Permalink
    Please check the wiki.
  • cctvdude99
    11th Apr 2011 Member 0 Permalink
    @iggyfigs
    I second @Ace's comment. Please check the wiki.
  • iggyfigs
    11th Apr 2011 Member 0 Permalink
    Alright, I did. Now, I'm using Code::blocks. I am getting the error that air.h file does not exist in my project folder. What is this?

    EDIT: Location of error: \source\src\air.c
    line 2, "#include air.h"

    The only problem is this this file DOES exist in \source\includes
  • cctvdude99
    11th Apr 2011 Member 0 Permalink
    @iggyfigs
    Common error with me, so if line 2 is: #include < air.h > try it like: #include "air.h" (including "quotation marks") and if that doesn't work, try: #include "includes/air.h"
    Code::Blocks is bloody annoying. Good luck getting it to work.