Ich teste grad ein paar nicht geteste Artikel und bin grad bei "NES Emulator". Während des Kompiliervorgangs von Tuxnes (Version 0.75; neueste) bekomme ich folgenden Output:
nico@nico-desktop:~/Desktop/Downloads/tuxnes-0.75$ make
gcc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -Wall -D__USE_BSD -c emu.c
emu.c: In function ‘traphandler’:
emu.c:437: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
emu.c: In function ‘quit’:
emu.c:462: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
emu.c: In function ‘restoresavedgame’:
emu.c:840: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
emu.c:853: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
emu.c:865: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
emu.c: In function ‘loadpal’:
emu.c:893: error: expected ‘)’ before string constant
emu.c:915: error: expected ‘)’ before string constant
emu.c:927: error: expected ‘)’ before string constant
emu.c: In function ‘main’:
emu.c:1605: error: expected ‘)’ before string constant
emu.c:1246: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
make: *** [emu.o] Fehler 1
Ich kann damit nichts anfangen und markier das mal als "derzeit funktionsuntüchtig". Vllt. kann das ja jmd. fixen.
Edit: Ähnliches Problem für NESTOPIA
Compiling source/linux/main.cpp...
/bin/sh: sdl-config: not found
source/linux/main.cpp:11:21: error: SDL/SDL.h: No such file or directory
source/linux/main.cpp:52: error: expected constructor, destructor, or type conversion before ‘*’ token
source/linux/main.cpp:61: error: expected initializer before ‘*’ token
source/linux/main.cpp: In function ‘void load_file_by_uri(char*)’:
source/linux/main.cpp:121: error: ‘strtol’ was not declared in this scope
source/linux/main.cpp: In function ‘long int Linux_LockScreen(void*&)’:
source/linux/main.cpp:185: error: ‘screen’ was not declared in this scope
source/linux/main.cpp:185: error: ‘SDL_MUSTLOCK’ was not declared in this scope
source/linux/main.cpp:185: error: ‘SDL_LockSurface’ was not declared in this scope
source/linux/main.cpp:187: error: ‘screen’ was not declared in this scope
source/linux/main.cpp: In function ‘void Linux_UnlockScreen(void*)’:
source/linux/main.cpp:193: error: ‘screen’ was not declared in this scope
source/linux/main.cpp:193: error: ‘SDL_MUSTLOCK’ was not declared in this scope
source/linux/main.cpp:193: error: ‘SDL_UnlockSurface’ was not declared in this scope
source/linux/main.cpp:195: error: ‘screen’ was not declared in this scope
source/linux/main.cpp:195: error: ‘SDL_Flip’ was not declared in this scope
source/linux/main.cpp: In function ‘void nst_stop_playing()’:
source/linux/main.cpp:296: error: ‘screen’ was not declared in this scope
source/linux/main.cpp:296: error: ‘SDL_FreeSurface’ was not declared in this scope
source/linux/main.cpp:310: error: ‘SDL_NumJoysticks’ was not declared in this scope
source/linux/main.cpp:317: error: ‘joy’ was not declared in this scope
source/linux/main.cpp:317: error: ‘SDL_JoystickClose’ was not declared in this scope
source/linux/main.cpp:321: error: ‘SDL_ENABLE’ was not declared in this scope
source/linux/main.cpp:321: error: ‘SDL_JoystickEventState’ was not declared in this scope
source/linux/main.cpp:323: error: ‘SDL_ShowCursor’ was not declared in this scope
source/linux/main.cpp:324: error: ‘SDL_Quit’ was not declared in this scope
source/linux/main.cpp: In function ‘void nst_kdown(Nes::Core::Input::Controllers*, int)’:
source/linux/main.cpp:349: error: ‘SDLK_F1’ was not declared in this scope
source/linux/main.cpp:352: error: ‘SDLK_F2’ was not declared in this scope
source/linux/main.cpp:355: error: ‘SDLK_F3’ was not declared in this scope
source/linux/main.cpp:358: error: ‘SDLK_F4’ was not declared in this scope
source/linux/main.cpp:370: error: ‘SDLK_F5’ was not declared in this scope
source/linux/main.cpp:380: error: ‘SDLK_F7’ was not declared in this scope
source/linux/main.cpp:383: error: ‘SDLK_F8’ was not declared in this scope
source/linux/main.cpp:386: error: ‘SDLK_RETURN’ was not declared in this scope
source/linux/main.cpp:387: error: ‘SDLK_LALT’ was not declared in this scope
source/linux/main.cpp:391: error: ‘SDL_NumJoysticks’ was not declared in this scope
source/linux/main.cpp:398: error: ‘joy’ was not declared in this scope
source/linux/main.cpp:398: error: ‘SDL_JoystickClose’ was not declared in this scope
source/linux/main.cpp:402: error: ‘SDL_ENABLE’ was not declared in this scope
source/linux/main.cpp:402: error: ‘SDL_JoystickEventState’ was not declared in this scope
source/linux/main.cpp:405: error: ‘SDL_ShowCursor’ was not declared in this scope
source/linux/main.cpp:406: error: ‘SDL_Quit’ was not declared in this scope
source/linux/main.cpp: In function ‘void on_playbutton_button_press_event(GtkButton*, void*)’:
source/linux/main.cpp:696: error: ‘SDL_WM_SetCaption’ was not declared in this scope
source/linux/main.cpp: In function ‘void kill_video_if_fs()’:
source/linux/main.cpp:817: error: ‘SDL_NumJoysticks’ was not declared in this scope
source/linux/main.cpp:826: error: ‘joy’ was not declared in this scope
source/linux/main.cpp:826: error: ‘SDL_JoystickClose’ was not declared in this scope
source/linux/main.cpp:830: error: ‘SDL_ENABLE’ was not declared in this scope
source/linux/main.cpp:830: error: ‘SDL_JoystickEventState’ was not declared in this scope
source/linux/main.cpp:833: error: ‘SDL_ShowCursor’ was not declared in this scope
source/linux/main.cpp:834: error: ‘SDL_Quit’ was not declared in this scope
source/linux/main.cpp: In function ‘int main(int, char**)’:
source/linux/main.cpp:851: error: ‘SDL_Event’ was not declared in this scope
source/linux/main.cpp:851: error: expected ‘;’ before ‘event’
source/linux/main.cpp:916: warning: deprecated conversion from string constant to ‘gchar*’
source/linux/main.cpp:969: error: ‘event’ was not declared in this scope
source/linux/main.cpp:969: error: ‘SDL_PollEvent’ was not declared in this scope
source/linux/main.cpp:973: error: ‘SDL_QUIT’ was not declared in this scope
source/linux/main.cpp:977: error: ‘SDL_KEYDOWN’ was not declared in this scope
source/linux/main.cpp:981: error: ‘SDL_KEYUP’ was not declared in this scope
source/linux/main.cpp:985: error: ‘SDL_JOYAXISMOTION’ was not declared in this scope
source/linux/main.cpp:989: error: ‘SDL_JOYBUTTONDOWN’ was not declared in this scope
source/linux/main.cpp:990: error: ‘SDL_JOYBUTTONUP’ was not declared in this scope
source/linux/main.cpp:991: error: ‘SDL_PRESSED’ was not declared in this scope
source/linux/main.cpp:1001: error: ‘SDLK_BACKSPACE’ was not declared in this scope
source/linux/main.cpp: In function ‘void SetupVideo()’:
source/linux/main.cpp:1114: error: ‘SDL_INIT_VIDEO’ was not declared in this scope
source/linux/main.cpp:1114: error: ‘SDL_INIT_JOYSTICK’ was not declared in this scope
source/linux/main.cpp:1114: error: ‘SDL_Init’ was not declared in this scope
source/linux/main.cpp:1157: error: ‘SDL_NumJoysticks’ was not declared in this scope
source/linux/main.cpp:1164: error: ‘joy’ was not declared in this scope
source/linux/main.cpp:1164: error: ‘SDL_JoystickOpen’ was not declared in this scope
source/linux/main.cpp:1168: error: ‘SDL_ENABLE’ was not declared in this scope
source/linux/main.cpp:1168: error: ‘SDL_JoystickEventState’ was not declared in this scope
source/linux/main.cpp:1176: error: ‘screen’ was not declared in this scope
source/linux/main.cpp:1176: error: ‘SDL_ANYFORMAT’ was not declared in this scope
source/linux/main.cpp:1176: error: ‘SDL_DOUBLEBUF’ was not declared in this scope
source/linux/main.cpp:1176: error: ‘SDL_HWSURFACE’ was not declared in this scope
source/linux/main.cpp:1176: error: ‘SDL_FULLSCREEN’ was not declared in this scope
source/linux/main.cpp:1176: error: ‘SDL_SetVideoMode’ was not declared in this scope
source/linux/main.cpp:1180: error: ‘screen’ was not declared in this scope
source/linux/main.cpp:1180: error: ‘SDL_ANYFORMAT’ was not declared in this scope
source/linux/main.cpp:1180: error: ‘SDL_DOUBLEBUF’ was not declared in this scope
source/linux/main.cpp:1180: error: ‘SDL_HWSURFACE’ was not declared in this scope
source/linux/main.cpp:1180: error: ‘SDL_SetVideoMode’ was not declared in this scope
source/linux/main.cpp:1183: error: ‘screen’ was not declared in this scope
source/linux/main.cpp:1186: error: ‘exit’ was not declared in this scope
source/linux/main.cpp:1190: error: ‘screen’ was not declared in this scope
source/linux/main.cpp:1237: error: ‘exit’ is not a member of ‘std’
source/linux/main.cpp:1242: error: ‘SDL_ShowCursor’ was not declared in this scope
source/linux/main.cpp: In function ‘void LoadGame(const char*)’:
source/linux/main.cpp:1347: error: ‘malloc’ was not declared in this scope
source/linux/main.cpp:1353: error: ‘free’ was not declared in this scope
source/linux/main.cpp:1399: error: ‘free’ was not declared in this scope
source/linux/main.cpp:1348: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
make: *** [objs/linux/main.o] Fehler 1
der Quellcode stammt von http://downloads.sourceforge.net/project/nestopia/Nestopia/v1.37/Nestopia137src.zip und http://rbelmont.mameworld.info/nst137_lnx_preview_5.zip