+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xm8-1.70nb8/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xm8-1.70nb8/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for xm8-1.70nb8 g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DSDL -D_PC8801MA -c -Wall -I/opt/pkg/include/SDL2 -D_REENTRANT -I../UI -I../ePC-8801MA -I../ePC-8801MA/vm -I../ePC-8801MA/vm/pc8801 -I../ePC-8801MA/vm/fmgen ../UI/app.cpp -o ../UI/app.o In file included from ../UI/app.cpp:16: ../UI/emu_sdl.h:44:26: error: '_MAX_PATH' was not declared in this scope 44 | _TCHAR base_path[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/emu_sdl.h:46:26: error: '_MAX_PATH' was not declared in this scope 46 | _TCHAR bios_path[_MAX_PATH * 3]; | ^~~~~~~~~ In file included from ../ePC-8801MA/emu.h:14, from ../UI/app.cpp:17: ../ePC-8801MA/config.h:96:33: error: '_MAX_PATH' was not declared in this scope 96 | _TCHAR initial_disk_dir[_MAX_PATH]; | ^~~~~~~~~ ../ePC-8801MA/config.h:97:54: error: '_MAX_PATH' was not declared in this scope 97 | _TCHAR recent_disk_path[MAX_FD][MAX_HISTORY][_MAX_PATH]; | ^~~~~~~~~ ../ePC-8801MA/config.h:104:33: error: '_MAX_PATH' was not declared in this scope 104 | _TCHAR initial_tape_dir[_MAX_PATH]; | ^~~~~~~~~ ../ePC-8801MA/config.h:105:46: error: '_MAX_PATH' was not declared in this scope 105 | _TCHAR recent_tape_path[MAX_HISTORY][_MAX_PATH]; | ^~~~~~~~~ ../ePC-8801MA/config.h:140:31: error: '_MAX_PATH' was not declared in this scope 140 | _TCHAR fmgen_dll_path[_MAX_PATH]; | ^~~~~~~~~ In file included from ../ePC-8801MA/vm/fmgen/opna.h:11, from ../ePC-8801MA/vm/fmsound.h:16, from ../UI/app.cpp:21: ../ePC-8801MA/vm/fmgen/fmgen.h:188:29: error: variable or field '__stdcall' declared void 188 | friend void __stdcall FM_NextPhase(Operator* op); | ^~~~~~~~~ ../ePC-8801MA/vm/fmgen/fmgen.h:188:29: error: expected ';' at end of member declaration 188 | friend void __stdcall FM_NextPhase(Operator* op); | ^~~~~~~~~ | ; ../ePC-8801MA/vm/fmgen/fmgen.h:188:39: error: ISO C++ forbids declaration of 'FM_NextPhase' with no type [-fpermissive] 188 | friend void __stdcall FM_NextPhase(Operator* op); | ^~~~~~~~~~~~ In file included from ../UI/app.cpp:22: ../ePC-8801MA/vm/pc8801/pc88.h:238:30: error: '_MAX_PATH' was not declared in this scope 238 | _TCHAR rec_file_path[_MAX_PATH]; | ^~~~~~~~~ In file included from ../UI/app.cpp:23: ../UI/setting.h:102:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 102 | Uint32 GetDip(); | ^~~~~~ | uint32 ../UI/setting.h:106:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 106 | Uint32 GetSystems(); | ^~~~~~ | uint32 ../UI/setting.h:122:9: error: 'Uint8' does not name a type; did you mean 'uint8'? 122 | Uint8 GetBrightness(); | ^~~~~ | uint8 ../UI/setting.h:124:28: error: 'Uint8' has not been declared 124 | void SetBrightness(Uint8 bri); | ^~~~~ ../UI/setting.h:126:9: error: 'Uint8' does not name a type; did you mean 'uint8'? 126 | Uint8 GetMenuAlpha(); | ^~~~~ | uint8 ../UI/setting.h:140:9: error: 'Uint8' does not name a type; did you mean 'uint8'? 140 | Uint8 GetStatusAlpha(); | ^~~~~ | uint8 ../UI/setting.h:142:29: error: 'Uint8' has not been declared 142 | void SetStatusAlpha(Uint8 alpha); | ^~~~~ ../UI/setting.h:184:9: error: 'Uint8' does not name a type; did you mean 'uint8'? 184 | Uint8 GetSoftKeyAlpha(); | ^~~~~ | uint8 ../UI/setting.h:186:30: error: 'Uint8' has not been declared 186 | void SetSoftKeyAlpha(Uint8 alpha); | ^~~~~ ../UI/setting.h:188:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 188 | Uint32 GetSoftKeyTime(); | ^~~~~~ | uint32 ../UI/setting.h:190:29: error: 'Uint32' has not been declared 190 | void SetSoftKeyTime(Uint32 ms); | ^~~~~~ ../UI/setting.h:204:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 204 | Uint32 GetMouseTime(); | ^~~~~~ | uint32 ../UI/setting.h:206:27: error: 'Uint32' has not been declared 206 | void SetMouseTime(Uint32 ms); | ^~~~~~ ../UI/setting.h:212:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 212 | Uint32 GetJoystickToKey(int button); | ^~~~~~ | uint32 ../UI/setting.h:214:43: error: 'Uint32' has not been declared 214 | void SetJoystickToKey(int button, Uint32 data); | ^~~~~~ ../UI/setting.h:236:26: error: '_MAX_PATH' was not declared in this scope 236 | char setting_dir[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/setting.h:238:27: error: '_MAX_PATH' was not declared in this scope 238 | char setting_path[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/setting.h:244:9: error: 'Uint8' does not name a type; did you mean 'uint8'? 244 | Uint8 brightness; | ^~~~~ | uint8 ../UI/setting.h:250:9: error: 'Uint8' does not name a type; did you mean 'uint8'? 250 | Uint8 softkey_alpha; | ^~~~~ | uint8 ../UI/setting.h:252:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 252 | Uint32 softkey_time; | ^~~~~~ | uint32 ../UI/setting.h:260:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 260 | Uint32 mouse_time; | ^~~~~~ | uint32 ../UI/setting.h:266:9: error: 'Uint8' does not name a type; did you mean 'uint8'? 266 | Uint8 status_alpha; | ^~~~~ | uint8 In file included from ../UI/app.cpp:24: ../UI/platform.h:26:19: error: 'SDL_Window' has not been declared 26 | bool Init(SDL_Window *window); | ^~~~~~~~~~ ../UI/platform.h:32:48: error: 'Uint32' has not been declared 32 | const char* FindFirst(const char *dir, Uint32 *info); | ^~~~~~ ../UI/platform.h:34:30: error: 'Uint32' has not been declared 34 | const char* FindNext(Uint32 *info); | ^~~~~~ ../UI/platform.h:36:20: error: 'Uint32' has not been declared 36 | bool IsDir(Uint32 info); | ^~~~~~ ../UI/platform.h:46:21: error: 'SDL_Window' has not been declared 46 | void MsgBox(SDL_Window *window, const char *string); | ^~~~~~~~~~ In file included from ../UI/app.cpp:25: ../UI/video.h:26:19: error: 'SDL_Window' has not been declared 26 | bool Init(SDL_Window *win); | ^~~~~~~~~~ ../UI/video.h:46:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 46 | Uint32* GetMenuFrame(); | ^~~~~~ | uint32 ../UI/video.h:50:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 50 | Uint32* GetSoftKeyFrame(); | ^~~~~~ | uint32 ../UI/video.h:62:27: error: 'Uint32' has not been declared 62 | void SetFrameRate(Uint32 rate); | ^~~~~~ ../UI/video.h:64:28: error: 'Uint32' has not been declared 64 | void SetSystemInfo(Uint32 info); | ^~~~~~ ../UI/video.h:102:27: error: 'SDL_Texture' has not been declared 102 | void CopyFrameBuf(SDL_Texture *texture, Uint32 *src, int height, int top = 0); | ^~~~~~~~~~~ ../UI/video.h:102:49: error: 'Uint32' has not been declared 102 | void CopyFrameBuf(SDL_Texture *texture, Uint32 *src, int height, int top = 0); | ^~~~~~ ../UI/video.h:136:9: error: 'SDL_Rect' does not name a type 136 | SDL_Rect draw_rect; | ^~~~~~~~ ../UI/video.h:138:9: error: 'SDL_Rect' does not name a type 138 | SDL_Rect status_rect; | ^~~~~~~~ ../UI/video.h:140:9: error: 'SDL_Rect' does not name a type 140 | SDL_Rect clear_rect[2]; | ^~~~~~~~ ../UI/video.h:142:9: error: 'Uint8' does not name a type; did you mean 'uint8'? 142 | Uint8 brightness; | ^~~~~ | uint8 ../UI/video.h:146:9: error: 'Uint8' does not name a type; did you mean 'uint8'? 146 | Uint8 softkey_mod; | ^~~~~ | uint8 ../UI/video.h:150:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 150 | Uint32 status_alpha; | ^~~~~~ | uint32 ../UI/video.h:166:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 166 | Uint32 frame_rate[2]; | ^~~~~~ | uint32 ../UI/video.h:170:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 170 | Uint32 system_info[2]; | ^~~~~~ | uint32 ../UI/video.h:182:9: error: 'SDL_Window' does not name a type 182 | SDL_Window *window; | ^~~~~~~~~~ ../UI/video.h:184:9: error: 'SDL_Renderer' does not name a type 184 | SDL_Renderer *renderer; | ^~~~~~~~~~~~ ../UI/video.h:186:9: error: 'SDL_Texture' does not name a type 186 | SDL_Texture *draw_texture; | ^~~~~~~~~~~ ../UI/video.h:188:9: error: 'SDL_Texture' does not name a type 188 | SDL_Texture *menu_texture; | ^~~~~~~~~~~ ../UI/video.h:190:9: error: 'SDL_Texture' does not name a type 190 | SDL_Texture *softkey_texture; | ^~~~~~~~~~~ ../UI/video.h:192:9: error: 'SDL_Texture' does not name a type 192 | SDL_Texture *status_texture; | ^~~~~~~~~~~ In file included from ../UI/app.cpp:26: ../UI/audio.h:60:19: error: 'Uint8' has not been declared 60 | int Write(Uint8 *stream, int len); | ^~~~~ ../UI/audio.h:62:52: error: 'Uint8' has not been declared 62 | static void CommonCallback(void *userdata, Uint8 *stream, int len); | ^~~~~ ../UI/audio.h:64:23: error: 'Uint8' has not been declared 64 | void Callback(Uint8 *steram, int len); | ^~~~~ ../UI/audio.h:70:9: error: 'SDL_sem' does not name a type 70 | SDL_sem *audio_sem; | ^~~~~~~ ../UI/audio.h:76:9: error: 'SDL_AudioDeviceID' does not name a type 76 | SDL_AudioDeviceID device_id; | ^~~~~~~~~~~~~~~~~ ../UI/audio.h:78:9: error: 'SDL_AudioSpec' does not name a type 78 | SDL_AudioSpec device_spec; | ^~~~~~~~~~~~~ ../UI/audio.h:84:9: error: 'Uint8' does not name a type; did you mean 'uint8'? 84 | Uint8 *sample_buffer; | ^~~~~ | uint8 In file included from ../UI/app.cpp:27: ../UI/font.h:26:19: error: 'SDL_Window' has not been declared 26 | bool Init(SDL_Window *win); | ^~~~~~~~~~ ../UI/font.h:32:9: error: 'Uint8' does not name a type; did you mean 'uint8'? 32 | Uint8 GetROMVersion(int offset); | ^~~~~ | uint8 ../UI/font.h:36:23: error: 'Uint32' has not been declared 36 | void DrawRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore, Uint32 back); | ^~~~~~ ../UI/font.h:36:36: error: 'SDL_Rect' has not been declared 36 | void DrawRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore, Uint32 back); | ^~~~~~~~ ../UI/font.h:36:52: error: 'Uint32' has not been declared 36 | void DrawRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore, Uint32 back); | ^~~~~~ ../UI/font.h:36:65: error: 'Uint32' has not been declared 36 | void DrawRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore, Uint32 back); | ^~~~~~ ../UI/font.h:38:27: error: 'Uint32' has not been declared 38 | void DrawFillRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore); | ^~~~~~ ../UI/font.h:38:40: error: 'SDL_Rect' has not been declared 38 | void DrawFillRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore); | ^~~~~~~~ ../UI/font.h:38:56: error: 'Uint32' has not been declared 38 | void DrawFillRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore); | ^~~~~~ ../UI/font.h:40:27: error: 'Uint32' has not been declared 40 | void DrawHalfRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore, Uint32 back); | ^~~~~~ ../UI/font.h:40:40: error: 'SDL_Rect' has not been declared 40 | void DrawHalfRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore, Uint32 back); | ^~~~~~~~ ../UI/font.h:40:56: error: 'Uint32' has not been declared 40 | void DrawHalfRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore, Uint32 back); | ^~~~~~ ../UI/font.h:40:69: error: 'Uint32' has not been declared 40 | void DrawHalfRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore, Uint32 back); | ^~~~~~ ../UI/font.h:42:31: error: 'Uint32' has not been declared 42 | void DrawSjisCenterOr(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:42:44: error: 'SDL_Rect' has not been declared 42 | void DrawSjisCenterOr(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~~~ ../UI/font.h:42:80: error: 'Uint32' has not been declared 42 | void DrawSjisCenterOr(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:44:29: error: 'Uint32' has not been declared 44 | void DrawSjisLeftOr(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:44:42: error: 'SDL_Rect' has not been declared 44 | void DrawSjisLeftOr(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~~~ ../UI/font.h:44:78: error: 'Uint32' has not been declared 44 | void DrawSjisLeftOr(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:46:29: error: 'Uint32' has not been declared 46 | void DrawSjisBoldOr(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:46:42: error: 'SDL_Rect' has not been declared 46 | void DrawSjisBoldOr(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~~~ ../UI/font.h:46:78: error: 'Uint32' has not been declared 46 | void DrawSjisBoldOr(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:48:30: error: 'Uint32' has not been declared 48 | void DrawSoftKeyRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore, Uint32 inside); | ^~~~~~ ../UI/font.h:48:43: error: 'SDL_Rect' has not been declared 48 | void DrawSoftKeyRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore, Uint32 inside); | ^~~~~~~~ ../UI/font.h:48:59: error: 'Uint32' has not been declared 48 | void DrawSoftKeyRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore, Uint32 inside); | ^~~~~~ ../UI/font.h:48:72: error: 'Uint32' has not been declared 48 | void DrawSoftKeyRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore, Uint32 inside); | ^~~~~~ ../UI/font.h:50:28: error: 'Uint32' has not been declared 50 | void DrawSoftKey1x(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:50:41: error: 'SDL_Rect' has not been declared 50 | void DrawSoftKey1x(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~~~ ../UI/font.h:50:77: error: 'Uint32' has not been declared 50 | void DrawSoftKey1x(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:52:31: error: 'Uint32' has not been declared 52 | void DrawSoftKey1xSub(Uint32 *buf, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:52:64: error: 'Uint32' has not been declared 52 | void DrawSoftKey1xSub(Uint32 *buf, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:54:28: error: 'Uint32' has not been declared 54 | void DrawSoftKey4x(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:54:41: error: 'SDL_Rect' has not been declared 54 | void DrawSoftKey4x(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~~~ ../UI/font.h:54:77: error: 'Uint32' has not been declared 54 | void DrawSoftKey4x(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:56:32: error: 'Uint32' has not been declared 56 | void DrawAnk9xCenterOr(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:56:45: error: 'SDL_Rect' has not been declared 56 | void DrawAnk9xCenterOr(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~~~ ../UI/font.h:56:81: error: 'Uint32' has not been declared 56 | void DrawAnk9xCenterOr(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:58:26: error: 'Uint32' has not been declared 58 | void DrawAnkHalf(Uint32 *buf, const char *string, Uint32 fore, Uint32 back); | ^~~~~~ ../UI/font.h:58:59: error: 'Uint32' has not been declared 58 | void DrawAnkHalf(Uint32 *buf, const char *string, Uint32 fore, Uint32 back); | ^~~~~~ ../UI/font.h:58:72: error: 'Uint32' has not been declared 58 | void DrawAnkHalf(Uint32 *buf, const char *string, Uint32 fore, Uint32 back); | ^~~~~~ ../UI/font.h:60:29: error: 'Uint32' has not been declared 60 | void DrawAnkQuarter(Uint32 *buf, char ch, Uint32 fore, Uint32 back); | ^~~~~~ ../UI/font.h:60:51: error: 'Uint32' has not been declared 60 | void DrawAnkQuarter(Uint32 *buf, char ch, Uint32 fore, Uint32 back); | ^~~~~~ ../UI/font.h:60:64: error: 'Uint32' has not been declared 60 | void DrawAnkQuarter(Uint32 *buf, char ch, Uint32 fore, Uint32 back); | ^~~~~~ ../UI/font.h:66:9: error: 'SDL_Window' does not name a type 66 | SDL_Window *window; | ^~~~~~~~~~ ../UI/font.h:72:24: error: 'Uint8' has not been declared 72 | int GetAnkAddr(Uint8 ank); | ^~~~~ ../UI/font.h:74:28: error: 'Uint8' has not been declared 74 | int GetAnkHalfAddr(Uint8 ank); | ^~~~~ ../UI/font.h:76:31: error: 'Uint8' has not been declared 76 | int GetAnkQuarterAddr(Uint8 ank); | ^~~~~ ../UI/font.h:78:26: error: 'Uint16' has not been declared 78 | int GetKanjiAddr(Uint16 sjis); | ^~~~~~ ../UI/font.h:80:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 80 | Uint32 SjisToJis(Uint32 sjis); | ^~~~~~ | uint32 ../UI/font.h:82:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 82 | Uint32 JisToOffset(Uint32 jis); | ^~~~~~ | uint32 ../UI/font.h:86:9: error: 'Uint8' does not name a type; did you mean 'uint8'? 86 | Uint8 kanji_rom[0x40000]; | ^~~~~ | uint8 ../UI/font.h:88:9: error: 'Uint8' does not name a type; did you mean 'uint8'? 88 | Uint8 rom_version[4]; | ^~~~~ | uint8 ../UI/font.h:90:26: error: '_MAX_PATH' was not declared in this scope 90 | char rom_message[_MAX_PATH * 3]; | ^~~~~~~~~ In file included from ../UI/input.h:16, from ../UI/app.cpp:28: ../UI/softkey.h:65:17: error: 'SDL_Scancode' does not name a type 65 | SDL_Scancode code; | ^~~~~~~~~~~~ ../UI/softkey.h:84:20: error: 'Uint32' has not been declared 84 | void Shift(Uint32 shift); | ^~~~~~ ../UI/softkey.h:133:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 133 | Uint32 *frame_buf; | ^~~~~~ | uint32 ../UI/softkey.h:135:9: error: 'SDL_Rect' does not name a type 135 | SDL_Rect key_rect; | ^~~~~~~~ ../UI/input.h:62:27: error: 'SDL_Scancode' has not been declared 62 | bool GetKeyStatus(SDL_Scancode code); | ^~~~~~~~~~~~ ../UI/input.h:64:26: error: 'Uint32' has not been declared 64 | void GetJoystick(Uint32 *status); | ^~~~~~ ../UI/input.h:70:35: error: 'SDL_Scancode' has not been declared 70 | void OnKeyDown(bool soft, SDL_Scancode code); | ^~~~~~~~~~~~ ../UI/input.h:72:33: error: 'SDL_Scancode' has not been declared 72 | void OnKeyUp(bool soft, SDL_Scancode code); | ^~~~~~~~~~~~ ../UI/input.h:74:28: error: 'SDL_Event' has not been declared 74 | void OnMouseMotion(SDL_Event *e); | ^~~~~~~~~ ../UI/input.h:76:32: error: 'SDL_Event' has not been declared 76 | void OnMouseButtonDown(SDL_Event *e); | ^~~~~~~~~ ../UI/input.h:78:30: error: 'SDL_Event' has not been declared 78 | void OnMouseButtonUp(SDL_Event *e); | ^~~~~~~~~ ../UI/input.h:80:27: error: 'SDL_Event' has not been declared 80 | void OnMouseWheel(SDL_Event *e); | ^~~~~~~~~ ../UI/input.h:84:27: error: 'SDL_Event' has not been declared 84 | void OnFingerDown(SDL_Event *e); | ^~~~~~~~~ ../UI/input.h:86:25: error: 'SDL_Event' has not been declared 86 | void OnFingerUp(SDL_Event *e); | ^~~~~~~~~ ../UI/input.h:88:29: error: 'SDL_Event' has not been declared 88 | void OnFingerMotion(SDL_Event *e); | ^~~~~~~~~ ../UI/input.h:96:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 96 | Uint32 GetKeyShift(); | ^~~~~~ | uint32 ../UI/input.h:124:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 124 | Uint32 key_tick; | ^~~~~~ | uint32 ../UI/input.h:126:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 126 | Uint32 key_shift; | ^~~~~~ | uint32 ../UI/input.h:128:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 128 | Uint32 menu_delay; | ^~~~~~ | uint32 ../UI/input.h:130:9: error: 'SDL_Joystick' does not name a type 130 | SDL_Joystick **joystick; | ^~~~~~~~~~~~ ../UI/input.h:134:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 134 | Uint32 joystick_prev; | ^~~~~~ | uint32 ../UI/input.h:136:9: error: 'Uint8' does not name a type; did you mean 'uint8'? 136 | Uint8 key_status[0x100]; | ^~~~~ | uint8 ../UI/input.h:138:9: error: 'Uint8' does not name a type; did you mean 'uint8'? 138 | Uint8 key_buf[0x100]; | ^~~~~ | uint8 ../UI/input.h:140:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 140 | Uint32 key_table[0x120]; | ^~~~~~ | uint32 ../UI/input.h:142:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 142 | Uint32 key_soft_make_tick[0x120]; | ^~~~~~ | uint32 ../UI/input.h:146:22: error: 'Uint32' does not name a type; did you mean 'uint32'? 146 | static const Uint32 key_base[0x120]; | ^~~~~~ | uint32 ../UI/input.h:148:22: error: 'Uint32' does not name a type; did you mean 'uint32'? 148 | static const Uint32 joystick_button[15 * 2]; | ^~~~~~ | uint32 In file included from ../UI/app.cpp:29: ../UI/converter.h:38:9: error: 'Uint16' does not name a type; did you mean 'uint16'? 38 | Uint16 *ucs_table; | ^~~~~~ | uint16 ../UI/converter.h:40:22: error: 'Uint16' does not name a type; did you mean 'uint16'? 40 | static const Uint16 sjis_table[0x30 * 0xc0]; | ^~~~~~ | uint16 In file included from ../UI/app.cpp:30: ../UI/menu.h:120:24: error: 'SDL_Event' has not been declared 120 | void OnKeyDown(SDL_Event *e); | ^~~~~~~~~ ../UI/menu.h:122:28: error: 'SDL_Event' has not been declared 122 | void OnMouseMotion(SDL_Event *e); | ^~~~~~~~~ ../UI/menu.h:124:32: error: 'SDL_Event' has not been declared 124 | void OnMouseButtonDown(SDL_Event *e); | ^~~~~~~~~ ../UI/menu.h:126:30: error: 'SDL_Event' has not been declared 126 | void OnMouseButtonUp(SDL_Event *e); | ^~~~~~~~~ ../UI/menu.h:128:27: error: 'SDL_Event' has not been declared 128 | void OnMouseWheel(SDL_Event *e); | ^~~~~~~~~ ../UI/menu.h:132:27: error: 'SDL_Event' has not been declared 132 | void OnFingerDown(SDL_Event *e); | ^~~~~~~~~ ../UI/menu.h:134:25: error: 'SDL_Event' has not been declared 134 | void OnFingerUp(SDL_Event *e); | ^~~~~~~~~ ../UI/menu.h:136:29: error: 'SDL_Event' has not been declared 136 | void OnFingerMotion(SDL_Event *e); | ^~~~~~~~~ ../UI/menu.h:162:23: error: '_MAX_PATH' was not declared in this scope 162 | char file_dir[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/menu.h:164:26: error: '_MAX_PATH' was not declared in this scope 164 | char file_target[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/menu.h:166:26: error: '_MAX_PATH' was not declared in this scope 166 | char file_expect[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/menu.h:176:22: error: 'Uint32' does not name a type; did you mean 'uint32'? 176 | static const Uint32 joytest_table[15 * 2]; | ^~~~~~ | uint32 In file included from ../UI/app.cpp:32: ../UI/diskmgr.h:88:19: error: '_MAX_PATH' was not declared in this scope 88 | char path[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/diskmgr.h:90:18: error: '_MAX_PATH' was not declared in this scope 90 | char dir[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/diskmgr.h:92:25: error: '_MAX_PATH' was not declared in this scope 92 | char state_path[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/diskmgr.h:100:9: error: 'Uint8' does not name a type; did you mean 'uint8'? 100 | Uint8 *wp_list; | ^~~~~ | uint8 ../UI/diskmgr.h:106:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 106 | Uint32 signal; | ^~~~~~ | uint32 In file included from ../UI/app.cpp:33: ../UI/tapemgr.h:62:19: error: '_MAX_PATH' was not declared in this scope 62 | char path[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/tapemgr.h:64:18: error: '_MAX_PATH' was not declared in this scope 64 | char dir[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/tapemgr.h:66:25: error: '_MAX_PATH' was not declared in this scope 66 | char state_path[_MAX_PATH * 3]; | ^~~~~~~~~ In file included from ../UI/app.cpp:37: ../UI/app.h:78:22: error: 'SDL_Scancode' has not been declared 78 | void OnKeyVM(SDL_Scancode code); | ^~~~~~~~~~~~ ../UI/app.h:80:23: error: 'Uint8' has not been declared 80 | void GetKeyVM(Uint8 *buf); | ^~~~~ ../UI/app.h:82:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 82 | Uint32 GetKeyCode(Uint32 port, Uint32 bit); | ^~~~~~ | uint32 ../UI/app.h:108:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 108 | Uint32 GetAppVersion(); | ^~~~~~ | uint32 ../UI/app.h:132:19: error: 'SDL_Event' has not been declared 132 | void Poll(SDL_Event *e); | ^~~~~~~~~ ../UI/app.h:134:23: error: 'SDL_Event' has not been declared 134 | void OnWindow(SDL_Event *e); | ^~~~~~~~~ ../UI/app.h:136:24: error: 'SDL_Event' has not been declared 136 | void OnKeyDown(SDL_Event *e); | ^~~~~~~~~ ../UI/app.h:138:22: error: 'SDL_Event' has not been declared 138 | void OnKeyUp(SDL_Event *e); | ^~~~~~~~~ ../UI/app.h:140:25: error: 'SDL_Event' has not been declared 140 | void OnDropFile(SDL_Event *e); | ^~~~~~~~~ ../UI/app.h:154:9: error: 'SDL_sem' does not name a type 154 | SDL_sem *vm_sem; | ^~~~~~~ ../UI/app.h:158:9: error: 'SDL_Window' does not name a type 158 | SDL_Window *window; | ^~~~~~~~~~ ../UI/app.h:218:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 218 | Uint32 draw_tick[0x40]; | ^~~~~~ | uint32 ../UI/app.h:220:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 220 | Uint32 draw_tick_count; | ^~~~~~ | uint32 ../UI/app.h:226:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 226 | Uint32 mouse_tick; | ^~~~~~ | uint32 ../UI/app.h:230:9: error: 'Uint32' does not name a type; did you mean 'uint32'? 230 | Uint32 system_info; | ^~~~~~ | uint32 ../UI/app.h:234:25: error: '_MAX_PATH' was not declared in this scope 234 | char state_path[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/app.h:242:9: error: 'Uint8' does not name a type; did you mean 'uint8'? 242 | Uint8 *audio_param; | ^~~~~ | uint8 ../UI/app.cpp: In constructor 'App::App()': ../UI/app.cpp:87:20: error: 'SDL_arraysize' was not declared in this scope 87 | SDL_assert(SDL_arraysize(diskmgr) == MAX_DRIVE); | ^~~~~~~~~~~~~ ../UI/app.cpp:87:9: error: 'SDL_assert' was not declared in this scope 87 | SDL_assert(SDL_arraysize(diskmgr) == MAX_DRIVE); | ^~~~~~~~~~ ../UI/app.cpp:90:9: error: 'vm_sem' was not declared in this scope 90 | vm_sem = NULL; | ^~~~~~ ../UI/app.cpp:92:9: error: 'window' was not declared in this scope; did you mean 'OnWindow'? 92 | window = NULL; | ^~~~~~ | OnWindow ../UI/app.cpp:125:16: error: 'draw_tick' was not declared in this scope 125 | memset(draw_tick, 0, sizeof(draw_tick)); | ^~~~~~~~~ ../UI/app.cpp:126:9: error: 'draw_tick_count' was not declared in this scope; did you mean 'draw_tick_point'? 126 | draw_tick_count = 0; | ^~~~~~~~~~~~~~~ | draw_tick_point ../UI/app.cpp:130:9: error: 'mouse_tick' was not declared in this scope 130 | mouse_tick = 0; | ^~~~~~~~~~ ../UI/app.cpp:133:9: error: 'system_info' was not declared in this scope 133 | system_info = 0; | ^~~~~~~~~~~ ../UI/app.cpp:136:9: error: 'state_path' was not declared in this scope 136 | state_path[0] = '\0'; | ^~~~~~~~~~ ../UI/app.cpp:139:9: error: 'audio_param' was not declared in this scope 139 | audio_param = NULL; | ^~~~~~~~~~~ ../UI/app.cpp: In member function 'bool App::Init()': ../UI/app.cpp:172:16: error: 'SDL_GetPlatform' was not declared in this scope; did you mean 'GetPlatform'? 172 | name = SDL_GetPlatform(); | ^~~~~~~~~~~~~~~ | GetPlatform ../UI/app.cpp:184:17: error: 'vm_sem' was not declared in this scope 184 | vm_sem = SDL_CreateSemaphore(1); | ^~~~~~ ../UI/app.cpp:184:26: error: 'SDL_CreateSemaphore' was not declared in this scope 184 | vm_sem = SDL_CreateSemaphore(1); | ^~~~~~~~~~~~~~~~~~~ ../UI/app.cpp:199:21: error: 'SDL_HINT_RENDER_SCALE_QUALITY' was not declared in this scope 199 | SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, setting->GetScaleQuality()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../UI/app.cpp:199:9: error: 'SDL_SetHint' was not declared in this scope 199 | SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, setting->GetScaleQuality()); | ^~~~~~~~~~~ ../UI/app.cpp:212:9: error: 'window' was not declared in this scope; did you mean 'OnWindow'? 212 | window = SDL_CreateWindow( GetAppTitle(), | ^~~~~~ | OnWindow ../UI/app.cpp:213:65: error: 'SDL_WINDOWPOS_UNDEFINED' was not declared in this scope 213 | SDL_WINDOWPOS_UNDEFINED, | ^~~~~~~~~~~~~~~~~~~~~~~ ../UI/app.cpp:217:65: error: 'SDL_WINDOW_SHOWN' was not declared in this scope 217 | SDL_WINDOW_SHOWN | SDL_WINDOW_INPUT_FOCUS | SDL_WINDOW_MOUSE_FOCUS); | ^~~~~~~~~~~~~~~~ ../UI/app.cpp:217:84: error: 'SDL_WINDOW_INPUT_FOCUS' was not declared in this scope 217 | SDL_WINDOW_SHOWN | SDL_WINDOW_INPUT_FOCUS | SDL_WINDOW_MOUSE_FOCUS); | ^~~~~~~~~~~~~~~~~~~~~~ ../UI/app.cpp:217:109: error: 'SDL_WINDOW_MOUSE_FOCUS' was not declared in this scope 217 | SDL_WINDOW_SHOWN | SDL_WINDOW_INPUT_FOCUS | SDL_WINDOW_MOUSE_FOCUS); | ^~~~~~~~~~~~~~~~~~~~~~ ../UI/app.cpp:212:18: error: 'SDL_CreateWindow' was not declared in this scope 212 | window = SDL_CreateWindow( GetAppTitle(), | ^~~~~~~~~~~~~~~~ ../UI/app.cpp:224:24: error: 'SDL_DROPFILE' was not declared in this scope 224 | SDL_EventState(SDL_DROPFILE, SDL_ENABLE); | ^~~~~~~~~~~~ ../UI/app.cpp:224:38: error: 'SDL_ENABLE' was not declared in this scope 224 | SDL_EventState(SDL_DROPFILE, SDL_ENABLE); | ^~~~~~~~~~ ../UI/app.cpp:224:9: error: 'SDL_EventState' was not declared in this scope 224 | SDL_EventState(SDL_DROPFILE, SDL_ENABLE); | ^~~~~~~~~~~~~~ ../UI/app.cpp:247:9: error: 'audio_param' was not declared in this scope 247 | audio_param = (Uint8*)SDL_malloc(sizeof(Audio::OpenParam)); | ^~~~~~~~~~~ ../UI/app.cpp:247:24: error: 'Uint8' was not declared in this scope; did you mean 'uint8'? 247 | audio_param = (Uint8*)SDL_malloc(sizeof(Audio::OpenParam)); | ^~~~~ | uint8 ../UI/app.cpp:247:30: error: expected primary-expression before ')' token 247 | audio_param = (Uint8*)SDL_malloc(sizeof(Audio::OpenParam)); | ^ ../UI/app.cpp:333:9: error: 'SDL_GetWindowSize' was not declared in this scope 333 | SDL_GetWindowSize(window, &width, &height); | ^~~~~~~~~~~~~~~~~ ../UI/app.cpp:337:27: error: 'SDL_arraysize' was not declared in this scope 337 | for (loop=0; loop<SDL_arraysize(power_level); loop++) { | ^~~~~~~~~~~~~ ../UI/app.cpp:352:9: error: 'mouse_tick' was not declared in this scope 352 | mouse_tick = SDL_GetTicks(); | ^~~~~~~~~~ ../UI/app.cpp:352:22: error: 'SDL_GetTicks' was not declared in this scope 352 | mouse_tick = SDL_GetTicks(); | ^~~~~~~~~~~~ ../UI/app.cpp:353:9: error: 'SDL_ShowCursor' was not declared in this scope 353 | SDL_ShowCursor(SDL_ENABLE); | ^~~~~~~~~~~~~~ ../UI/app.cpp:356:9: error: 'system_info' was not declared in this scope 356 | system_info = setting->GetSystems(); | ^~~~~~~~~~~ ../UI/app.cpp:356:32: error: 'class Setting' has no member named 'GetSystems'; did you mean 'GetSystemMode'? 356 | system_info = setting->GetSystems(); | ^~~~~~~~~~ | GetSystemMode ../UI/app.cpp: In member function 'void App::Deinit()': ../UI/app.cpp:444:13: error: 'audio_param' was not declared in this scope 444 | if (audio_param != NULL) { | ^~~~~~~~~~~ ../UI/app.cpp:445:17: error: 'SDL_free' was not declared in this scope 445 | SDL_free(audio_param); | ^~~~~~~~ ../UI/app.cpp:470:13: error: 'window' was not declared in this scope; did you mean 'OnWindow'? 470 | if (window != NULL) { | ^~~~~~ | OnWindow ../UI/app.cpp:471:17: error: 'SDL_DestroyWindow' was not declared in this scope 471 | SDL_DestroyWindow(window); | ^~~~~~~~~~~~~~~~~ ../UI/app.cpp:489:13: error: 'vm_sem' was not declared in this scope 489 | if (vm_sem != NULL) { | ^~~~~~ ../UI/app.cpp:490:17: error: 'SDL_DestroySemaphore' was not declared in this scope 490 | SDL_DestroySemaphore(vm_sem); | ^~~~~~~~~~~~~~~~~~~~ ../UI/app.cpp: In member function 'Platform* App::GetPlatform()': ../UI/app.cpp:501:9: error: 'SDL_assert' was not declared in this scope 501 | SDL_assert(platform != NULL); | ^~~~~~~~~~ ../UI/app.cpp: In member function 'Setting* App::GetSetting()': ../UI/app.cpp:511:9: error: 'SDL_assert' was not declared in this scope 511 | SDL_assert(setting != NULL); | ^~~~~~~~~~ ../UI/app.cpp: In member function 'Video* App::GetVideo()': ../UI/app.cpp:521:9: error: 'SDL_assert' was not declared in this scope 521 | SDL_assert(video != NULL); | ^~~~~~~~~~ ../UI/app.cpp: In member function 'Font* App::GetFont()': ../UI/app.cpp:531:9: error: 'SDL_assert' was not declared in this scope 531 | SDL_assert(font != NULL); | ^~~~~~~~~~ ../UI/app.cpp: In member function 'Input* App::GetInput()': ../UI/app.cpp:541:9: error: 'SDL_assert' was not declared in this scope 541 | SDL_assert(input != NULL); | ^~~~~~~~~~ ../UI/app.cpp: In member function 'Converter* App::GetConverter()': ../UI/app.cpp:551:9: error: 'SDL_assert' was not declared in this scope 551 | SDL_assert(converter != NULL); | ^~~~~~~~~~ ../UI/app.cpp: In member function 'Menu* App::GetMenu()': ../UI/app.cpp:561:9: error: 'SDL_assert' was not declared in this scope 561 | SDL_assert(menu != NULL); | ^~~~~~~~~~ ../UI/app.cpp: In member function 'EMU_SDL* App::GetWrapper()': ../UI/app.cpp:571:9: error: 'SDL_assert' was not declared in this scope 571 | SDL_assert(wrapper != NULL); | ^~~~~~~~~~ ../UI/app.cpp: In member function 'EMU* App::GetEmu()': ../UI/app.cpp:581:9: error: 'SDL_assert' was not declared in this scope 581 | SDL_assert(emu != NULL); | ^~~~~~~~~~ ../UI/app.cpp: In member function 'DiskManager** App::GetDiskManager()': ../UI/app.cpp:591:9: error: 'SDL_assert' was not declared in this scope 591 | SDL_assert(diskmgr[MAX_DRIVE - 1] != NULL); | ^~~~~~~~~~ ../UI/app.cpp: In member function 'TapeManager* App::GetTapeManager()': ../UI/app.cpp:601:9: error: 'SDL_assert' was not declared in this scope 601 | SDL_assert(tapemgr != NULL); | ^~~~~~~~~~ ../UI/app.cpp: In member function 'void App::Run()': ../UI/app.cpp:612:9: error: 'SDL_Event' was not declared in this scope 612 | SDL_Event e; | ^~~~~~~~~ ../UI/app.cpp:615:9: error: 'Uint32' was not declared in this scope; did you mean 'uint32'? 615 | Uint32 begin; | ^~~~~~ | uint32 ../UI/app.cpp:616:15: error: expected ';' before 'add' 616 | Uint32 add; | ^~~~ | ; ../UI/app.cpp:617:15: error: expected ';' before 'total' 617 | Uint32 total; | ^~~~~~ | ; ../UI/app.cpp:618:15: error: expected ';' before 'diff' 618 | Uint32 diff; | ^~~~~ | ; ../UI/app.cpp:621:9: error: 'Uint8' was not declared in this scope; did you mean 'uint8'? 621 | Uint8 *buffer; | ^~~~~ | uint8 ../UI/app.cpp:621:16: error: 'buffer' was not declared in this scope; did you mean 'setbuffer'? 621 | Uint8 *buffer; | ^~~~~~ | setbuffer ../UI/app.cpp:629:9: error: 'begin' was not declared in this scope 629 | begin = SDL_GetTicks(); | ^~~~~ ../UI/app.cpp:629:17: error: 'SDL_GetTicks' was not declared in this scope 629 | begin = SDL_GetTicks(); | ^~~~~~~~~~~~ ../UI/app.cpp:633:9: error: 'add' was not declared in this scope 633 | add = (Uint32)ms_per_frame; | ^~~ ../UI/app.cpp:634:9: error: 'total' was not declared in this scope 634 | total = 0; | ^~~~~ ../UI/app.cpp:671:54: error: 'e' was not declared in this scope 671 | ret = SDL_WaitEvent(&e); | ^ ../UI/app.cpp:671:39: error: 'SDL_WaitEvent' was not declared in this scope 671 | ret = SDL_WaitEvent(&e); | ^~~~~~~~~~~~~ ../UI/app.cpp:676:69: error: 'e' was not declared in this scope 676 | ret = SDL_WaitEventTimeout(&e, SLEEP_MENU); | ^ ../UI/app.cpp:676:47: error: 'SDL_WaitEventTimeout' was not declared in this scope 676 | ret = SDL_WaitEventTimeout(&e, SLEEP_MENU); | ^~~~~~~~~~~~~~~~~~~~ ../UI/app.cpp:680:69: error: 'e' was not declared in this scope 680 | ret = SDL_WaitEventTimeout(&e, SLEEP_POWERDOWN); | ^ ../UI/app.cpp:680:47: error: 'SDL_WaitEventTimeout' was not declared in this scope 680 | ret = SDL_WaitEventTimeout(&e, SLEEP_POWERDOWN); | ^~~~~~~~~~~~~~~~~~~~ ../UI/app.cpp:686:39: error: 'e' was not declared in this scope 686 | Poll(&e); | ^ ../UI/app.cpp:690:39: error: 'SDL_PollEvent' was not declared in this scope 690 | ret = SDL_PollEvent(&e); | ^~~~~~~~~~~~~ ../UI/app.cpp:707:25: error: 'draw_tick_count' was not declared in this scope; did you mean 'draw_tick_point'? 707 | draw_tick_count = 0; | ^~~~~~~~~~~~~~~ | draw_tick_point ../UI/app.cpp:717:25: error: 'diff' was not declared in this scope 717 | diff = 0; | ^~~~ ../UI/app.cpp:721:25: error: 'diff' was not declared in this scope 721 | diff = (SDL_GetTicks() - begin) << MS_SHIFT; | ^~~~ ../UI/app.cpp:727:25: error: 'diff' was not declared in this scope 727 | diff = (FORCE_SYNC << MS_SHIFT) + 1; | ^~~~ ../UI/app.cpp:730:21: error: 'diff' was not declared in this scope 730 | if (diff < 0x80000000) { | ^~~~ ../UI/app.cpp:746:21: error: 'diff' was not declared in this scope 746 | if (diff < 0x80000000) { | ^~~~ ../UI/app.cpp:754:41: error: expected primary-expression before ')' token 754 | buffer = (Uint8*)evmgr->create_sound32(&extra); | ^ ../UI/app.cpp:772:49: error: 'SDL_Delay' was not declared in this scope 772 | SDL_Delay(1); | ^~~~~~~~~ ../UI/app.cpp:802:46: error: 'e' was not declared in this scope 802 | ret = SDL_PollEvent(&e); | ^ ../UI/app.cpp:802:31: error: 'SDL_PollEvent' was not declared in this scope 802 | ret = SDL_PollEvent(&e); | ^~~~~~~~~~~~~ ../UI/app.cpp:823:25: error: 'diff' was not declared in this scope 823 | diff = 0; | ^~~~ ../UI/app.cpp:827:25: error: 'diff' was not declared in this scope 827 | diff = (SDL_GetTicks() - begin) << MS_SHIFT; | ^~~~ ../UI/app.cpp:833:30: error: 'diff' was not declared in this scope 833 | if ((diff <= total) || (run >= SKIP_FRAMES_MAX)) { | ^~~~ ../UI/app.cpp:850:49: error: 'draw_tick' was not declared in this scope 850 | draw_tick[draw_tick_point] = SDL_GetTicks(); | ^~~~~~~~~ ../UI/app.cpp:852:72: error: 'SDL_arraysize' was not declared in this scope 852 | if (draw_tick_point >= SDL_arraysize(draw_tick)) { | ^~~~~~~~~~~~~ ../UI/app.cpp:855:53: error: 'draw_tick_count' was not declared in this scope; did you mean 'draw_tick_point'? 855 | if (draw_tick_count < SDL_arraysize(draw_tick)) { | ^~~~~~~~~~~~~~~ | draw_tick_point ../UI/app.cpp:855:71: error: 'SDL_arraysize' was not declared in this scope 855 | if (draw_tick_count < SDL_arraysize(draw_tick)) { | ^~~~~~~~~~~~~ ../UI/app.cpp:872:29: error: 'diff' was not declared in this scope 872 | if (diff < total) { | ^~~~ ../UI/app.cpp:873:61: error: 'e' was not declared in this scope 873 | ret = SDL_WaitEventTimeout(&e, (total - diff) >> MS_SHIFT); | ^ ../UI/app.cpp:873:39: error: 'SDL_WaitEventTimeout' was not declared in this scope 873 | ret = SDL_WaitEventTimeout(&e, (total - diff) >> MS_SHIFT); | ^~~~~~~~~~~~~~~~~~~~ ../UI/app.cpp:879:46: error: 'SDL_PollEvent' was not declared in this scope 879 | ret= SDL_PollEvent(&e); | ^~~~~~~~~~~~~ ../UI/app.cpp:894:47: error: 'mouse_tick' was not declared in this scope 894 | if ((Uint32)(SDL_GetTicks() - mouse_tick) >= setting->GetMouseTime()) { | ^~~~~~~~~~ ../UI/app.cpp:894:71: error: 'class Setting' has no member named 'GetMouseTime'; did you mean 'SetMouseTime'? 894 | if ((Uint32)(SDL_GetTicks() - mouse_tick) >= setting->GetMouseTime()) { | ^~~~~~~~~~~~ | SetMouseTime ../UI/app.cpp:895:38: error: 'class Setting' has no member named 'GetMouseTime'; did you mean 'SetMouseTime'? 895 | if (setting->GetMouseTime() < MOUSE_INFINITE_TIME) { | ^~~~~~~~~~~~ | SetMouseTime ../UI/app.cpp:896:37: error: 'SDL_GetMouseState' was not declared in this scope 896 | if (SDL_GetMouseState(NULL, NULL) == 0) { | ^~~~~~~~~~~~~~~~~ ../UI/app.cpp:897:60: error: 'SDL_QUERY' was not declared in this scope 897 | if (SDL_ShowCursor(SDL_QUERY) == SDL_ENABLE) { | ^~~~~~~~~ ../UI/app.cpp:897:45: error: 'SDL_ShowCursor' was not declared in this scope 897 | if (SDL_ShowCursor(SDL_QUERY) == SDL_ENABLE) { | ^~~~~~~~~~~~~~ ../UI/app.cpp:897:74: error: 'SDL_ENABLE' was not declared in this scope 897 | if (SDL_ShowCursor(SDL_QUERY) == SDL_ENABLE) { | ^~~~~~~~~~ ../UI/app.cpp:898:64: error: 'SDL_DISABLE' was not declared in this scope; did you mean 'SS_DISABLE'? 898 | SDL_ShowCursor(SDL_DISABLE); | ^~~~~~~~~~~ | SS_DISABLE ../UI/app.cpp:910:25: error: 'SDL_Delay' was not declared in this scope 910 | SDL_Delay(0); | ^~~~~~~~~ ../UI/app.cpp: In member function 'void App::Draw()': ../UI/app.cpp:924:9: error: 'Uint32' was not declared in this scope; did you mean 'uint32'? 924 | Uint32 info; | ^~~~~~ | uint32 ../UI/app.cpp:927:15: error: expected ';' before 'urate' 927 | Uint32 urate; | ^~~~~~ | ; ../UI/app.cpp:930:9: error: 'info' was not declared in this scope 930 | info = setting->GetSystems(); | ^~~~ ../UI/app.cpp:930:25: error: 'class Setting' has no member named 'GetSystems'; did you mean 'GetSystemMode'? 930 | info = setting->GetSystems(); | ^~~~~~~~~~ | GetSystemMode ../UI/app.cpp:937:9: error: 'urate' was not declared in this scope; did you mean 'rate'? 937 | urate = 0; | ^~~~~ | rate ../UI/app.cpp:939:39: error: 'draw_tick' was not declared in this scope 939 | point = SDL_arraysize(draw_tick) - draw_tick_count; | ^~~~~~~~~ ../UI/app.cpp:939:25: error: 'SDL_arraysize' was not declared in this scope 939 | point = SDL_arraysize(draw_tick) - draw_tick_count; | ^~~~~~~~~~~~~ ../UI/app.cpp:939:52: error: 'draw_tick_count' was not declared in this scope; did you mean 'draw_tick_point'? 939 | point = SDL_arraysize(draw_tick) - draw_tick_count; | ^~~~~~~~~~~~~~~ | draw_tick_point ../UI/app.cpp: In member function 'void App::PowerMng()': ../UI/app.cpp:972:9: error: 'SDL_PowerState' was not declared in this scope 972 | SDL_PowerState state; | ^~~~~~~~~~~~~~ ../UI/app.cpp:977:35: error: 'SDL_arraysize' was not declared in this scope 977 | for (loop=0; loop<SDL_arraysize(power_level); loop++) { | ^~~~~~~~~~~~~ ../UI/app.cpp:998:9: error: 'state' was not declared in this scope; did you mean 'static'? 998 | state = SDL_GetPowerInfo(NULL, &pct); | ^~~~~ | static ../UI/app.cpp:998:17: error: 'SDL_GetPowerInfo' was not declared in this scope 998 | state = SDL_GetPowerInfo(NULL, &pct); | ^~~~~~~~~~~~~~~~ ../UI/app.cpp:1000:22: error: 'SDL_POWERSTATE_ON_BATTERY' was not declared in this scope 1000 | if (state != SDL_POWERSTATE_ON_BATTERY) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../UI/app.cpp:1002:35: error: 'SDL_arraysize' was not declared in this scope 1002 | for (loop=0; loop<SDL_arraysize(power_level); loop++) { | ^~~~~~~~~~~~~ ../UI/app.cpp:1010:38: error: 'SDL_arraysize' was not declared in this scope 1010 | if (power_pointer == SDL_arraysize(power_level)) { | ^~~~~~~~~~~~~ ../UI/app.cpp:1017:27: error: 'SDL_arraysize' was not declared in this scope 1017 | for (loop=0; loop<SDL_arraysize(power_level); loop++) { | ^~~~~~~~~~~~~ ../UI/app.cpp:1020:16: error: 'SDL_arraysize' was not declared in this scope 1020 | avg /= SDL_arraysize(power_level); | ^~~~~~~~~~~~~ ../UI/app.cpp: At global scope: ../UI/app.cpp:1081:6: error: variable or field 'Poll' declared void 1081 | void App::Poll(SDL_Event *e) | ^~~ ../UI/app.cpp:1081:16: error: 'SDL_Event' was not declared in this scope 1081 | void App::Poll(SDL_Event *e) | ^~~~~~~~~ ../UI/app.cpp:1081:27: error: 'e' was not declared in this scope 1081 | void App::Poll(SDL_Event *e) | ^ ../UI/app.cpp:1292:6: error: variable or field 'OnWindow' declared void 1292 | void App::OnWindow(SDL_Event *e) | ^~~ ../UI/app.cpp:1292:20: error: 'SDL_Event' was not declared in this scope 1292 | void App::OnWindow(SDL_Event *e) | ^~~~~~~~~ ../UI/app.cpp:1292:31: error: 'e' was not declared in this scope 1292 | void App::OnWindow(SDL_Event *e) | ^ ../UI/app.cpp:1421:6: error: variable or field 'OnKeyDown' declared void 1421 | void App::OnKeyDown(SDL_Event *e) | ^~~ ../UI/app.cpp:1421:21: error: 'SDL_Event' was not declared in this scope 1421 | void App::OnKeyDown(SDL_Event *e) | ^~~~~~~~~ ../UI/app.cpp:1421:32: error: 'e' was not declared in this scope 1421 | void App::OnKeyDown(SDL_Event *e) | ^ ../UI/app.cpp:1495:6: error: variable or field 'OnKeyUp' declared void 1495 | void App::OnKeyUp(SDL_Event *e) | ^~~ ../UI/app.cpp:1495:19: error: 'SDL_Event' was not declared in this scope 1495 | void App::OnKeyUp(SDL_Event *e) | ^~~~~~~~~ ../UI/app.cpp:1495:30: error: 'e' was not declared in this scope 1495 | void App::OnKeyUp(SDL_Event *e) | ^ ../UI/app.cpp:1545:6: error: variable or field 'OnDropFile' declared void 1545 | void App::OnDropFile(SDL_Event *e) | ^~~ ../UI/app.cpp:1545:22: error: 'SDL_Event' was not declared in this scope 1545 | void App::OnDropFile(SDL_Event *e) | ^~~~~~~~~ ../UI/app.cpp:1545:33: error: 'e' was not declared in this scope 1545 | void App::OnDropFile(SDL_Event *e) | ^ ../UI/app.cpp:1628:6: error: variable or field 'OnKeyVM' declared void 1628 | void App::OnKeyVM(SDL_Scancode code) | ^~~ ../UI/app.cpp:1628:19: error: 'SDL_Scancode' was not declared in this scope 1628 | void App::OnKeyVM(SDL_Scancode code) | ^~~~~~~~~~~~ ../UI/app.cpp:1645:6: error: variable or field 'GetKeyVM' declared void 1645 | void App::GetKeyVM(Uint8 *buf) | ^~~ ../UI/app.cpp:1645:20: error: 'Uint8' was not declared in this scope; did you mean 'uint8'? 1645 | void App::GetKeyVM(Uint8 *buf) | ^~~~~ | uint8 ../UI/app.cpp:1645:27: error: 'buf' was not declared in this scope 1645 | void App::GetKeyVM(Uint8 *buf) | ^~~ ../UI/app.cpp:1654:1: error: 'Uint32' does not name a type; did you mean 'uint32'? 1654 | Uint32 App::GetKeyCode(Uint32 port, Uint32 bit) | ^~~~~~ | uint32 ../UI/app.cpp: In member function 'void App::FullScreen()': ../UI/app.cpp:1670:39: error: 'window' was not declared in this scope; did you mean 'OnWindow'? 1670 | ret = SDL_SetWindowFullscreen(window, SDL_WINDOW_FULLSCREEN_DESKTOP); | ^~~~~~ | OnWindow ../UI/app.cpp:1670:47: error: 'SDL_WINDOW_FULLSCREEN_DESKTOP' was not declared in this scope 1670 | ret = SDL_SetWindowFullscreen(window, SDL_WINDOW_FULLSCREEN_DESKTOP); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../UI/app.cpp:1670:15: error: 'SDL_SetWindowFullscreen' was not declared in this scope 1670 | ret = SDL_SetWindowFullscreen(window, SDL_WINDOW_FULLSCREEN_DESKTOP); | ^~~~~~~~~~~~~~~~~~~~~~~ ../UI/app.cpp:1675:17: error: 'SDL_GetWindowSize' was not declared in this scope 1675 | SDL_GetWindowSize(window, &width, &height); | ^~~~~~~~~~~~~~~~~ ../UI/app.cpp: In member function 'void App::WindowScreen()': ../UI/app.cpp:1696:39: error: 'window' was not declared in this scope; did you mean 'OnWindow'? 1696 | ret = SDL_SetWindowFullscreen(window, 0); | ^~~~~~ | OnWindow ../UI/app.cpp:1696:15: error: 'SDL_SetWindowFullscreen' was not declared in this scope 1696 | ret = SDL_SetWindowFullscreen(window, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ ../UI/app.cpp:1701:17: error: 'SDL_GetWindowSize' was not declared in this scope 1701 | SDL_GetWindowSize(window, &width, &height); | ^~~~~~~~~~~~~~~~~ ../UI/app.cpp: In member function 'void App::NormalSpeed()': ../UI/app.cpp:1742:16: error: 'draw_tick' was not declared in this scope 1742 | memset(draw_tick, 0, sizeof(draw_tick)); | ^~~~~~~~~ ../UI/app.cpp:1743:9: error: 'draw_tick_count' was not declared in this scope; did you mean 'draw_tick_point'? 1743 | draw_tick_count = 0; | ^~~~~~~~~~~~~~~ | draw_tick_point ../UI/app.cpp: In member function 'void App::SetWindowWidth()': ../UI/app.cpp:1782:27: error: 'window' was not declared in this scope; did you mean 'OnWindow'? 1782 | SDL_SetWindowSize(window, width, height); | ^~~~~~ | OnWindow ../UI/app.cpp:1782:9: error: 'SDL_SetWindowSize' was not declared in this scope 1782 | SDL_SetWindowSize(window, width, height); | ^~~~~~~~~~~~~~~~~ ../UI/app.cpp:1785:9: error: 'SDL_GetWindowSize' was not declared in this scope 1785 | SDL_GetWindowSize(window, &width, &height); | ^~~~~~~~~~~~~~~~~ ../UI/app.cpp: In member function 'void App::EnterMenu(int)': ../UI/app.cpp:1799:9: error: 'system_info' was not declared in this scope 1799 | system_info = setting->GetSystems(); | ^~~~~~~~~~~ ../UI/app.cpp:1799:32: error: 'class Setting' has no member named 'GetSystems'; did you mean 'GetSystemMode'? 1799 | system_info = setting->GetSystems(); | ^~~~~~~~~~ | GetSystemMode ../UI/app.cpp:1802:24: error: 'SDL_ENABLE' was not declared in this scope 1802 | SDL_ShowCursor(SDL_ENABLE); | ^~~~~~~~~~ ../UI/app.cpp:1802:9: error: 'SDL_ShowCursor' was not declared in this scope 1802 | SDL_ShowCursor(SDL_ENABLE); | ^~~~~~~~~~~~~~ ../UI/app.cpp: In member function 'void App::LeaveMenu(bool)': ../UI/app.cpp:1827:9: error: 'mouse_tick' was not declared in this scope 1827 | mouse_tick = SDL_GetTicks(); | ^~~~~~~~~~ ../UI/app.cpp:1827:22: error: 'SDL_GetTicks' was not declared in this scope 1827 | mouse_tick = SDL_GetTicks(); | ^~~~~~~~~~~~ ../UI/app.cpp:1841:30: error: 'class Setting' has no member named 'GetSystems'; did you mean 'GetSystemMode'? 1841 | if (setting->GetSystems() != system_info) { | ^~~~~~~~~~ | GetSystemMode ../UI/app.cpp:1841:46: error: 'system_info' was not declared in this scope 1841 | if (setting->GetSystems() != system_info) { | ^~~~~~~~~~~ ../UI/app.cpp:1843:48: error: 'class Setting' has no member named 'GetSystems'; did you mean 'GetSystemMode'? 1843 | system_info = setting->GetSystems(); | ^~~~~~~~~~ | GetSystemMode ../UI/app.cpp: In member function 'void App::ChangeAudio()': ../UI/app.cpp:1905:24: error: 'audio_param' was not declared in this scope 1905 | memcpy(audio_param, ¶m, sizeof(param)); | ^~~~~~~~~~~ ../UI/app.cpp: In member function 'bool App::Load(int)': ../UI/app.cpp:2078:16: error: 'state_path' was not declared in this scope 2078 | strcpy(state_path, setting->GetSettingDir()); | ^~~~~~~~~~ ../UI/app.cpp:2102:32: error: 'draw_tick' was not declared in this scope 2102 | memset(draw_tick, 0, sizeof(draw_tick)); | ^~~~~~~~~ ../UI/app.cpp:2103:25: error: 'draw_tick_count' was not declared in this scope; did you mean 'draw_tick_point'? 2103 | draw_tick_count = 0; | ^~~~~~~~~~~~~~~ | draw_tick_point ../UI/app.cpp: In member function 'bool App::Save(int)': ../UI/app.cpp:2154:16: error: 'state_path' was not declared in this scope 2154 | strcpy(state_path, setting->GetSettingDir()); | ^~~~~~~~~~ ../UI/app.cpp: In member function 'bool App::GetStateTime(int, cur_time_t*)': ../UI/app.cpp:2197:16: error: 'state_path' was not declared in this scope 2197 | strcpy(state_path, setting->GetSettingDir()); | ^~~~~~~~~~ ../UI/app.cpp: In member function 'void App::LockVM()': ../UI/app.cpp:2219:13: error: 'vm_sem' was not declared in this scope 2219 | if (vm_sem != NULL) { | ^~~~~~ ../UI/app.cpp:2220:17: error: 'SDL_SemWait' was not declared in this scope 2220 | SDL_SemWait(vm_sem); | ^~~~~~~~~~~ ../UI/app.cpp: In member function 'void App::UnlockVM()': ../UI/app.cpp:2230:13: error: 'vm_sem' was not declared in this scope 2230 | if (vm_sem != NULL) { | ^~~~~~ ../UI/app.cpp:2231:17: error: 'SDL_SemPost' was not declared in this scope 2231 | SDL_SemPost(vm_sem); | ^~~~~~~~~~~ ../UI/app.cpp: At global scope: ../UI/app.cpp:2239:1: error: 'Uint32' does not name a type; did you mean 'uint32'? 2239 | Uint32 App::GetAppVersion() | ^~~~~~ | uint32 gmake: *** [makefile:41: ../UI/app.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/xm8 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/xm8