how do i fix this

  • yew101
    29th Sep 2010 Member 0 Permalink
    im tying to compile my mod and when i try it says this
    im using C++ microsoft visual studio 2010 express

    1>------ Build started: Project: powder, Configuration: Debug Win32 ------
    1> powder.c
    1>c:\users\alex\downloads\tpt source\graphics.h(3): fatal error C1083: Cannot open include file: 'SDL/SDL.h': No such file or directory
    1> misc.c
    1>c:\users\alex\downloads\tpt source\interface.h(3): fatal error C1083: Cannot open include file: 'SDL/SDL.h': No such file or directory
    1> main.c
    1>main.c(29): fatal error C1083: Cannot open include file: 'SDL/SDL.h': No such file or directory
    1> interface.c
    1>interface.c(4): fatal error C1083: Cannot open include file: 'bzlib.h': No such file or directory
    1> graphics.c
    1>graphics.c(2): fatal error C1083: Cannot open include file: 'SDL/SDL.h': No such file or directory
    1> air.c
    1>c:\users\alex\downloads\tpt source\graphics.h(3): fatal error C1083: Cannot open include file: 'SDL/SDL.h': No such file or directory
    1> ._main.c
    1>._main.c : warning C4821: Unable to determine Unicode encoding type, please save the file with signature (BOM)
    1>._main.c(1): error C2018: unknown character '0x5'
    1>._main.c(1): error C2018: unknown character '0x16'
    1>._main.c(1): error C2018: unknown character '0x7'
    1>._main.c(1): error C2018: unknown character '0x2'
    1>._main.c(1): error C2061: syntax error : identifier 'OS'
    1>._main.c(1): error C2059: syntax error : ';'
    1>._main.c(1): error C2018: unknown character '0x2'
    1>._main.c(1): error C2143: syntax error : missing '{' before 'constant'
    1>._main.c(1): error C2059: syntax error : '<Unknown>'
    1>._main.c(1): error C2018: unknown character '0xe'
    1>._main.c(1): error C2018: unknown character '0x2'
    1>._main.c(1): error C2018: unknown character '0xe'
    1>._main.c(1): error C2018: unknown character '0x1'
    1>._main.c(1): error C2018: unknown character '0x1e'
    1>._main.c(1): error C2018: unknown character '0xe'
    1>._main.c(1): error C2018: unknown character '0xf'
    1>._main.c(1): error C2018: unknown character '0x1'
    1>._main.c(1): error C2018: unknown character '0xf'
    1>._main.c(1): error C2018: unknown character '0x17'
    1>._main.c(1): error C2059: syntax error : 'constant'
    1>._main.c(1): error C2018: unknown character '0x1'
    1>._main.c(1): error C2018: unknown character '0x1'
    1>._main.c(1): error C2018: unknown character '0x1e'
    1>._main.c(1): error C2018: unknown character '0x1'
    1>._main.c(1): error C2018: unknown character '0x1'
    1>._main.c(1): error C2018: unknown character '0x1e'
    1>._main.c(1): error C2018: unknown character '0x1c'
    1>._main.c(1): error C2018: unknown character '0x1e'
    1> Generating Code...
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    what do i do?
  • pilojo
    29th Sep 2010 Member 0 Permalink
    exact same thing for me!!!!!!! Help holy!!!!
  • Xenocide
    29th Sep 2010 Former Staff 0 Permalink
    your not linked correctly, double check with the wiki to make sure sdl and bz2 libs are linked

    delete ANY and ALL file staring with ._
  • pilojo
    29th Sep 2010 Member 0 Permalink
    Ahhh ok its saying sdl.h though... not sdl.dll which is in the wiki.
  • devast8a
    29th Sep 2010 Former Staff 0 Permalink
    I wrote a post about this a while ago >.>
    There is a search feature now-a-days please use it.

    Linky