Problem with VC++

  • Rob215
    20th Aug 2010 Member 0 Permalink
    1>------ Build started: Project: The Powder Toy Rob215, Configuration: Debug Win32 ------
    1> powder.c
    1>powder.c(29): fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
    1> ._powder.c
    1>._powder.c : warning C4821: Unable to determine Unicode encoding type, please save the file with signature (BOM)
    1>._powder.c(1): error C2018: unknown character '0x5'
    1>._powder.c(1): error C2018: unknown character '0x16'
    1>._powder.c(1): error C2018: unknown character '0x7'
    1>._powder.c(1): error C2018: unknown character '0x2'
    1>._powder.c(1): error C2061: syntax error : identifier 'OS'
    1>._powder.c(1): error C2059: syntax error : ';'
    1>._powder.c(1): error C2018: unknown character '0x2'
    1>._powder.c(1): error C2143: syntax error : missing '{' before 'constant'
    1>._powder.c(1): error C2059: syntax error : '<Unknown>'
    1>._powder.c(1): error C2018: unknown character '0xe'
    1>._powder.c(1): error C2018: unknown character '0x2'
    1>._powder.c(1): error C2018: unknown character '0xe'
    1>._powder.c(1): error C2018: unknown character '0x1'
    1>._powder.c(1): error C2018: unknown character '0x1e'
    1> Generating Code...
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
  • devast8a
    20th Aug 2010 Former Staff 0 Permalink
    _powder.c should not be compiled.
    Also you need to make sure SDL's path is in your include paths.
  • Rob215
    20th Aug 2010 Member 0 Permalink
    Absolute beginner on VC++. Please tell me stuff step-by-step
    <source>\BZlib;<source>\SDL;$(IncludePath) in Include path.
  • singularity
    20th Aug 2010 Member 0 Permalink
    Steps. (sorry for english I am Russian only 18)

    1. RE-download source.

    2. open folder and delete _powder.c

    3. make a folder on your desktop called source.

    4. move all folders into it.

    5. download needed libraries and put in source folder.

    6. make a new project and then follow steps 8-12

    hope I helpped.
  • Rob215
    20th Aug 2010 Member 0 Permalink
    Can I create a folder called the powder toy source.

    EDIT - Don't understand 4. What folders?



    *Please do not double post.*
  • bchandark
    20th Aug 2010 Member 0 Permalink
    Rob215, just go to the wiki (link at the top of the page) and read the Coding Setup and Tutorial. I tried to make them as clear as possible
  • Rob215
    20th Aug 2010 Member 0 Permalink
    I read GitHub and Visual Studio Setup, set up only Visual Studio.

    EDIT: 8) Go to Project > Properties > Configuration Properties > Linker > Input. Open the drop down menu and click edit, and enter the following text:

    What drop down?

    EDIT: OK, I did the rename thing and down to this error.


    1>------ Build started: Project: The Powder Toy made by Rob215, Configuration: Debug Win32 ------
    1> powder.c
    1>powder.c(29): fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
  • Simon
    20th Aug 2010 Administrator 0 Permalink
    Could you PLEASE stop double/mulit/ultra posting?
  • Rob215
    20th Aug 2010 Member 0 Permalink
    Sorry Simon. Next time I'll edit posts.
  • Arsole
    20th Aug 2010 Member 0 Permalink
    @singularity

    In America we speak english
    In Soviet russia english speaks you!