SDL/SDL.h: No such file or directory!

  • plead-for-destruction
    29th Jun 2011 Member 0 Permalink
    ugghhh help me please this is the full message (i looked in the source download,nothing)

    C:\Users\cal (admin)\Downloads\FacialTurd-The-Powder-Toy-0fb9990\font\editor.c|5|fatal error: SDL/SDL.h: No such file or directory|



  • MasterMind555
    29th Jun 2011 Member 0 Permalink
    @plead-for-destruction (View Post)
    You need to download the SDL thingy from the Wiki
  • plead-for-destruction
    29th Jun 2011 Member 0 Permalink
    @MasterMind555 (View Post)
    thanks can u link i cant find it :)
    EDIT found but where do i put it in the folder?

    tried to compile got this:
    C:\Users\cal (admin)\Downloads\FacialTurd-The-Powder-Toy-0fb9990\SDL-1.2.14\test\checkkeys.c|11|fatal error: SDL.h: No such file or directory|
    Edited by plead-for-destruction, 2011-06-27 17:34:45
  • cctvdude99
    29th Jun 2011 Member 0 Permalink
    @plead-for-destruction
    Copy all the files from SDL into includes and change all the < SDL/SDL.h > into "SDL.h"
    Edited by cctvdude99, 2011-06-27 19:38:39
  • Neospector
    29th Jun 2011 Member 0 Permalink
    Link your includes folder like your Libraries folder?
  • plead-for-destruction
    29th Jun 2011 Member 0 Permalink
    @cctvdude99 (View Post)
    doesnt work (do i copy whats in the folders or the folder its self) EDIT:that errors gone but a new one arose
    @Neospector (View Post)
    huh?




    C:\Users\cal (admin)\Downloads\FacialTurd-The-Powder-Toy-0fb9990\font\editor.c||In function 'sdl_open':|
    C:\Users\cal (admin)\Downloads\FacialTurd-The-Powder-Toy-0fb9990\font\editor.c|116|error: 'SCALE' undeclared (first use in this function)|
    C:\Users\cal (admin)\Downloads\FacialTurd-The-Powder-Toy-0fb9990\font\editor.c|116|note: each undeclared identifier is reported only once for each function it appears in|
    C:\Users\cal (admin)\Downloads\FacialTurd-The-Powder-Toy-0fb9990\font\editor.c||In function 'sdl_blit':|
    C:\Users\cal (admin)\Downloads\FacialTurd-The-Powder-Toy-0fb9990\font\editor.c|131|error: 'SCALE' undeclared (first use in this function)|
    C:\Users\cal (admin)\Downloads\FacialTurd-The-Powder-Toy-0fb9990\font\editor.c||In function 'SDL_main':|
    C:\Users\cal (admin)\Downloads\FacialTurd-The-Powder-Toy-0fb9990\font\editor.c|219|error: 'SCALE' undeclared (first use in this function)|
    ||=== Build finished: 4 errors, 0 warnings ===|
    Edited by plead-for-destruction, 2011-06-28 02:14:35
  • Pilihp64
    29th Jun 2011 Developer 0 Permalink
    remove editor.c and packer.c from your project. Or update your source.
  • plead-for-destruction
    29th Jun 2011 Member 0 Permalink
    @cracker64 (View Post)
    ok i will

    EDIt:its doing well... compiling elements

    small error that i fixed now its compiling again

    compile done but build error:
    -------------- Build: Debug in mod ---------------

    Linking console executable: bin\Debug\mod.exe
    mingw32-g++.exe: obj\Debug\SDL-1.2.14\lib\libSDL.dll.o: No such file or directory
    mingw32-g++.exe: obj\Debug\SDL-1.2.14\lib\libSDLmain.o: No such file or directory
    mingw32-g++.exe: obj\Debug\lib\libbz2.o: No such file or directory
    mingw32-g++.exe: obj\Debug\lib\libbz2.dll.o: No such file or directory
    mingw32-g++.exe: obj\Debug\lib\libregex.dll.o: No such file or directory
    mingw32-g++.exe: C:\MinGW\lib\libSDLmain.a: No such file or directory
    mingw32-g++.exe: C:\MinGW\lib\libSDL.dll.a: No such file or directory
    mingw32-g++.exe: C:\MinGW\lib\libSDLmain.a: No such file or directory
    mingw32-g++.exe: C:\MinGW\lib\libSDL.dll.a: No such file or directory
    Process terminated with status 1 (0 minutes, 1 seconds)
    0 errors, 0 warnings

    team viewer help?

    Edited by plead-for-destruction, 2011-06-28 02:53:49