Hallo!
Ich habe nach dem Tutorial hier im Forum versucht nwmovies zu installieren, zuerst mit dem neuesten (v3) File, welches aber wohl nicht richtig kompiliert?
Es beklagt sich aus folgendem Grund:
Code:
nwmovies/binklib.c:28:21: SDL/SDL.h: Datei oder Verzeichnis nicht gefunden
nwmovies/binklib.c:35: error: Syntaxfehler before '*' token
nwmovies/binklib.c:36: error: Syntaxfehler before '*' token
nwmovies/binklib.c:36: error: Syntaxfehler before "Uint32"
nwmovies/binklib.c:36: Warnung: type defaults to `int' in declaration of `__sdl_setvideomode'
nwmovies/binklib.c:36: Warnung: data definition has no type or storage class
nwmovies/binklib.c:41: error: Syntaxfehler before '*' token
nwmovies/binklib.c:41: error: Syntaxfehler before '*' token
nwmovies/binklib.c:41: Warnung: type defaults to `int' in declaration of `__sdl_zoomSurface'
nwmovies/binklib.c:41: Warnung: data definition has no type or storage class
nwmovies/binklib.c:57: error: Syntaxfehler before '*' token
nwmovies/binklib.c:57: Warnung: type defaults to `int' in declaration of `__sdl_screen_surface'
nwmovies/binklib.c:57: Warnung: data definition has no type or storage class
nwmovies/binklib.c:58: error: Syntaxfehler before '*' token
nwmovies/binklib.c:58: Warnung: type defaults to `int' in declaration of `__sdl_fake_surface'
nwmovies/binklib.c:58: Warnung: data definition has no type or storage class
nwmovies/binklib.c:134: error: Syntaxfehler before '*' token
nwmovies/binklib.c: In Funktion »SDL_UpdateRects«:
nwmovies/binklib.c:136: error: `SDL_Surface' undeclared (first use in this function)
nwmovies/binklib.c:136: error: (Each undeclared identifier is reported only oncenwmovies/binklib.c:136: error: for each function it appears in.)
nwmovies/binklib.c:136: error: `zoom_picture' undeclared (first use in this function)
nwmovies/binklib.c:137: error: `SDL_Rect' undeclared (first use in this function)
nwmovies/binklib.c:137: error: Syntaxfehler before "dest"
nwmovies/binklib.c:142: error: `fake_screen' undeclared (first use in this function)
nwmovies/binklib.c:142: error: `numrects' undeclared (first use in this function)
nwmovies/binklib.c:142: error: `rects' undeclared (first use in this function)
nwmovies/binklib.c:174: error: `dest' undeclared (first use in this function)
nwmovies/binklib.c:174: error: request for member `w' in something not a structure or union
nwmovies/binklib.c:175: error: request for member `h' in something not a structure or union
nwmovies/binklib.c:178: Warnung: implicit declaration of function `SDL_BlitSurface'
nwmovies/binklib.c:179: Warnung: implicit declaration of function `SDL_GetError'nwmovies/binklib.c:179: Warnung: Format-Argument ist kein Zeiger (Argument 3)
nwmovies/binklib.c:181: Warnung: implicit declaration of function `SDL_FreeSurface'
nwmovies/binklib.c:184: error: request for member `w' in something not a structure or union
nwmovies/binklib.c:185: error: request for member `h' in something not a structure or union
nwmovies/binklib.c:189: Warnung: Format-Argument ist kein Zeiger (Argument 3)
nwmovies/binklib.c:195: error: request for member `w' in something not a structure or union
nwmovies/binklib.c:196: error: request for member `h' in something not a structure or union
nwmovies/binklib.c: Auf höchster Ebene:
nwmovies/binklib.c:202: error: Syntaxfehler before '*' token
nwmovies/binklib.c:202: error: Syntaxfehler before "Uint32"
nwmovies/binklib.c:202: Warnung: return type defaults to `int'
nwmovies/binklib.c: In Funktion »SDL_SetVideoMode«:
nwmovies/binklib.c:203: error: `Uint32' undeclared (first use in this function)
nwmovies/binklib.c:203: error: Syntaxfehler before "my_flags"
nwmovies/binklib.c:206: error: `width' undeclared (first use in this function)
nwmovies/binklib.c:206: error: `height' undeclared (first use in this function)
nwmovies/binklib.c:206: error: `bpp' undeclared (first use in this function)
nwmovies/binklib.c:206: error: `flags' undeclared (first use in this function)
nwmovies/binklib.c:209: error: `my_flags' undeclared (first use in this function)
nwmovies/binklib.c:227: error: `SDL_FULLSCREEN' undeclared (first use in this function)
nwmovies/binklib.c:235: Warnung: implicit declaration of function `SDL_AllocSurface'
nwmovies/binklib.c:235: error: `SDL_SWSURFACE' undeclared (first use in this function)
nwmovies/binklib.c:236: error: request for member `format' in something not a structure or union
nwmovies/binklib.c:236: error: request for member `format' in something not a structure or union
nwmovies/binklib.c:237: error: request for member `format' in something not a structure or union
nwmovies/binklib.c:237: error: request for member `format' in something not a structure or union
nwmovies/binklib.c:237: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
nwmovies/binklib.c:240: Warnung: Format-Argument ist kein Zeiger (Argument 3)
nwmovies/nwmovies.c:47:21: SDL/SDL.h: Datei oder Verzeichnis nicht gefunden
nwmovies/nwmovies.c:48:27: SDL/SDL_types.h: Datei oder Verzeichnis nicht gefunden
nwmovies/nwmovies.c: In Funktion »NWMovies_Ungrab«:
nwmovies/nwmovies.c:288: error: `SDL_GRAB_QUERY' undeclared (first use in this function)
nwmovies/nwmovies.c:288: error: (Each undeclared identifier is reported only once
nwmovies/nwmovies.c:288: error: for each function it appears in.)
nwmovies/nwmovies.c:289: error: `SDL_GRAB_OFF' undeclared (first use in this function)
nwmovies/nwmovies.c: In Funktion »NWMovies_ReGrab«:
nwmovies/nwmovies.c:294: error: `SDL_Surface' undeclared (first use in this function)
nwmovies/nwmovies.c:294: error: `cur_surf' undeclared (first use in this function)
nwmovies/nwmovies.c:297: Warnung: implicit declaration of function `SDL_GetVideoSurface'
nwmovies/nwmovies.c:298: error: `SDL_FULLSCREEN' undeclared (first use in this function)
nwmovies/nwmovies.c:299: Warnung: implicit declaration of function `SDL_WM_ToggleFullScreen'
nwmovies/nwmovies.c:304: error: `SDL_GRAB_FULLSCREEN' undeclared (first use in this function)
Dann habe ich es mit der v2 Version versucht, die aber leider auch nicht minder zickig ist:
Code:
NOTICE: NWMovies: Executing: gcc -Inwmovies/libdis -g -fPIC -shared -Wl,-soname,libdisasm.so nwmovies/libdis/libdis.c nwmovies/libdis/i386.c -o nwmovies/libdis/libdisasm.so
NOTICE: NWMovies: Executing: gcc -shared -g -I/usr/include/libelf -Inwmovies/libdis -o nwmovies/nwmovies.so nwmovies/nwmovies.c nwmovies/nwmovies_lookup.c nwmovies/nwmovies_cookie.c nwmovies/nwmovies_crumb.c nwmovies/nwmovies_link.S -ldl -lelf
nwmovies/nwmovies.c:48:21: SDL/SDL.h: Datei oder Verzeichnis nicht gefunden
nwmovies/nwmovies.c:49:27: SDL/SDL_types.h: Datei oder Verzeichnis nicht gefunden
nwmovies/nwmovies.c:71: Warnung: Parameternamen (ohne Typen) in Funktionsdeklaration
nwmovies/nwmovies.c:86: error: Syntaxfehler before "flags"
nwmovies/nwmovies.c: In Funktion »SDL_Init«:
nwmovies/nwmovies.c:282: error: `flags' undeclared (first use in this function)
nwmovies/nwmovies.c:282: error: (Each undeclared identifier is reported only once
nwmovies/nwmovies.c:282: error: for each function it appears in.)
nwmovies/nwmovies.c: In Funktion »NWMovies_Ungrab«:
nwmovies/nwmovies.c:290: error: `SDL_GRAB_QUERY' undeclared (first use in this function)
nwmovies/nwmovies.c:291: error: `SDL_GRAB_OFF' undeclared (first use in this function)
nwmovies/nwmovies.c: In Funktion »NWMovies_ReGrab«:
nwmovies/nwmovies.c:298: error: `SDL_GRAB_FULLSCREEN' undeclared (first use in this function)
nwmovies/nwmovies_lookup.c:9:21: SDL/SDL.h: Datei oder Verzeichnis nicht gefunden
nwmovies/nwmovies_lookup.c:10:27: SDL/SDL_types.h: Datei oder Verzeichnis nicht gefunden
NOTICE: NWMovies: Please check for errors above
NOTICE: NWMovies: nwmovies executable built. Please modify your nwn startup command to
NOTICE: NWMovies: set LD_PRELOAD to 'nwmovies.so', before executing nwmain.
Ich habe die libelfg0 mit libelfg0-dev und die libelfsh0 sowie die libelfsh0-dev installiert.
Kann mir jemand sagen warum er nicht kompilere möchte?
Außerdem ist mir aufgefallen dass die Einstellung reflektierendes Wasser bei mir nicht anwählbar ist - was muss ich denn machen dass ich diese anwählen kann?
Ich benutze Debian Sarge (auf Athlon XP 3000+ und Radeon 9800 Pro)
Ansonsten funktioniert das Spiel wunderbar!
Dankeschön,
shor
Lesezeichen