compile error first time compilling

  • abaabaabaaba4
    15th Nov 2011 Member 0 Permalink

    Heres a pastebin http://pastebin.com/CGVZv7BK

    The thing I didnt understand is when it said

    Under Configuration Properties > VC++ Directories:

    Open the drop down menu for Include Directories and add

    $(ProjectDir)Includes

    (note that there is no backslash between"$(ProjectDir)" and "Includes")

     

    Open the drop down menu for Library Directories and add

    $(ProjectDir)Libraries

    It says and add several times but when I click the arrow itonly says edit so I click that and enter the text in the box then click ok andI'm trying to compile the opengl version so maybe that's the problem.

    EDIT I didn't put the locations I just copied so that wasprobably the problem. Oops.

    EDIT it’s still not working.Let me explain Iv'e got mydocuments then I have a folder called powder toy source then I have extractedthe source from a rar into that fold so what do i put for ProjectDir andSolutionDir. Please help

  • tommig
    15th Nov 2011 Member 0 Permalink
    1) You need to imrove your english, I struggled to comprehend some of that
    2) You forgot to put location\includes aswell
    If you have it would of worked, so the location is probably wrong
  • abaabaabaaba4
    15th Nov 2011 Member 0 Permalink
    @tommig (View Post)
    I was just using them as examples but im wondering what I put in project dir, is it the folder that I extracted the zip into or is it the src folder and for the includes bit do I put the includes in the folder I created or the one in the src one. Sorry about my English, I am 13 and English is my first language but many people have commented on my writing.
    EDIT: would the first one be $(C:\Users\Myname\Documents\powder toy source)Includes    or      $(C:\Users\Myname\Documents\powder toy source\src\Includes)Includes     or       $(C:\Users\Myname\Documents\powder toy source\includes)Includes       or
      $(C:\Users\Myname\Documents\powder toy source\src)Includes
  • tommig
    15th Nov 2011 Member 0 Permalink
    Are you using code::blocks?
    If so I can no longer help you
  • abaabaabaaba4
    15th Nov 2011 Member 0 Permalink
    @tommig (View Post)
    Im using visual c++, Im trying to follow the wiki.
  • tommig
    15th Nov 2011 Member 0 Permalink
    Use this one

    C:\Users\User\Documents\powder toy\source codes\The-Powder-Toy_65.4\Includes

    That's what I have, it'll be a bit different for you.
  • abaabaabaaba4
    15th Nov 2011 Member 0 Permalink
    @tommig (View Post)
    Ok thanks, I know what that corresponds to with mine and also I am trying to compile the opengl version so do I need to do anything special for that?
  • tommig
    15th Nov 2011 Member 0 Permalink
    Dunno, I used 65.4, before the stuff went in
  • abaabaabaaba4
    15th Nov 2011 Member 0 Permalink
    Do I leave the brackets, would the build one be $C:\Users\Myname\Documents\powder toy source\src\Build\
    EDIT:in the wiki its not clear if you leave the word after or if you leave the brackets there should be pictures because whatever I do it doesn't work.
  • pilojo
    15th Nov 2011 Member 0 Permalink
    When it says $(ProjectDir)Includes it means LITERALLY "$(ProjectDir)Includes" goes there.