Makefile error

  • maxrocks329
    6th Mar 2011 Member 0 Permalink
    here's what it says:
    gcc -DINTERNAL -opowder -w -std=c99 -D_POSIX_C_SOURCE=200112L -Iincludes/ -O3 -ffast-math -ftree-vectorize -funsafe-math-optimizations -lSDL -lm -lbz2 -march=native -DX86 -DX86_SSE3 -msse3 src/*.c src/elements/*.c -DLIN64
    src/graphics.c:3:19: fatal error: bzlib.h: No such file or directory
    compilation terminated.
    src/http.c:41:24: fatal error: sys/socket.h: No such file or directory
    compilation terminated.
    src/interface.c:7:19: fatal error: bzlib.h: No such file or directory
    compilation terminated.
    src/main.c:32:19: fatal error: bzlib.h: No such file or directory
    compilation terminated.
    src/misc.c:4:19: fatal error: regex.h: No such file or directory
    compilation terminated.
    make: *** [powder] Error 1

    MAKE FAILED (exit value 2, total time: 37s)
    what's bzlib? and sys/socket?
  • pilojo
    6th Mar 2011 Member 0 Permalink
    @maxrocks329
    Linux Distro is? And it's not the Makefile.
  • maxrocks329
    6th Mar 2011 Member 0 Permalink
    i have windows 7, not linux
  • Xenocide
    6th Mar 2011 Former Staff 0 Permalink
    @Pilojo
    Distro has almost nothing to with it, and windows has a Make program too :P

    @maxrocks329
    I suggest you read the wiki and use either Code::Blocks or VSC instead of using Make. Unless of course someone with more experience in Windows CLI compilation wants to help out.