from ./configure i get: [code]$ ./configure bash: ./configure: Bestand of map bestaat niet [/code] {file or path does not exist}
fron make i get: [code]$ make gcc -DINTERNAL -opowder -Wall -std=c99 -D_POSIX_C_SOURCE=200112L -fgnu89-inline -O3 -ffast-math -ftree-vectorize -funsafe-math-optimizations -lSDL -lm -lbz2 -march=k8 -DX86 -DX86_SSE3 -msse3 powder.c http.c md5.c update.c -DLIN64 powder.c:26:21: error: SDL/SDL.h: Bestand of map bestaat niet powder.c:27:19: error: bzlib.h: Bestand of map bestaat niet powder.c:2682: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token powder.c:2683: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sdl_mod’ powder.c: In function ‘sdl_seticon’: powder.c:2697: error: ‘SDL_Surface’ undeclared (first use in this function) powder.c:2697: error: (Each undeclared identifier is reported only once powder.c:2697: error: for each function it appears in.) powder.c:2697: error: ‘icon’ undeclared (first use in this function) powder.c:2697: warning: implicit declaration of function ‘SDL_CreateRGBSurfaceFrom’ powder.c:2698: warning: implicit declaration of function ‘SDL_WM_SetIcon’ powder.c: In function ‘sdl_open’: powder.c:2705: warning: implicit declaration of function ‘SDL_Init’ powder.c:2705: error: ‘SDL_INIT_VIDEO’ undeclared (first use in this function) powder.c:2706: warning: implicit declaration of function ‘SDL_GetError’ powder.c:2706: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’ powder.c:2709: error: ‘SDL_Quit’ undeclared (first use in this function) powder.c:2713: error: ‘sdl_scrn’ undeclared (first use in this function) powder.c:2713: warning: implicit declaration of function ‘SDL_SetVideoMode’ powder.c:2713: error: ‘SDL_SWSURFACE’ undeclared (first use in this function) powder.c:2716: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’ powder.c:2719: warning: implicit declaration of function ‘SDL_WM_SetCaption’ powder.c:2721: warning: implicit declaration of function ‘SDL_EnableUNICODE’ powder.c: In function ‘sdl_blit_1’: powder.c:2729: warning: implicit declaration of function ‘SDL_MUSTLOCK’ powder.c:2729: error: ‘sdl_scrn’ undeclared (first use in this function) powder.c:2730: warning: implicit declaration of function ‘SDL_LockSurface’ powder.c:2739: warning: implicit declaration of function ‘SDL_UnlockSurface’ powder.c:2740: warning: implicit declaration of function ‘SDL_UpdateRect’ powder.c: In function ‘sdl_blit_2’: powder.c:2748: error: ‘sdl_scrn’ undeclared (first use in this function) powder.c: In function ‘sdl_poll’: powder.c:2800: error: ‘SDL_Event’ undeclared (first use in this function) powder.c:2800: error: expected ‘;’ before ‘event’ powder.c:2802: warning: implicit declaration of function ‘SDL_PollEvent’ powder.c:2802: error: ‘event’ undeclared (first use in this function) powder.c:2804: error: ‘SDL_KEYDOWN’ undeclared (first use in this function) powder.c:2807: error: ‘SDLK_CAPSLOCK’ undeclared (first use in this function) powder.c:2814: error: ‘SDL_KEYUP’ undeclared (first use in this function) powder.c:2820: error: ‘SDL_MOUSEBUTTONDOWN’ undeclared (first use in this function) powder.c:2821: error: ‘SDL_BUTTON_WHEELUP’ undeclared (first use in this function) powder.c:2823: error: ‘SDL_BUTTON_WHEELDOWN’ undeclared (first use in this function) powder.c:2826: error: ‘SDL_QUIT’ undeclared (first use in this function) powder.c:2830: error: ‘sdl_mod’ undeclared (first use in this function) powder.c:2830: warning: implicit declaration of function ‘SDL_GetModState’ powder.c: In function ‘build_thumb’: powder.c:2888: warning: implicit declaration of function ‘BZ2_bzBuffToBuffCompress’ powder.c:2888: error: ‘BZ_OK’ undeclared (first use in this function) powder.c: In function ‘render_thumb’: powder.c:2922: warning: implicit declaration of function ‘BZ2_bzBuffToBuffDecompress’ powder.c: In function ‘build_save’: powder.c:3119: error: ‘BZ_OK’ undeclared (first use in this function) powder.c: In function ‘file_load’: powder.c:3556: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result powder.c: In function ‘stamp_init’: powder.c:3727: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result powder.c: In function ‘menu_ui’: powder.c:4379: warning: implicit declaration of function ‘SDL_GetMouseState’ powder.c:4503: error: ‘SDLK_RETURN’ undeclared (first use in this function) powder.c:4505: error: ‘SDLK_ESCAPE’ undeclared (first use in this function) powder.c: In function ‘ui_edit_process’: powder.c:5108: error: ‘SDLK_HOME’ undeclared (first use in this function) powder.c:5111: error: ‘SDLK_END’ undeclared (first use in this function) powder.c:5114: error: ‘SDLK_LEFT’ undeclared (first use in this function) powder.c:5118: error: ‘SDLK_RIGHT’ undeclared (first use in this function) powder.c:5122: error: ‘SDLK_DELETE’ undeclared (first use in this function) powder.c:5123: error: ‘sdl_mod’ undeclared (first use in this function) powder.c:5123: error: ‘KMOD_LCTRL’ undeclared (first use in this function) powder.c:5123: error: ‘KMOD_RCTRL’ undeclared (first use in this function) powder.c:5128: error: ‘SDLK_BACKSPACE’ undeclared (first use in this function) powder.c: In function ‘error_ui’: powder.c:5243: error: ‘SDLK_RETURN’ undeclared (first use in this function) powder.c:5245: error: ‘SDLK_ESCAPE’ undeclared (first use in this function) powder.c: In function ‘info_ui’: powder.c:5285: error: ‘SDLK_RETURN’ undeclared (first use in this function) powder.c:5287: error: ‘SDLK_ESCAPE’ undeclared (first use in this function) powder.c: In function ‘confirm_ui’: powder.c:5343: error: ‘SDLK_RETURN’ undeclared (first use in this function) powder.c:5347: error: ‘SDLK_ESCAPE’ undeclared (first use in this function) powder.c: In function ‘tag_list_ui’: powder.c:5539: error: ‘SDLK_RETURN’ undeclared (first use in this function) powder.c:5548: error: ‘SDLK_ESCAPE’ undeclared (first use in this function) powder.c: In function ‘save_name_ui’: powder.c:5644: error: ‘SDLK_RETURN’ undeclared (first use in this function) powder.c:5660: error: ‘SDLK_ESCAPE’ undeclared (first use in this function) powder.c: In function ‘login_ui’: powder.c:5799: error: ‘SDLK_RETURN’ undeclared (first use in this function) powder.c:5799: error: ‘SDLK_TAB’ undeclared (first use in this function) powder.c:5805: error: ‘SDLK_ESCAPE’ undeclared (first use in this function) powder.c: In function ‘search_ui’: powder.c:6498: error: ‘SDLK_RETURN’ undeclared (first use in this function) powder.c:6507: error: ‘SDLK_ESCAPE’ undeclared (first use in this function) powder.c: In function ‘stamp_ui’: powder.c:6892: error: ‘SDLK_RETURN’ undeclared (first use in this function) powder.c:6894: error: ‘SDLK_ESCAPE’ undeclared (first use in this function) powder.c: In function ‘add_sign_ui’: powder.c:7053: error: ‘SDLK_RETURN’ undeclared (first use in this function) powder.c:7055: error: ‘SDLK_ESCAPE’ undeclared (first use in this function) powder.c: In function ‘load_string’: powder.c:7086: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result powder.c:7092: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result powder.c: In function ‘load_presets’: powder.c:7132: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result powder.c: In function ‘main’: powder.c:7715: error: ‘SDLK_ESCAPE’ undeclared (first use in this function) powder.c:7769: error: ‘SDLK_SPACE’ undeclared (first use in this function) powder.c:8116: error: ‘SDL_BUTTON_LMASK’ undeclared (first use in this function) powder.c:8118: error: ‘SDL_BUTTON_RMASK’ undeclared (first use in this function) powder.c:8164: error: ‘sdl_mod’ undeclared (first use in this function) powder.c:8164: error: ‘KMOD_LSHIFT’ undeclared (first use in this function) powder.c:8164: error: ‘KMOD_RSHIFT’ undeclared (first use in this function) powder.c:8164: error: ‘KMOD_LCTRL’ undeclared (first use in this function) powder.c:8164: error: ‘KMOD_RCTRL’ undeclared (first use in this function) powder.c:8181: error: ‘KMOD_LALT’ undeclared (first use in this function) powder.c:8181: error: ‘KMOD_RALT’ undeclared (first use in this function) powder.c:8181: error: ‘SDL_BUTTON_MIDDLE’ undeclared (first use in this function) powder.c:8332: warning: implicit declaration of function ‘SDL_GetTicks’ make: *** [powder] Fout 1 [/code]
and make install gives: [code]$ make install make: *** Er is geen regel om doel 'install' te maken. Gestopt.[/code] {their is no line to make "install" target. stop.}
can anyone help?
(you do not need to know c to edid element properties)
To compile this game, you should just type "make". But as I think, you have no SDL, so you should do: "sudo apt-get install libsdl1.2-dev" and then "make".
make now gives: $ make gcc -DINTERNAL -opowder -Wall -std=c99 -D_POSIX_C_SOURCE=200112L -fgnu89-inline -O3 -ffast-math -ftree-vectorize -funsafe-math-optimizations -lSDL -lm -lbz2 -march=k8 -DX86 -DX86_SSE3 -msse3 powder.c http.c md5.c update.c -DLIN64 powder.c:27:19: error: bzlib.h: Bestand of map bestaat niet powder.c: In function ‘build_thumb’: powder.c:2888: warning: implicit declaration of function ‘BZ2_bzBuffToBuffCompress’ powder.c:2888: error: ‘BZ_OK’ undeclared (first use in this function) powder.c:2888: error: (Each undeclared identifier is reported only once powder.c:2888: error: for each function it appears in.) powder.c: In function ‘render_thumb’: powder.c:2922: warning: implicit declaration of function ‘BZ2_bzBuffToBuffDecompress’ powder.c: In function ‘build_save’: powder.c:3119: error: ‘BZ_OK’ undeclared (first use in this function) powder.c: In function ‘file_load’: powder.c:3556: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result powder.c: In function ‘stamp_init’: powder.c:3727: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result powder.c: In function ‘load_string’: powder.c:7086: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result powder.c:7092: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result powder.c: In function ‘load_presets’: powder.c:7132: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result make: *** [powder] Fout 1
{Bestand of map bestaat niet= file does not exist}
$ make gcc -DINTERNAL -opowder -Wall -std=c99 -D_POSIX_C_SOURCE=200112L -fgnu89-inline -O3 -ffast-math -ftree-vectorize -funsafe-math-optimizations -lSDL -lm -lbz2 -march=k8 -DX86 -DX86_SSE3 -msse3 powder.c http.c md5.c update.c -DLIN64 powder.c: In function ‘file_load’: powder.c:3556: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result powder.c: In function ‘stamp_init’: powder.c:3727: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result powder.c: In function ‘load_string’: powder.c:7086: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result powder.c:7092: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result powder.c: In function ‘load_presets’: powder.c:7132: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result powder.c: At top level: icon.h:22: warning: ‘app_icon_w32’ defined but not used