+ 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 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/audio.cpp -o ../UI/audio.o 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/converter.cpp -o ../UI/converter.o 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/diskmgr.cpp -o ../UI/diskmgr.o 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/emu.cpp -o ../UI/emu.o 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/emu_sdl.cpp -o ../UI/emu_sdl.o 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/file.cpp -o ../UI/file.o 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/fileio.cpp -o ../UI/fileio.o In file included from ../UI/audio.cpp:15: ../UI/audio.h:60:12: error: 'Uint8' has not been declared 60 | int Write(Uint8 *stream, int len); | ^~~~~ ../UI/audio.h:62:45: error: 'Uint8' has not been declared 62 | static void CommonCallback(void *userdata, Uint8 *stream, int len); | ^~~~~ ../UI/audio.h:64:16: error: 'Uint8' has not been declared 64 | void Callback(Uint8 *steram, int len); | ^~~~~ ../UI/audio.h:70:2: error: 'SDL_sem' does not name a type 70 | SDL_sem *audio_sem; | ^~~~~~~ ../UI/audio.h:76:2: error: 'SDL_AudioDeviceID' does not name a type 76 | SDL_AudioDeviceID device_id; | ^~~~~~~~~~~~~~~~~ ../UI/audio.h:78:2: error: 'SDL_AudioSpec' does not name a type 78 | SDL_AudioSpec device_spec; | ^~~~~~~~~~~~~ ../UI/audio.h:84:2: error: 'Uint8' does not name a type; did you mean 'int8'? 84 | Uint8 *sample_buffer; | ^~~~~ | int8 ../UI/audio.cpp: In constructor 'Audio::Audio()': ../UI/audio.cpp:24:2: error: 'audio_sem' was not declared in this scope 24 | audio_sem = NULL; | ^~~~~~~~~ ../UI/audio.cpp:27:2: error: 'device_id' was not declared in this scope 27 | device_id = 0; | ^~~~~~~~~ ../UI/audio.cpp:34:2: error: 'sample_buffer' was not declared in this scope; did you mean 'sample_per'? 34 | sample_buffer = NULL; | ^~~~~~~~~~~~~ | sample_per ../UI/audio.cpp: In member function 'bool Audio::Init()': ../UI/audio.cpp:63:2: error: 'audio_sem' was not declared in this scope 63 | audio_sem = SDL_CreateSemaphore(1); | ^~~~~~~~~ ../UI/audio.cpp:63:14: error: 'SDL_CreateSemaphore' was not declared in this scope 63 | audio_sem = SDL_CreateSemaphore(1); | ^~~~~~~~~~~~~~~~~~~ ../UI/audio.cpp:69:19: error: 'SDL_GetNumAudioDevices' was not declared in this scope 69 | num_of_devices = SDL_GetNumAudioDevices(0); | ^~~~~~~~~~~~~~~~~~~~~~ ../UI/audio.cpp:79:23: error: 'SDL_GetAudioDeviceName' was not declared in this scope 79 | single_len = strlen(SDL_GetAudioDeviceName(loop, 0)); | ^~~~~~~~~~~~~~~~~~~~~~ ../UI/audio.cpp:85:28: error: 'SDL_malloc' was not declared in this scope 85 | name_of_devices = (char *)SDL_malloc(total_len); | ^~~~~~~~~~ ../UI/audio.cpp:87:3: error: 'SDL_assert' was not declared in this scope 87 | SDL_assert(false); | ^~~~~~~~~~ ../UI/audio.cpp:92:23: error: 'SDL_GetAudioDeviceName' was not declared in this scope 92 | single_len = strlen(SDL_GetAudioDeviceName(loop, 0)); | ^~~~~~~~~~~~~~~~~~~~~~ ../UI/audio.cpp:99:2: error: 'device_id' was not declared in this scope 99 | device_id = 0; | ^~~~~~~~~ ../UI/audio.cpp: In member function 'void Audio::Deinit()': ../UI/audio.cpp:115:3: error: 'SDL_free' was not declared in this scope 115 | SDL_free(name_of_devices); | ^~~~~~~~ ../UI/audio.cpp:123:6: error: 'audio_sem' was not declared in this scope 123 | if (audio_sem != NULL) { | ^~~~~~~~~ ../UI/audio.cpp:124:3: error: 'SDL_DestroySemaphore' was not declared in this scope 124 | SDL_DestroySemaphore(audio_sem); | ^~~~~~~~~~~~~~~~~~~~ ../UI/audio.cpp: In member function 'bool Audio::Open(const OpenParam*)': ../UI/audio.cpp:135:2: error: 'SDL_AudioSpec' was not declared in this scope 135 | SDL_AudioSpec device_want; | ^~~~~~~~~~~~~ ../UI/audio.cpp:139:2: error: 'device_spec' was not declared in this scope 139 | device_spec.freq = param->freq; | ^~~~~~~~~~~ ../UI/audio.cpp:147:11: error: 'device_want' was not declared in this scope; did you mean 'device_pause'? 147 | SDL_zero(device_want); | ^~~~~~~~~~~ | device_pause ../UI/audio.cpp:147:2: error: 'SDL_zero' was not declared in this scope 147 | SDL_zero(device_want); | ^~~~~~~~ ../UI/audio.cpp:151:23: error: 'AUDIO_S16SYS' was not declared in this scope 151 | device_want.format = AUDIO_S16SYS; | ^~~~~~~~~~~~ ../UI/audio.cpp:153:25: error: 'Uint16' was not declared in this scope; did you mean 'int16'? 153 | device_want.samples = (Uint16)param->samples; | ^~~~~~ | int16 ../UI/audio.cpp:162:2: error: 'device_id' was not declared in this scope 162 | device_id = SDL_OpenAudioDevice(name, 0, &device_want, &device_spec, 0); | ^~~~~~~~~ ../UI/audio.cpp:162:14: error: 'SDL_OpenAudioDevice' was not declared in this scope 162 | device_id = SDL_OpenAudioDevice(name, 0, &device_want, &device_spec, 0); | ^~~~~~~~~~~~~~~~~~~ ../UI/audio.cpp:179:66: error: 'Sint16' was not declared in this scope; did you mean 'int16'? 179 | sample_size = (device_spec.freq * device_spec.channels * sizeof(Sint16) * param->buffer) / 1000; | ^~~~~~ | int16 ../UI/audio.cpp:183:2: error: 'sample_buffer' was not declared in this scope; did you mean 'sample_per'? 183 | sample_buffer = (Uint8*)SDL_malloc(sample_size); | ^~~~~~~~~~~~~ | sample_per In file included from ../UI/app.cpp:16: ../UI/emu_sdl.h:44:19: error: '_MAX_PATH' was not declared in this scope 44 | _TCHAR base_path[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/emu_sdl.h:46:19: 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:26: error: '_MAX_PATH' was not declared in this scope 96 | _TCHAR initial_disk_dir[_MAX_PATH]; | ^~~~~~~~~ ../UI/audio.cpp:183:19: error: 'Uint8' was not declared in this scope; did you mean 'int8'? 183 | sample_buffer = (Uint8*)SDL_malloc(sample_size); | ^~~~~ | int8 ../UI/audio.cpp:183:25: error: expected primary-expression before ')' token 183 | sample_buffer = (Uint8*)SDL_malloc(sample_size); | ^ ../UI/audio.cpp: In member function 'void Audio::Close()': ../UI/audio.cpp:202:6: error: 'sample_buffer' was not declared in this scope; did you mean 'sample_per'? 202 | if (sample_buffer != NULL) { | ^~~~~~~~~~~~~ | sample_per ../UI/audio.cpp:203:3: error: 'SDL_free' was not declared in this scope 203 | SDL_free(sample_buffer); | ^~~~~~~~ ../UI/audio.cpp:208:6: error: 'device_id' was not declared in this scope 208 | if (device_id > 0) { | ^~~~~~~~~ ../UI/audio.cpp:209:3: error: 'SDL_CloseAudioDevice' was not declared in this scope 209 | SDL_CloseAudioDevice(device_id); | ^~~~~~~~~~~~~~~~~~~~ ../ePC-8801MA/config.h:97:47: error: '_MAX_PATH' was not declared in this scope 97 | _TCHAR recent_disk_path[MAX_FD][MAX_HISTORY][_MAX_PATH]; | ^~~~~~~~~ ../UI/audio.cpp: In member function 'void Audio::Play()': ../UI/audio.cpp:267:6: error: 'device_id' was not declared in this scope 267 | if (device_id > 0) { | ^~~~~~~~~ ../UI/audio.cpp:269:4: error: 'SDL_PauseAudioDevice' was not declared in this scope 269 | SDL_PauseAudioDevice(device_id, 0); | ^~~~~~~~~~~~~~~~~~~~ ../UI/audio.cpp: In member function 'void Audio::Stop()': ../UI/audio.cpp:283:6: error: 'device_id' was not declared in this scope 283 | if (device_id > 0) { | ^~~~~~~~~ ../UI/audio.cpp:285:4: error: 'SDL_PauseAudioDevice' was not declared in this scope 285 | SDL_PauseAudioDevice(device_id, 1); | ^~~~~~~~~~~~~~~~~~~~ ../UI/audio.cpp: In member function 'void Audio::Reset()': ../UI/audio.cpp:311:6: error: 'sample_buffer' was not declared in this scope; did you mean 'sample_per'? 311 | if (sample_buffer != NULL) { | ^~~~~~~~~~~~~ | sample_per ../ePC-8801MA/config.h:104:26: error: '_MAX_PATH' was not declared in this scope 104 | _TCHAR initial_tape_dir[_MAX_PATH]; | ^~~~~~~~~ ../ePC-8801MA/config.h:105:39: error: '_MAX_PATH' was not declared in this scope 105 | _TCHAR recent_tape_path[MAX_HISTORY][_MAX_PATH]; | ^~~~~~~~~ ../ePC-8801MA/config.h:140:24: error: '_MAX_PATH' was not declared in this scope 140 | _TCHAR fmgen_dll_path[_MAX_PATH]; | ^~~~~~~~~ ../UI/audio.cpp: In member function 'int Audio::GetFreeSamples()': ../UI/audio.cpp:331:14: error: 'audio_sem' was not declared in this scope 331 | SDL_SemWait(audio_sem); | ^~~~~~~~~ ../UI/audio.cpp:331:2: error: 'SDL_SemWait' was not declared in this scope 331 | SDL_SemWait(audio_sem); | ^~~~~~~~~~~ In file included from ../ePC-8801MA/emu.h:14, from ../UI/emu.cpp:12: ../ePC-8801MA/config.h:96:26: error: '_MAX_PATH' was not declared in this scope 96 | _TCHAR initial_disk_dir[_MAX_PATH]; | ^~~~~~~~~ ../UI/audio.cpp:333:6: error: 'sample_buffer' was not declared in this scope; did you mean 'sample_per'? 333 | if (sample_buffer != NULL) { | ^~~~~~~~~~~~~ | sample_per In file included from ../UI/converter.cpp:15: ../UI/converter.h:38:2: error: 'Uint16' does not name a type; did you mean 'int16'? 38 | Uint16 *ucs_table; | ^~~~~~ | int16 ../UI/converter.h:40:15: error: 'Uint16' does not name a type; did you mean 'int16'? 40 | static const Uint16 sjis_table[0x30 * 0xc0]; | ^~~~~~ | int16 ../ePC-8801MA/config.h:97:47: error: '_MAX_PATH' was not declared in this scope 97 | _TCHAR recent_disk_path[MAX_FD][MAX_HISTORY][_MAX_PATH]; | ^~~~~~~~~ ../UI/audio.cpp:335:15: error: 'device_spec' was not declared in this scope 335 | samples /= (device_spec.channels * sizeof(Sint16)); | ^~~~~~~~~~~ ../UI/audio.cpp:335:45: error: 'Sint16' was not declared in this scope; did you mean 'int16'? 335 | samples /= (device_spec.channels * sizeof(Sint16)); | ^~~~~~ | int16 ../UI/converter.cpp: In constructor 'Converter::Converter()': ../UI/converter.cpp:23:2: error: 'ucs_table' was not declared in this scope 23 | ucs_table = NULL; | ^~~~~~~~~ ../ePC-8801MA/config.h:104:26: error: '_MAX_PATH' was not declared in this scope 104 | _TCHAR initial_tape_dir[_MAX_PATH]; | ^~~~~~~~~ ../UI/audio.cpp:343:2: error: 'SDL_SemPost' was not declared in this scope 343 | SDL_SemPost(audio_sem); | ^~~~~~~~~~~ ../UI/audio.cpp: At global scope: ../UI/audio.cpp:352:5: error: 'int Audio::Write' is not a static data member of 'class Audio' 352 | int Audio::Write(Uint8 *stream, int len) | ^~~~~ ../UI/converter.cpp: In member function 'bool Converter::Init()': ../UI/converter.cpp:41:2: error: 'Uint16' was not declared in this scope; did you mean 'int16'? 41 | Uint16 high; | ^~~~~~ | int16 ../UI/converter.cpp:42:8: error: expected ';' before 'low' 42 | Uint16 low; | ^~~~ | ; ../UI/audio.cpp:352:18: error: 'Uint8' was not declared in this scope; did you mean 'int8'? 352 | int Audio::Write(Uint8 *stream, int len) | ^~~~~ | int8 ../UI/converter.cpp:43:8: error: 'Uint16' does not name a type; did you mean 'int16'? 43 | const Uint16 *sjis; | ^~~~~~ | int16 ../UI/audio.cpp:352:25: error: 'stream' was not declared in this scope 352 | int Audio::Write(Uint8 *stream, int len) | ^~~~~~ ../UI/audio.cpp:352:33: error: expected primary-expression before 'int' 352 | int Audio::Write(Uint8 *stream, int len) | ^~~ ../UI/audio.cpp:352:40: error: expression list treated as compound expression in initializer [-fpermissive] 352 | int Audio::Write(Uint8 *stream, int len) | ^ ../UI/audio.cpp:442:44: error: 'Uint8' has not been declared 442 | void Audio::CommonCallback(void *userdata, Uint8 *stream, int len) | ^~~~~ ../UI/audio.cpp:457:6: error: variable or field 'Callback' declared void 457 | void Audio::Callback(Uint8 *stream, int len) | ^~~~~ ../UI/audio.cpp:457:22: error: 'Uint8' was not declared in this scope; did you mean 'int8'? 457 | void Audio::Callback(Uint8 *stream, int len) | ^~~~~ | int8 ../UI/converter.cpp:46:2: error: 'ucs_table' was not declared in this scope 46 | ucs_table = (Uint16*)SDL_malloc(0x10000 * sizeof(Uint16)); | ^~~~~~~~~ ../UI/converter.cpp:46:22: error: expected primary-expression before ')' token 46 | ucs_table = (Uint16*)SDL_malloc(0x10000 * sizeof(Uint16)); | ^ ../UI/audio.cpp:457:29: error: 'stream' was not declared in this scope 457 | void Audio::Callback(Uint8 *stream, int len) | ^~~~~~ ../UI/audio.cpp:457:37: error: expected primary-expression before 'int' 457 | void Audio::Callback(Uint8 *stream, int len) | ^~~ ../UI/converter.cpp:55:2: error: 'sjis' was not declared in this scope 55 | sjis = sjis_table; | ^~~~ ../UI/converter.cpp:55:9: error: 'sjis_table' was not declared in this scope 55 | sjis = sjis_table; | ^~~~~~~~~~ ../UI/converter.cpp:56:7: error: 'high' was not declared in this scope 56 | for (high=0x8000; high<0xa000; high+=0x0100) { | ^~~~ ../UI/converter.cpp:57:8: error: 'low' was not declared in this scope 57 | for (low=0x40; low<0x100; low++) { | ^~~ ../ePC-8801MA/config.h:105:39: error: '_MAX_PATH' was not declared in this scope 105 | _TCHAR recent_tape_path[MAX_HISTORY][_MAX_PATH]; | ^~~~~~~~~ ../UI/converter.cpp:66:7: error: 'high' was not declared in this scope 66 | for (high=0xe000; high<0xf000; high+=0x0100) { | ^~~~ ../UI/converter.cpp:67:8: error: 'low' was not declared in this scope 67 | for (low=0x40; low<0x100; low++) { | ^~~ ../UI/converter.cpp: In member function 'void Converter::Deinit()': ../UI/converter.cpp:85:6: error: 'ucs_table' was not declared in this scope 85 | if (ucs_table != NULL) { | ^~~~~~~~~ ../UI/converter.cpp:86:3: error: 'SDL_free' was not declared in this scope 86 | SDL_free(ucs_table); | ^~~~~~~~ ../UI/converter.cpp: In member function 'void Converter::SjisToUtf(const char*, char*)': ../UI/converter.cpp:97:2: error: 'Uint16' was not declared in this scope; did you mean 'int16'? 97 | Uint16 high; | ^~~~~~ | int16 ../UI/converter.cpp:98:8: error: expected ';' before 'low' 98 | Uint16 low; | ^~~~ | ; ../UI/converter.cpp:99:8: error: expected ';' before 'ucs' 99 | Uint16 ucs; | ^~~~ | ; ../UI/converter.cpp:105:3: error: 'ucs' was not declared in this scope 105 | ucs = 0; | ^~~ ../UI/converter.cpp:109:3: error: 'high' was not declared in this scope 109 | high = (Uint16)*sjis++; | ^~~~ ../UI/converter.cpp:125:4: error: 'low' was not declared in this scope 125 | low = (Uint16)*sjis++; | ^~~ ../ePC-8801MA/config.h:140:24: error: '_MAX_PATH' was not declared in this scope 140 | _TCHAR fmgen_dll_path[_MAX_PATH]; | ^~~~~~~~~ ../UI/converter.cpp:141:10: error: 'sjis_table' was not declared in this scope 141 | ucs = sjis_table[high * 0xc0 + low]; | ^~~~~~~~~~ ../UI/converter.cpp:176:4: error: 'low' was not declared in this scope 176 | low = (ucs & 0x3f); | ^~~ In file included from ../UI/emu.cpp:13: ../UI/emu_sdl.h:44:19: error: '_MAX_PATH' was not declared in this scope 44 | _TCHAR base_path[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/converter.cpp:194:3: error: 'low' was not declared in this scope 194 | low = (ucs & 0x3f); | ^~~ ../UI/converter.cpp: In member function 'void Converter::UtfToSjis(const char*, char*)': ../UI/converter.cpp:209:2: error: 'Uint16' was not declared in this scope; did you mean 'int16'? 209 | Uint16 high; | ^~~~~~ | int16 ../UI/converter.cpp:210:8: error: expected ';' before 'low' 210 | Uint16 low; | ^~~~ | ; ../UI/converter.cpp:211:8: error: expected ';' before 'ucs' 211 | Uint16 ucs; | ^~~~ | ; ../UI/emu_sdl.h:46:19: error: '_MAX_PATH' was not declared in this scope 46 | _TCHAR bios_path[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/converter.cpp:216:3: error: 'ucs' was not declared in this scope 216 | ucs = (Uint16)*utf++; | ^~~ ../UI/converter.cpp:225:5: error: 'low' was not declared in this scope 225 | low = (Uint16)*utf++; | ^~~ ../UI/converter.cpp:239:5: error: 'high' was not declared in this scope 239 | high = (Uint16)*utf++; | ^~~~ ../UI/converter.cpp:244:5: error: 'low' was not declared in this scope 244 | low = (Uint16)*utf++; | ^~~ ../UI/converter.cpp:261:7: error: 'ucs_table' was not declared in this scope 261 | if (ucs_table[ucs] != 0) { | ^~~~~~~~~ ../UI/converter.cpp: At global scope: ../UI/converter.cpp:299:7: error: 'Uint16' does not name a type; did you mean 'int16'? 299 | const Uint16 Converter::sjis_table[0x30 * 0xc0] = { | ^~~~~~ | int16 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:15: error: variable or field '__stdcall' declared void 188 | friend void __stdcall FM_NextPhase(Operator* op); | ^~~~~~~~~ ../ePC-8801MA/vm/fmgen/fmgen.h:188:15: error: expected ';' at end of member declaration 188 | friend void __stdcall FM_NextPhase(Operator* op); | ^~~~~~~~~ | ; ../ePC-8801MA/vm/fmgen/fmgen.h:188:25: 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/file.cpp:15: ../ePC-8801MA/vm/fmgen/file.h:63:14: error: '_MAX_PATH' was not declared in this scope 63 | _TCHAR path[_MAX_PATH]; | ^~~~~~~~~ gmake: *** [makefile:41: ../UI/audio.o] Error 1 gmake: *** Waiting for unfinished jobs.... ../UI/file.cpp: In member function 'bool FileIO::Open(const _TCHAR*, uint)': ../UI/file.cpp:41:2: error: 'SDL_RWops' was not declared in this scope 41 | SDL_RWops *ops; | ^~~~~~~~~ ../UI/file.cpp:41:13: error: 'ops' was not declared in this scope 41 | SDL_RWops *ops; | ^~~ ../UI/file.cpp:51:8: error: 'SDL_RWFromFile' was not declared in this scope 51 | ops = SDL_RWFromFile(filename, "rb"); | ^~~~~~~~~~~~~~ gmake: *** [makefile:41: ../UI/emu.o] Error 1 ../UI/file.cpp: In member function 'void FileIO::Close()': ../UI/file.cpp:68:16: error: 'SDL_RWops' was not declared in this scope 68 | SDL_RWclose((SDL_RWops*)hfile); | ^~~~~~~~~ ../UI/file.cpp:68:26: error: expected primary-expression before ')' token 68 | SDL_RWclose((SDL_RWops*)hfile); | ^ ../UI/file.cpp:68:3: error: 'SDL_RWclose' was not declared in this scope 68 | SDL_RWclose((SDL_RWops*)hfile); | ^~~~~~~~~~~ In file included from ../UI/app.cpp:22: ../ePC-8801MA/vm/pc8801/pc88.h:238:23: error: '_MAX_PATH' was not declared in this scope 238 | _TCHAR rec_file_path[_MAX_PATH]; | ^~~~~~~~~ ../UI/file.cpp: In member function 'int32 FileIO::Read(void*, int32)': ../UI/file.cpp:82:3: error: 'SDL_assert' was not declared in this scope 82 | SDL_assert(false); | ^~~~~~~~~~ ../UI/file.cpp:86:18: error: 'SDL_RWops' was not declared in this scope 86 | s = SDL_RWread((SDL_RWops*)hfile, dest, 1, (size_t)len); | ^~~~~~~~~ ../UI/file.cpp:86:28: error: expected primary-expression before ')' token 86 | s = SDL_RWread((SDL_RWops*)hfile, dest, 1, (size_t)len); | ^ In file included from ../UI/app.cpp:23: ../UI/setting.h:102:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 102 | Uint32 GetDip(); | ^~~~~~ | sint32 ../UI/file.cpp:86:6: error: 'SDL_RWread' was not declared in this scope 86 | s = SDL_RWread((SDL_RWops*)hfile, dest, 1, (size_t)len); | ^~~~~~~~~~ ../UI/setting.h:106:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 106 | Uint32 GetSystems(); | ^~~~~~ | sint32 ../UI/file.cpp: In member function 'bool FileIO::Seek(int32, FileIO::SeekMethod)': ../UI/file.cpp:97:2: error: 'Sint64' was not declared in this scope; did you mean 'int64'? 97 | Sint64 pos; | ^~~~~~ | int64 ../UI/setting.h:122:2: error: 'Uint8' does not name a type; did you mean 'sint8'? 122 | Uint8 GetBrightness(); | ^~~~~ | sint8 ../UI/setting.h:124:21: error: 'Uint8' has not been declared 124 | void SetBrightness(Uint8 bri); | ^~~~~ ../UI/setting.h:126:2: error: 'Uint8' does not name a type; did you mean 'sint8'? 126 | Uint8 GetMenuAlpha(); | ^~~~~ | sint8 ../UI/setting.h:140:2: error: 'Uint8' does not name a type; did you mean 'sint8'? 140 | Uint8 GetStatusAlpha(); | ^~~~~ | sint8 ../UI/setting.h:142:22: error: 'Uint8' has not been declared 142 | void SetStatusAlpha(Uint8 alpha); | ^~~~~ ../UI/setting.h:184:2: error: 'Uint8' does not name a type; did you mean 'sint8'? 184 | Uint8 GetSoftKeyAlpha(); | ^~~~~ | sint8 ../UI/setting.h:186:23: error: 'Uint8' has not been declared 186 | void SetSoftKeyAlpha(Uint8 alpha); | ^~~~~ ../UI/setting.h:188:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 188 | Uint32 GetSoftKeyTime(); | ^~~~~~ | sint32 ../UI/setting.h:190:22: error: 'Uint32' has not been declared 190 | void SetSoftKeyTime(Uint32 ms); | ^~~~~~ ../UI/setting.h:204:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 204 | Uint32 GetMouseTime(); | ^~~~~~ | sint32 ../UI/setting.h:206:20: error: 'Uint32' has not been declared 206 | void SetMouseTime(Uint32 ms); | ^~~~~~ ../UI/setting.h:212:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 212 | Uint32 GetJoystickToKey(int button); | ^~~~~~ | sint32 ../UI/setting.h:214:36: error: 'Uint32' has not been declared 214 | void SetJoystickToKey(int button, Uint32 data); | ^~~~~~ ../UI/setting.h:236:19: error: '_MAX_PATH' was not declared in this scope 236 | char setting_dir[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/setting.h:238:20: error: '_MAX_PATH' was not declared in this scope 238 | char setting_path[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/setting.h:244:2: error: 'Uint8' does not name a type; did you mean 'sint8'? 244 | Uint8 brightness; | ^~~~~ | sint8 ../UI/setting.h:250:2: error: 'Uint8' does not name a type; did you mean 'sint8'? 250 | Uint8 softkey_alpha; | ^~~~~ | sint8 ../UI/setting.h:252:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 252 | Uint32 softkey_time; | ^~~~~~ | sint32 ../UI/setting.h:260:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 260 | Uint32 mouse_time; | ^~~~~~ | sint32 ../UI/setting.h:266:2: error: 'Uint8' does not name a type; did you mean 'sint8'? 266 | Uint8 status_alpha; | ^~~~~ | sint8 In file included from ../UI/app.cpp:24: ../UI/platform.h:26:12: error: 'SDL_Window' has not been declared 26 | bool Init(SDL_Window *window); | ^~~~~~~~~~ ../UI/platform.h:32:41: error: 'Uint32' has not been declared 32 | const char* FindFirst(const char *dir, Uint32 *info); | ^~~~~~ ../UI/platform.h:34:14: error: expected ';' at end of member declaration 34 | const char* FindNext(Uint32 *info); | ^~~~~~~~ | ; ../UI/platform.h:34:29: error: expected ')' before '*' token 34 | const char* FindNext(Uint32 *info); | ~ ^~ | ) ../UI/platform.h:36:13: error: 'Uint32' has not been declared 36 | bool IsDir(Uint32 info); | ^~~~~~ ../UI/platform.h:46:14: 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:12: error: 'SDL_Window' has not been declared 26 | bool Init(SDL_Window *win); | ^~~~~~~~~~ ../UI/video.h:46:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 46 | Uint32* GetMenuFrame(); | ^~~~~~ | sint32 ../UI/video.h:50:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 50 | Uint32* GetSoftKeyFrame(); | ^~~~~~ | sint32 ../UI/video.h:62:20: error: 'Uint32' has not been declared 62 | void SetFrameRate(Uint32 rate); | ^~~~~~ ../UI/video.h:64:21: error: 'Uint32' has not been declared 64 | void SetSystemInfo(Uint32 info); | ^~~~~~ ../UI/video.h:102:20: error: 'SDL_Texture' has not been declared 102 | void CopyFrameBuf(SDL_Texture *texture, Uint32 *src, int height, int top = 0); | ^~~~~~~~~~~ ../UI/video.h:102:42: error: 'Uint32' has not been declared 102 | void CopyFrameBuf(SDL_Texture *texture, Uint32 *src, int height, int top = 0); | ^~~~~~ gmake: *** [makefile:41: ../UI/converter.o] Error 1 ../UI/video.h:136:2: error: 'SDL_Rect' does not name a type 136 | SDL_Rect draw_rect; | ^~~~~~~~ In file included from ../ePC-8801MA/vm/../emu.h:14, from ../ePC-8801MA/vm/disk.h:14, from ../UI/diskmgr.cpp:16: ../ePC-8801MA/vm/../config.h:96:26: error: '_MAX_PATH' was not declared in this scope 96 | _TCHAR initial_disk_dir[_MAX_PATH]; | ^~~~~~~~~ In file included from ../UI/emu_sdl.cpp:17: ../UI/app.h:78:15: error: 'SDL_Scancode' has not been declared 78 | void OnKeyVM(SDL_Scancode code); | ^~~~~~~~~~~~ ../UI/app.h:80:16: error: 'Uint8' has not been declared 80 | void GetKeyVM(Uint8 *buf); | ^~~~~ ../UI/app.h:82:2: error: 'Uint32' does not name a type; did you mean 'int32'? 82 | Uint32 GetKeyCode(Uint32 port, Uint32 bit); | ^~~~~~ | int32 ../ePC-8801MA/vm/../config.h:97:47: error: '_MAX_PATH' was not declared in this scope 97 | _TCHAR recent_disk_path[MAX_FD][MAX_HISTORY][_MAX_PATH]; | ^~~~~~~~~ ../UI/app.h:108:2: error: 'Uint32' does not name a type; did you mean 'int32'? 108 | Uint32 GetAppVersion(); | ^~~~~~ | int32 ../UI/app.h:132:12: error: 'SDL_Event' has not been declared 132 | void Poll(SDL_Event *e); | ^~~~~~~~~ ../UI/app.h:134:16: error: 'SDL_Event' has not been declared 134 | void OnWindow(SDL_Event *e); | ^~~~~~~~~ ../UI/app.h:136:17: error: 'SDL_Event' has not been declared 136 | void OnKeyDown(SDL_Event *e); | ^~~~~~~~~ ../UI/app.h:138:15: error: 'SDL_Event' has not been declared 138 | void OnKeyUp(SDL_Event *e); | ^~~~~~~~~ ../UI/app.h:140:18: error: 'SDL_Event' has not been declared 140 | void OnDropFile(SDL_Event *e); | ^~~~~~~~~ ../ePC-8801MA/vm/../config.h:104:26: error: '_MAX_PATH' was not declared in this scope 104 | _TCHAR initial_tape_dir[_MAX_PATH]; | ^~~~~~~~~ ../UI/app.h:154:2: error: 'SDL_sem' does not name a type 154 | SDL_sem *vm_sem; | ^~~~~~~ ../UI/app.h:158:2: error: 'SDL_Window' does not name a type 158 | SDL_Window *window; | ^~~~~~~~~~ ../UI/fileio.cpp: In member function 'bool FILEIO::IsProtected(_TCHAR*)': ../UI/fileio.cpp:46:3: error: 'SDL_assert' was not declared in this scope 46 | SDL_assert(false); | ^~~~~~~~~~ ../UI/file.cpp:100:3: error: 'SDL_assert' was not declared in this scope 100 | SDL_assert(false); | ^~~~~~~~~~ ../UI/file.cpp:106:3: error: 'pos' was not declared in this scope; did you mean 'fpos'? 106 | pos = SDL_RWseek((SDL_RWops*)hfile, (Sint64)fpos, RW_SEEK_SET); | ^~~ | fpos ../UI/fileio.cpp: In member function 'bool FILEIO::Fopen(_TCHAR*, int)': ../UI/fileio.cpp:59:2: error: 'SDL_RWops' was not declared in this scope 59 | SDL_RWops *ops; | ^~~~~~~~~ ../UI/fileio.cpp:59:13: error: 'ops' was not declared in this scope 59 | SDL_RWops *ops; | ^~~ ../UI/file.cpp:106:21: error: 'SDL_RWops' was not declared in this scope 106 | pos = SDL_RWseek((SDL_RWops*)hfile, (Sint64)fpos, RW_SEEK_SET); | ^~~~~~~~~ ../UI/file.cpp:106:31: error: expected primary-expression before ')' token 106 | pos = SDL_RWseek((SDL_RWops*)hfile, (Sint64)fpos, RW_SEEK_SET); | ^ ../UI/file.cpp:106:47: error: expected ')' before 'fpos' 106 | pos = SDL_RWseek((SDL_RWops*)hfile, (Sint64)fpos, RW_SEEK_SET); | ~ ^~~~ | ) ../UI/fileio.cpp:73:9: error: 'SDL_RWFromFile' was not declared in this scope 73 | ops = SDL_RWFromFile(filename, "r+b"); | ^~~~~~~~~~~~~~ ../UI/file.cpp:106:53: error: 'RW_SEEK_SET' was not declared in this scope; did you mean 'SEEK_SET'? 106 | pos = SDL_RWseek((SDL_RWops*)hfile, (Sint64)fpos, RW_SEEK_SET); | ^~~~~~~~~~~ | SEEK_SET ../UI/fileio.cpp:117:3: error: 'SDL_assert' was not declared in this scope 117 | SDL_assert(false); | ^~~~~~~~~~ ../UI/file.cpp:106:9: error: 'SDL_RWseek' was not declared in this scope 106 | pos = SDL_RWseek((SDL_RWops*)hfile, (Sint64)fpos, RW_SEEK_SET); | ^~~~~~~~~~ ../UI/file.cpp:114:31: error: expected primary-expression before ')' token 114 | pos = SDL_RWseek((SDL_RWops*)hfile, (Sint64)fpos, RW_SEEK_CUR); | ^ ../UI/file.cpp:114:47: error: expected ')' before 'fpos' 114 | pos = SDL_RWseek((SDL_RWops*)hfile, (Sint64)fpos, RW_SEEK_CUR); | ~ ^~~~ | ) ../UI/fileio.cpp: In member function 'void FILEIO::Fclose()': ../UI/fileio.cpp:131:16: error: 'SDL_RWops' was not declared in this scope 131 | SDL_RWclose((SDL_RWops*)fp); | ^~~~~~~~~ ../UI/fileio.cpp:131:26: error: expected primary-expression before ')' token 131 | SDL_RWclose((SDL_RWops*)fp); | ^ ../UI/file.cpp:114:53: error: 'RW_SEEK_CUR' was not declared in this scope; did you mean 'SEEK_CUR'? 114 | pos = SDL_RWseek((SDL_RWops*)hfile, (Sint64)fpos, RW_SEEK_CUR); | ^~~~~~~~~~~ | SEEK_CUR ../UI/fileio.cpp:131:3: error: 'SDL_RWclose' was not declared in this scope 131 | SDL_RWclose((SDL_RWops*)fp); | ^~~~~~~~~~~ ../UI/fileio.cpp: In member function 'bool FILEIO::FgetBool()': ../UI/fileio.cpp:159:3: error: 'SDL_assert' was not declared in this scope 159 | SDL_assert(false); | ^~~~~~~~~~ ../UI/app.h:218:2: error: 'Uint32' does not name a type; did you mean 'int32'? 218 | Uint32 draw_tick[0x40]; | ^~~~~~ | int32 gmake: *** [makefile:41: ../UI/file.o] Error 1 ../UI/video.h:138:2: error: 'SDL_Rect' does not name a type 138 | SDL_Rect status_rect; | ^~~~~~~~ ../UI/fileio.cpp:163:18: error: 'SDL_RWops' was not declared in this scope 163 | s = SDL_RWread((SDL_RWops*)fp, &b, sizeof(b), 1); | ^~~~~~~~~ ../UI/fileio.cpp:163:28: error: expected primary-expression before ')' token 163 | s = SDL_RWread((SDL_RWops*)fp, &b, sizeof(b), 1); | ^ ../ePC-8801MA/vm/../config.h:105:39: error: '_MAX_PATH' was not declared in this scope 105 | _TCHAR recent_tape_path[MAX_HISTORY][_MAX_PATH]; | ^~~~~~~~~ ../UI/fileio.cpp:163:6: error: 'SDL_RWread' was not declared in this scope 163 | s = SDL_RWread((SDL_RWops*)fp, &b, sizeof(b), 1); | ^~~~~~~~~~ ../UI/video.h:140:2: error: 'SDL_Rect' does not name a type 140 | SDL_Rect clear_rect[2]; | ^~~~~~~~ ../UI/video.h:142:2: error: 'Uint8' does not name a type; did you mean 'sint8'? 142 | Uint8 brightness; | ^~~~~ | sint8 ../UI/video.h:146:2: error: 'Uint8' does not name a type; did you mean 'sint8'? 146 | Uint8 softkey_mod; | ^~~~~ | sint8 ../UI/fileio.cpp:165:3: error: 'SDL_assert' was not declared in this scope 165 | SDL_assert(false); | ^~~~~~~~~~ ../UI/video.h:150:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 150 | Uint32 status_alpha; | ^~~~~~ | sint32 ../UI/video.h:166:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 166 | Uint32 frame_rate[2]; | ^~~~~~ | sint32 ../UI/video.h:170:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 170 | Uint32 system_info[2]; | ^~~~~~ | sint32 ../UI/fileio.cpp: In member function 'void FILEIO::FputBool(bool)': ../UI/fileio.cpp:181:3: error: 'SDL_assert' was not declared in this scope 181 | SDL_assert(false); | ^~~~~~~~~~ ../ePC-8801MA/vm/../config.h:140:24: error: '_MAX_PATH' was not declared in this scope 140 | _TCHAR fmgen_dll_path[_MAX_PATH]; | ^~~~~~~~~ ../UI/fileio.cpp:185:19: error: 'SDL_RWops' was not declared in this scope 185 | s = SDL_RWwrite((SDL_RWops*)fp, &b, sizeof(b), 1); | ^~~~~~~~~ ../UI/fileio.cpp:185:29: error: expected primary-expression before ')' token 185 | s = SDL_RWwrite((SDL_RWops*)fp, &b, sizeof(b), 1); | ^ ../UI/video.h:182:2: error: 'SDL_Window' does not name a type 182 | SDL_Window *window; | ^~~~~~~~~~ ../UI/fileio.cpp:185:6: error: 'SDL_RWwrite' was not declared in this scope 185 | s = SDL_RWwrite((SDL_RWops*)fp, &b, sizeof(b), 1); | ^~~~~~~~~~~ ../UI/video.h:184:2: error: 'SDL_Renderer' does not name a type 184 | SDL_Renderer *renderer; | ^~~~~~~~~~~~ In file included from ../UI/diskmgr.cpp:16: ../ePC-8801MA/vm/disk.h:54:19: error: '_MAX_PATH' was not declared in this scope 54 | _TCHAR orig_path[_MAX_PATH]; | ^~~~~~~~~ ../UI/fileio.cpp:187:3: error: 'SDL_assert' was not declared in this scope 187 | SDL_assert(false); | ^~~~~~~~~~ ../ePC-8801MA/vm/disk.h:55:19: error: '_MAX_PATH' was not declared in this scope 55 | _TCHAR dest_path[_MAX_PATH]; | ^~~~~~~~~ ../UI/video.h:186:2: error: 'SDL_Texture' does not name a type 186 | SDL_Texture *draw_texture; | ^~~~~~~~~~~ ../UI/fileio.cpp: In member function 'uint8 FILEIO::FgetUint8()': ../UI/fileio.cpp:202:3: error: 'SDL_assert' was not declared in this scope 202 | SDL_assert(false); | ^~~~~~~~~~ ../UI/video.h:188:2: error: 'SDL_Texture' does not name a type 188 | SDL_Texture *menu_texture; | ^~~~~~~~~~~ ../UI/fileio.cpp:206:18: error: 'SDL_RWops' was not declared in this scope 206 | s = SDL_RWread((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~ ../UI/fileio.cpp:206:28: error: expected primary-expression before ')' token 206 | s = SDL_RWread((SDL_RWops*)fp, &val, sizeof(val), 1); | ^ ../ePC-8801MA/vm/disk.h:56:19: error: '_MAX_PATH' was not declared in this scope 56 | _TCHAR temp_path[_MAX_PATH]; | ^~~~~~~~~ ../UI/fileio.cpp:206:6: error: 'SDL_RWread' was not declared in this scope 206 | s = SDL_RWread((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~~ ../UI/fileio.cpp:208:3: error: 'SDL_assert' was not declared in this scope 208 | SDL_assert(false); | ^~~~~~~~~~ ../UI/fileio.cpp: In member function 'void FILEIO::FputUint8(uint8)': ../UI/fileio.cpp:224:3: error: 'SDL_assert' was not declared in this scope 224 | SDL_assert(false); | ^~~~~~~~~~ ../UI/fileio.cpp:228:19: error: 'SDL_RWops' was not declared in this scope 228 | s = SDL_RWwrite((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~ ../UI/fileio.cpp:228:29: error: expected primary-expression before ')' token 228 | s = SDL_RWwrite((SDL_RWops*)fp, &val, sizeof(val), 1); | ^ ../UI/fileio.cpp:228:6: error: 'SDL_RWwrite' was not declared in this scope 228 | s = SDL_RWwrite((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~~~ ../UI/fileio.cpp:230:3: error: 'SDL_assert' was not declared in this scope 230 | SDL_assert(false); | ^~~~~~~~~~ ../UI/fileio.cpp: In member function 'uint16 FILEIO::FgetUint16()': ../UI/fileio.cpp:245:3: error: 'SDL_assert' was not declared in this scope 245 | SDL_assert(false); | ^~~~~~~~~~ ../UI/app.h:220:2: error: 'Uint32' does not name a type; did you mean 'int32'? 220 | Uint32 draw_tick_count; | ^~~~~~ | int32 ../UI/app.h:226:2: error: 'Uint32' does not name a type; did you mean 'int32'? 226 | Uint32 mouse_tick; | ^~~~~~ | int32 ../UI/app.h:230:2: error: 'Uint32' does not name a type; did you mean 'int32'? 230 | Uint32 system_info; | ^~~~~~ | int32 ../UI/fileio.cpp:249:18: error: 'SDL_RWops' was not declared in this scope 249 | s = SDL_RWread((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~ ../UI/fileio.cpp:249:28: error: expected primary-expression before ')' token 249 | s = SDL_RWread((SDL_RWops*)fp, &val, sizeof(val), 1); | ^ ../UI/app.h:234:18: error: '_MAX_PATH' was not declared in this scope 234 | char state_path[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/fileio.cpp:249:6: error: 'SDL_RWread' was not declared in this scope 249 | s = SDL_RWread((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~~ ../UI/fileio.cpp:251:3: error: 'SDL_assert' was not declared in this scope 251 | SDL_assert(false); | ^~~~~~~~~~ ../UI/fileio.cpp: In member function 'void FILEIO::FputUint16(uint16)': ../UI/fileio.cpp:267:3: error: 'SDL_assert' was not declared in this scope 267 | SDL_assert(false); | ^~~~~~~~~~ ../UI/video.h:190:2: error: 'SDL_Texture' does not name a type 190 | SDL_Texture *softkey_texture; | ^~~~~~~~~~~ ../UI/app.h:242:2: error: 'Uint8' does not name a type; did you mean 'int8'? 242 | Uint8 *audio_param; | ^~~~~ | int8 ../UI/fileio.cpp:271:19: error: 'SDL_RWops' was not declared in this scope 271 | s = SDL_RWwrite((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~ ../UI/fileio.cpp:271:29: error: expected primary-expression before ')' token 271 | s = SDL_RWwrite((SDL_RWops*)fp, &val, sizeof(val), 1); | ^ In file included from ../UI/emu_sdl.cpp:18: ../UI/setting.h:102:2: error: 'Uint32' does not name a type; did you mean 'int32'? 102 | Uint32 GetDip(); | ^~~~~~ | int32 ../UI/video.h:192:2: error: 'SDL_Texture' does not name a type 192 | SDL_Texture *status_texture; | ^~~~~~~~~~~ ../UI/setting.h:106:2: error: 'Uint32' does not name a type; did you mean 'int32'? 106 | Uint32 GetSystems(); | ^~~~~~ | int32 ../UI/fileio.cpp:271:6: error: 'SDL_RWwrite' was not declared in this scope 271 | s = SDL_RWwrite((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~~~ In file included from ../UI/app.cpp:26: ../UI/audio.h:60:12: error: 'Uint8' has not been declared 60 | int Write(Uint8 *stream, int len); | ^~~~~ ../UI/audio.h:62:45: error: 'Uint8' has not been declared 62 | static void CommonCallback(void *userdata, Uint8 *stream, int len); | ^~~~~ ../UI/audio.h:64:16: error: 'Uint8' has not been declared 64 | void Callback(Uint8 *steram, int len); | ^~~~~ ../UI/setting.h:122:2: error: 'Uint8' does not name a type; did you mean 'int8'? 122 | Uint8 GetBrightness(); | ^~~~~ | int8 ../UI/setting.h:124:21: error: 'Uint8' has not been declared 124 | void SetBrightness(Uint8 bri); | ^~~~~ ../UI/setting.h:126:2: error: 'Uint8' does not name a type; did you mean 'int8'? 126 | Uint8 GetMenuAlpha(); | ^~~~~ | int8 ../UI/audio.h:70:2: error: 'SDL_sem' does not name a type 70 | SDL_sem *audio_sem; | ^~~~~~~ ../UI/setting.h:140:2: error: 'Uint8' does not name a type; did you mean 'int8'? 140 | Uint8 GetStatusAlpha(); | ^~~~~ | int8 ../UI/setting.h:142:22: error: 'Uint8' has not been declared 142 | void SetStatusAlpha(Uint8 alpha); | ^~~~~ ../UI/fileio.cpp:273:3: error: 'SDL_assert' was not declared in this scope 273 | SDL_assert(false); | ^~~~~~~~~~ ../UI/setting.h:184:2: error: 'Uint8' does not name a type; did you mean 'int8'? 184 | Uint8 GetSoftKeyAlpha(); | ^~~~~ | int8 ../UI/setting.h:186:23: error: 'Uint8' has not been declared 186 | void SetSoftKeyAlpha(Uint8 alpha); | ^~~~~ ../UI/setting.h:188:2: error: 'Uint32' does not name a type; did you mean 'int32'? 188 | Uint32 GetSoftKeyTime(); | ^~~~~~ | int32 ../UI/setting.h:190:22: error: 'Uint32' has not been declared 190 | void SetSoftKeyTime(Uint32 ms); | ^~~~~~ ../UI/audio.h:76:2: error: 'SDL_AudioDeviceID' does not name a type 76 | SDL_AudioDeviceID device_id; | ^~~~~~~~~~~~~~~~~ ../UI/setting.h:204:2: error: 'Uint32' does not name a type; did you mean 'int32'? 204 | Uint32 GetMouseTime(); | ^~~~~~ | int32 ../UI/setting.h:206:20: error: 'Uint32' has not been declared 206 | void SetMouseTime(Uint32 ms); | ^~~~~~ ../UI/fileio.cpp: In member function 'uint32 FILEIO::FgetUint32()': ../UI/fileio.cpp:288:3: error: 'SDL_assert' was not declared in this scope 288 | SDL_assert(false); | ^~~~~~~~~~ ../UI/setting.h:212:2: error: 'Uint32' does not name a type; did you mean 'int32'? 212 | Uint32 GetJoystickToKey(int button); | ^~~~~~ | int32 ../UI/setting.h:214:36: error: 'Uint32' has not been declared 214 | void SetJoystickToKey(int button, Uint32 data); | ^~~~~~ ../UI/fileio.cpp:292:18: error: 'SDL_RWops' was not declared in this scope 292 | s = SDL_RWread((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~ ../UI/fileio.cpp:292:28: error: expected primary-expression before ')' token 292 | s = SDL_RWread((SDL_RWops*)fp, &val, sizeof(val), 1); | ^ ../UI/setting.h:236:19: error: '_MAX_PATH' was not declared in this scope 236 | char setting_dir[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/audio.h:78:2: error: 'SDL_AudioSpec' does not name a type 78 | SDL_AudioSpec device_spec; | ^~~~~~~~~~~~~ ../UI/fileio.cpp:292:6: error: 'SDL_RWread' was not declared in this scope 292 | s = SDL_RWread((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~~ ../UI/audio.h:84:2: error: 'Uint8' does not name a type; did you mean 'sint8'? 84 | Uint8 *sample_buffer; | ^~~~~ | sint8 ../UI/setting.h:238:20: error: '_MAX_PATH' was not declared in this scope 238 | char setting_path[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/fileio.cpp:294:3: error: 'SDL_assert' was not declared in this scope 294 | SDL_assert(false); | ^~~~~~~~~~ ../UI/fileio.cpp: In member function 'void FILEIO::FputUint32(uint32)': ../UI/fileio.cpp:310:3: error: 'SDL_assert' was not declared in this scope 310 | SDL_assert(false); | ^~~~~~~~~~ ../UI/fileio.cpp:314:19: error: 'SDL_RWops' was not declared in this scope 314 | s = SDL_RWwrite((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~ ../UI/fileio.cpp:314:29: error: expected primary-expression before ')' token 314 | s = SDL_RWwrite((SDL_RWops*)fp, &val, sizeof(val), 1); | ^ In file included from ../UI/app.cpp:27: ../UI/font.h:26:12: error: 'SDL_Window' has not been declared 26 | bool Init(SDL_Window *win); | ^~~~~~~~~~ ../UI/font.h:32:2: error: 'Uint8' does not name a type; did you mean 'sint8'? 32 | Uint8 GetROMVersion(int offset); | ^~~~~ | sint8 ../UI/font.h:36:16: error: 'Uint32' has not been declared 36 | void DrawRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore, Uint32 back); | ^~~~~~ ../UI/font.h:36:29: error: 'SDL_Rect' has not been declared 36 | void DrawRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore, Uint32 back); | ^~~~~~~~ ../UI/font.h:36:45: error: 'Uint32' has not been declared 36 | void DrawRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore, Uint32 back); | ^~~~~~ ../UI/font.h:36:58: error: 'Uint32' has not been declared 36 | void DrawRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore, Uint32 back); | ^~~~~~ ../UI/font.h:38:20: error: 'Uint32' has not been declared 38 | void DrawFillRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore); | ^~~~~~ ../UI/font.h:38:33: error: 'SDL_Rect' has not been declared 38 | void DrawFillRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore); | ^~~~~~~~ ../UI/font.h:38:49: error: 'Uint32' has not been declared 38 | void DrawFillRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore); | ^~~~~~ ../UI/font.h:40:20: error: 'Uint32' has not been declared 40 | void DrawHalfRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore, Uint32 back); | ^~~~~~ ../UI/font.h:40:33: error: 'SDL_Rect' has not been declared 40 | void DrawHalfRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore, Uint32 back); | ^~~~~~~~ ../UI/font.h:40:49: error: 'Uint32' has not been declared 40 | void DrawHalfRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore, Uint32 back); | ^~~~~~ ../UI/font.h:40:62: error: 'Uint32' has not been declared 40 | void DrawHalfRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore, Uint32 back); | ^~~~~~ ../UI/font.h:42:24: error: 'Uint32' has not been declared 42 | void DrawSjisCenterOr(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:42:37: error: 'SDL_Rect' has not been declared 42 | void DrawSjisCenterOr(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~~~ ../UI/font.h:42:73: error: 'Uint32' has not been declared 42 | void DrawSjisCenterOr(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:44:22: error: 'Uint32' has not been declared 44 | void DrawSjisLeftOr(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:44:35: error: 'SDL_Rect' has not been declared 44 | void DrawSjisLeftOr(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~~~ ../UI/font.h:44:71: error: 'Uint32' has not been declared 44 | void DrawSjisLeftOr(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:46:22: error: 'Uint32' has not been declared 46 | void DrawSjisBoldOr(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:46:35: error: 'SDL_Rect' has not been declared 46 | void DrawSjisBoldOr(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~~~ ../UI/font.h:46:71: error: 'Uint32' has not been declared 46 | void DrawSjisBoldOr(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:48:23: error: 'Uint32' has not been declared 48 | void DrawSoftKeyRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore, Uint32 inside); | ^~~~~~ ../UI/font.h:48:36: error: 'SDL_Rect' has not been declared 48 | void DrawSoftKeyRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore, Uint32 inside); | ^~~~~~~~ ../UI/font.h:48:52: error: 'Uint32' has not been declared 48 | void DrawSoftKeyRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore, Uint32 inside); | ^~~~~~ ../UI/font.h:48:65: error: 'Uint32' has not been declared 48 | void DrawSoftKeyRect(Uint32 *buf, SDL_Rect *rect, Uint32 fore, Uint32 inside); | ^~~~~~ ../UI/font.h:50:21: error: 'Uint32' has not been declared 50 | void DrawSoftKey1x(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:50:34: error: 'SDL_Rect' has not been declared 50 | void DrawSoftKey1x(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~~~ ../UI/font.h:50:70: error: 'Uint32' has not been declared 50 | void DrawSoftKey1x(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:52:24: error: 'Uint32' has not been declared 52 | void DrawSoftKey1xSub(Uint32 *buf, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:52:57: error: 'Uint32' has not been declared 52 | void DrawSoftKey1xSub(Uint32 *buf, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:54:21: error: 'Uint32' has not been declared 54 | void DrawSoftKey4x(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:54:34: error: 'SDL_Rect' has not been declared 54 | void DrawSoftKey4x(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~~~ ../UI/font.h:54:70: error: 'Uint32' has not been declared 54 | void DrawSoftKey4x(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:56:25: error: 'Uint32' has not been declared 56 | void DrawAnk9xCenterOr(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:56:38: error: 'SDL_Rect' has not been declared 56 | void DrawAnk9xCenterOr(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~~~ ../UI/font.h:56:74: error: 'Uint32' has not been declared 56 | void DrawAnk9xCenterOr(Uint32 *buf, SDL_Rect *rect, const char *string, Uint32 fore); | ^~~~~~ ../UI/font.h:58:19: error: 'Uint32' has not been declared 58 | void DrawAnkHalf(Uint32 *buf, const char *string, Uint32 fore, Uint32 back); | ^~~~~~ ../UI/font.h:58:52: error: 'Uint32' has not been declared 58 | void DrawAnkHalf(Uint32 *buf, const char *string, Uint32 fore, Uint32 back); | ^~~~~~ ../UI/font.h:58:65: error: 'Uint32' has not been declared 58 | void DrawAnkHalf(Uint32 *buf, const char *string, Uint32 fore, Uint32 back); | ^~~~~~ ../UI/font.h:60:22: error: 'Uint32' has not been declared 60 | void DrawAnkQuarter(Uint32 *buf, char ch, Uint32 fore, Uint32 back); | ^~~~~~ ../UI/font.h:60:44: error: 'Uint32' has not been declared 60 | void DrawAnkQuarter(Uint32 *buf, char ch, Uint32 fore, Uint32 back); | ^~~~~~ ../UI/font.h:60:57: error: 'Uint32' has not been declared 60 | void DrawAnkQuarter(Uint32 *buf, char ch, Uint32 fore, Uint32 back); | ^~~~~~ ../UI/setting.h:244:2: error: 'Uint8' does not name a type; did you mean 'int8'? 244 | Uint8 brightness; | ^~~~~ | int8 ../UI/setting.h:250:2: error: 'Uint8' does not name a type; did you mean 'int8'? 250 | Uint8 softkey_alpha; | ^~~~~ | int8 ../UI/setting.h:252:2: error: 'Uint32' does not name a type; did you mean 'int32'? 252 | Uint32 softkey_time; | ^~~~~~ | int32 ../UI/setting.h:260:2: error: 'Uint32' does not name a type; did you mean 'int32'? 260 | Uint32 mouse_time; | ^~~~~~ | int32 ../UI/setting.h:266:2: error: 'Uint8' does not name a type; did you mean 'int8'? 266 | Uint8 status_alpha; | ^~~~~ | int8 ../UI/font.h:66:2: error: 'SDL_Window' does not name a type 66 | SDL_Window *window; | ^~~~~~~~~~ ../UI/font.h:72:17: error: 'Uint8' has not been declared 72 | int GetAnkAddr(Uint8 ank); | ^~~~~ ../UI/font.h:74:21: error: 'Uint8' has not been declared 74 | int GetAnkHalfAddr(Uint8 ank); | ^~~~~ ../UI/font.h:76:24: error: 'Uint8' has not been declared 76 | int GetAnkQuarterAddr(Uint8 ank); | ^~~~~ ../UI/font.h:78:19: error: 'Uint16' has not been declared 78 | int GetKanjiAddr(Uint16 sjis); | ^~~~~~ In file included from ../UI/emu_sdl.cpp:19: ../UI/video.h:26:12: error: 'SDL_Window' has not been declared 26 | bool Init(SDL_Window *win); | ^~~~~~~~~~ ../UI/font.h:80:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 80 | Uint32 SjisToJis(Uint32 sjis); | ^~~~~~ | sint32 ../UI/font.h:82:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 82 | Uint32 JisToOffset(Uint32 jis); | ^~~~~~ | sint32 ../UI/font.h:86:2: error: 'Uint8' does not name a type; did you mean 'sint8'? 86 | Uint8 kanji_rom[0x40000]; | ^~~~~ | sint8 ../UI/font.h:88:2: error: 'Uint8' does not name a type; did you mean 'sint8'? 88 | Uint8 rom_version[4]; | ^~~~~ | sint8 ../UI/video.h:46:2: error: 'Uint32' does not name a type; did you mean 'int32'? 46 | Uint32* GetMenuFrame(); | ^~~~~~ | int32 ../UI/video.h:50:2: error: 'Uint32' does not name a type; did you mean 'int32'? 50 | Uint32* GetSoftKeyFrame(); | ^~~~~~ | int32 ../UI/video.h:62:20: error: 'Uint32' has not been declared 62 | void SetFrameRate(Uint32 rate); | ^~~~~~ ../UI/video.h:64:21: error: 'Uint32' has not been declared 64 | void SetSystemInfo(Uint32 info); | ^~~~~~ ../UI/video.h:102:20: error: 'SDL_Texture' has not been declared 102 | void CopyFrameBuf(SDL_Texture *texture, Uint32 *src, int height, int top = 0); | ^~~~~~~~~~~ ../UI/video.h:102:42: error: 'Uint32' has not been declared 102 | void CopyFrameBuf(SDL_Texture *texture, Uint32 *src, int height, int top = 0); | ^~~~~~ ../UI/video.h:136:2: error: 'SDL_Rect' does not name a type 136 | SDL_Rect draw_rect; | ^~~~~~~~ ../UI/video.h:138:2: error: 'SDL_Rect' does not name a type 138 | SDL_Rect status_rect; | ^~~~~~~~ ../UI/video.h:140:2: error: 'SDL_Rect' does not name a type 140 | SDL_Rect clear_rect[2]; | ^~~~~~~~ ../UI/video.h:142:2: error: 'Uint8' does not name a type; did you mean 'int8'? 142 | Uint8 brightness; | ^~~~~ | int8 ../UI/video.h:146:2: error: 'Uint8' does not name a type; did you mean 'int8'? 146 | Uint8 softkey_mod; | ^~~~~ | int8 ../UI/video.h:150:2: error: 'Uint32' does not name a type; did you mean 'int32'? 150 | Uint32 status_alpha; | ^~~~~~ | int32 ../UI/video.h:166:2: error: 'Uint32' does not name a type; did you mean 'int32'? 166 | Uint32 frame_rate[2]; | ^~~~~~ | int32 ../UI/video.h:170:2: error: 'Uint32' does not name a type; did you mean 'int32'? 170 | Uint32 system_info[2]; | ^~~~~~ | int32 ../UI/font.h:90:19: error: '_MAX_PATH' was not declared in this scope 90 | char rom_message[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/video.h:182:2: error: 'SDL_Window' does not name a type 182 | SDL_Window *window; | ^~~~~~~~~~ ../UI/video.h:184:2: error: 'SDL_Renderer' does not name a type 184 | SDL_Renderer *renderer; | ^~~~~~~~~~~~ In file included from ../UI/input.h:16, from ../UI/app.cpp:28: ../UI/softkey.h:65:3: error: 'SDL_Scancode' does not name a type 65 | SDL_Scancode code; | ^~~~~~~~~~~~ ../UI/softkey.h:84:13: error: 'Uint32' has not been declared 84 | void Shift(Uint32 shift); | ^~~~~~ ../UI/softkey.h:133:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 133 | Uint32 *frame_buf; | ^~~~~~ | sint32 ../UI/softkey.h:135:2: error: 'SDL_Rect' does not name a type 135 | SDL_Rect key_rect; | ^~~~~~~~ In file included from ../UI/app.cpp:28: ../UI/input.h:62:20: error: 'SDL_Scancode' has not been declared 62 | bool GetKeyStatus(SDL_Scancode code); | ^~~~~~~~~~~~ ../UI/input.h:64:19: error: 'Uint32' has not been declared 64 | void GetJoystick(Uint32 *status); | ^~~~~~ ../UI/input.h:70:28: error: 'SDL_Scancode' has not been declared 70 | void OnKeyDown(bool soft, SDL_Scancode code); | ^~~~~~~~~~~~ ../UI/input.h:72:26: error: 'SDL_Scancode' has not been declared 72 | void OnKeyUp(bool soft, SDL_Scancode code); | ^~~~~~~~~~~~ ../UI/input.h:74:21: error: 'SDL_Event' has not been declared 74 | void OnMouseMotion(SDL_Event *e); | ^~~~~~~~~ ../UI/input.h:76:25: error: 'SDL_Event' has not been declared 76 | void OnMouseButtonDown(SDL_Event *e); | ^~~~~~~~~ ../UI/input.h:78:23: error: 'SDL_Event' has not been declared 78 | void OnMouseButtonUp(SDL_Event *e); | ^~~~~~~~~ ../UI/input.h:80:20: error: 'SDL_Event' has not been declared 80 | void OnMouseWheel(SDL_Event *e); | ^~~~~~~~~ ../UI/input.h:84:20: error: 'SDL_Event' has not been declared 84 | void OnFingerDown(SDL_Event *e); | ^~~~~~~~~ ../UI/input.h:86:18: error: 'SDL_Event' has not been declared 86 | void OnFingerUp(SDL_Event *e); | ^~~~~~~~~ ../UI/input.h:88:22: error: 'SDL_Event' has not been declared 88 | void OnFingerMotion(SDL_Event *e); | ^~~~~~~~~ In file included from ../UI/diskmgr.cpp:19: ../UI/diskmgr.h:88:12: error: '_MAX_PATH' was not declared in this scope 88 | char path[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/input.h:96:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 96 | Uint32 GetKeyShift(); | ^~~~~~ | sint32 ../UI/fileio.cpp:314:6: error: 'SDL_RWwrite' was not declared in this scope 314 | s = SDL_RWwrite((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~~~ ../UI/input.h:124:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 124 | Uint32 key_tick; | ^~~~~~ | sint32 ../UI/diskmgr.h:90:11: error: '_MAX_PATH' was not declared in this scope 90 | char dir[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/fileio.cpp:316:3: error: 'SDL_assert' was not declared in this scope 316 | SDL_assert(false); | ^~~~~~~~~~ ../UI/fileio.cpp: In member function 'uint64 FILEIO::FgetUint64()': ../UI/fileio.cpp:331:3: error: 'SDL_assert' was not declared in this scope 331 | SDL_assert(false); | ^~~~~~~~~~ ../UI/video.h:186:2: error: 'SDL_Texture' does not name a type 186 | SDL_Texture *draw_texture; | ^~~~~~~~~~~ ../UI/video.h:188:2: error: 'SDL_Texture' does not name a type 188 | SDL_Texture *menu_texture; | ^~~~~~~~~~~ ../UI/video.h:190:2: error: 'SDL_Texture' does not name a type 190 | SDL_Texture *softkey_texture; | ^~~~~~~~~~~ ../UI/diskmgr.h:92:18: error: '_MAX_PATH' was not declared in this scope 92 | char state_path[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/video.h:192:2: error: 'SDL_Texture' does not name a type 192 | SDL_Texture *status_texture; | ^~~~~~~~~~~ ../UI/diskmgr.h:100:2: error: 'Uint8' does not name a type; did you mean 'int8'? 100 | Uint8 *wp_list; | ^~~~~ | int8 ../UI/diskmgr.h:106:2: error: 'Uint32' does not name a type; did you mean 'int32'? 106 | Uint32 signal; | ^~~~~~ | int32 ../UI/input.h:126:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 126 | Uint32 key_shift; | ^~~~~~ | sint32 ../UI/input.h:128:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 128 | Uint32 menu_delay; | ^~~~~~ | sint32 In file included from ../UI/emu_sdl.cpp:20: ../UI/emu_sdl.h:44:19: error: '_MAX_PATH' was not declared in this scope 44 | _TCHAR base_path[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/diskmgr.cpp: In constructor 'DiskManager::DiskManager()': ../UI/diskmgr.cpp:42:2: error: 'wp_list' was not declared in this scope; did you mean 'va_list'? 42 | wp_list = NULL; | ^~~~~~~ | va_list ../UI/diskmgr.cpp:43:2: error: 'signal' was not declared in this scope; did you mean 'sigval'? 43 | signal = 0; | ^~~~~~ | sigval ../UI/diskmgr.cpp:44:2: error: 'path' was not declared in this scope 44 | path[0] = '\0'; | ^~~~ ../UI/input.h:130:2: error: 'SDL_Joystick' does not name a type 130 | SDL_Joystick **joystick; | ^~~~~~~~~~~~ ../UI/emu_sdl.h:46:19: error: '_MAX_PATH' was not declared in this scope 46 | _TCHAR bios_path[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/diskmgr.cpp:45:2: error: 'dir' was not declared in this scope 45 | dir[0] = '\0'; | ^~~ ../UI/fileio.cpp:335:18: error: 'SDL_RWops' was not declared in this scope 335 | s = SDL_RWread((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~ ../UI/fileio.cpp:335:28: error: expected primary-expression before ')' token 335 | s = SDL_RWread((SDL_RWops*)fp, &val, sizeof(val), 1); | ^ ../UI/input.h:134:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 134 | Uint32 joystick_prev; | ^~~~~~ | sint32 ../UI/input.h:136:2: error: 'Uint8' does not name a type; did you mean 'sint8'? 136 | Uint8 key_status[0x100]; | ^~~~~ | sint8 ../UI/input.h:138:2: error: 'Uint8' does not name a type; did you mean 'sint8'? 138 | Uint8 key_buf[0x100]; | ^~~~~ | sint8 ../UI/diskmgr.cpp:46:2: error: 'state_path' was not declared in this scope 46 | state_path[0] = '\0'; | ^~~~~~~~~~ ../UI/emu_sdl.cpp: In constructor 'EMU_SDL::EMU_SDL(App*, Video*)': ../UI/emu_sdl.cpp:42:2: error: 'SDL_assert' was not declared in this scope 42 | SDL_assert(v != NULL); | ^~~~~~~~~~ ../UI/diskmgr.cpp: In member function 'bool DiskManager::Open(const char*, int)': ../UI/diskmgr.cpp:111:33: error: 'path' was not declared in this scope 111 | if (strlen(filename) >= sizeof(path)) { | ^~~~ ../UI/emu_sdl.cpp:57:9: error: 'base_path' was not declared in this scope 57 | strcpy(base_path, setting->GetSettingDir()); | ^~~~~~~~~ ../UI/fileio.cpp:335:6: error: 'SDL_RWread' was not declared in this scope 335 | s = SDL_RWread((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~~ ../UI/diskmgr.cpp:114:9: error: 'path' was not declared in this scope 114 | strcpy(path, filename); | ^~~~ ../UI/diskmgr.cpp:117:9: error: 'dir' was not declared in this scope 117 | strcpy(dir, path); | ^~~ ../UI/input.h:140:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 140 | Uint32 key_table[0x120]; | ^~~~~~ | sint32 ../UI/input.h:142:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 142 | Uint32 key_soft_make_tick[0x120]; | ^~~~~~ | sint32 ../UI/diskmgr.cpp: In member function 'bool DiskManager::Open(int)': ../UI/diskmgr.cpp:158:32: error: 'path' was not declared in this scope 158 | vm->open_disk(drive, (_TCHAR*)path, current_bank); | ^~~~ ../UI/fileio.cpp:337:3: error: 'SDL_assert' was not declared in this scope 337 | SDL_assert(false); | ^~~~~~~~~~ ../UI/input.h:146:15: error: 'Uint32' does not name a type; did you mean 'sint32'? 146 | static const Uint32 key_base[0x120]; | ^~~~~~ | sint32 ../UI/emu_sdl.cpp: In member function '_TCHAR* EMU_SDL::get_app_path()': ../UI/emu_sdl.cpp:77:13: error: 'base_path' was not declared in this scope 77 | SDL_assert(base_path != NULL); | ^~~~~~~~~ ../UI/input.h:148:15: error: 'Uint32' does not name a type; did you mean 'sint32'? 148 | static const Uint32 joystick_button[15 * 2]; | ^~~~~~ | sint32 ../UI/diskmgr.cpp: In member function 'void DiskManager::Close()': ../UI/diskmgr.cpp:180:3: error: 'SDL_free' was not declared in this scope 180 | SDL_free(name_list); | ^~~~~~~~ ../UI/fileio.cpp: In member function 'void FILEIO::FputUint64(uint64)': ../UI/fileio.cpp:353:3: error: 'SDL_assert' was not declared in this scope 353 | SDL_assert(false); | ^~~~~~~~~~ ../UI/emu_sdl.cpp:77:2: error: 'SDL_assert' was not declared in this scope 77 | SDL_assert(base_path != NULL); | ^~~~~~~~~~ In file included from ../UI/app.cpp:29: ../UI/converter.h:38:2: error: 'Uint16' does not name a type; did you mean 'sint16'? 38 | Uint16 *ucs_table; | ^~~~~~ | sint16 ../UI/converter.h:40:15: error: 'Uint16' does not name a type; did you mean 'sint16'? 40 | static const Uint16 sjis_table[0x30 * 0xc0]; | ^~~~~~ | sint16 In file included from ../UI/app.cpp:30: ../UI/menu.h:120:17: error: 'SDL_Event' has not been declared 120 | void OnKeyDown(SDL_Event *e); | ^~~~~~~~~ ../UI/menu.h:122:21: error: 'SDL_Event' has not been declared 122 | void OnMouseMotion(SDL_Event *e); | ^~~~~~~~~ ../UI/menu.h:124:25: error: 'SDL_Event' has not been declared 124 | void OnMouseButtonDown(SDL_Event *e); | ^~~~~~~~~ ../UI/menu.h:126:23: error: 'SDL_Event' has not been declared 126 | void OnMouseButtonUp(SDL_Event *e); | ^~~~~~~~~ ../UI/menu.h:128:20: error: 'SDL_Event' has not been declared 128 | void OnMouseWheel(SDL_Event *e); | ^~~~~~~~~ ../UI/menu.h:132:20: error: 'SDL_Event' has not been declared 132 | void OnFingerDown(SDL_Event *e); | ^~~~~~~~~ ../UI/menu.h:134:18: error: 'SDL_Event' has not been declared 134 | void OnFingerUp(SDL_Event *e); | ^~~~~~~~~ ../UI/menu.h:136:22: error: 'SDL_Event' has not been declared 136 | void OnFingerMotion(SDL_Event *e); | ^~~~~~~~~ ../UI/fileio.cpp:357:19: error: 'SDL_RWops' was not declared in this scope 357 | s = SDL_RWwrite((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~ ../UI/fileio.cpp:357:29: error: expected primary-expression before ')' token 357 | s = SDL_RWwrite((SDL_RWops*)fp, &val, sizeof(val), 1); | ^ ../UI/emu_sdl.cpp: In member function '_TCHAR* EMU_SDL::get_bios_path(_TCHAR*)': ../UI/emu_sdl.cpp:87:2: error: 'SDL_assert' was not declared in this scope 87 | SDL_assert(file_name != NULL); | ^~~~~~~~~~ ../UI/emu_sdl.cpp:88:13: error: 'base_path' was not declared in this scope 88 | SDL_assert(base_path != NULL); | ^~~~~~~~~ ../UI/fileio.cpp:357:6: error: 'SDL_RWwrite' was not declared in this scope 357 | s = SDL_RWwrite((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~~~ ../UI/emu_sdl.cpp:91:56: error: 'bios_path' was not declared in this scope; did you mean 'get_bios_path'? 91 | if ((strlen(base_path) + strlen(file_name)) >= sizeof(bios_path)) { | ^~~~~~~~~ | get_bios_path ../UI/fileio.cpp:359:3: error: 'SDL_assert' was not declared in this scope 359 | SDL_assert(false); | ^~~~~~~~~~ ../UI/menu.h:162:16: error: '_MAX_PATH' was not declared in this scope 162 | char file_dir[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/emu_sdl.cpp:97:9: error: 'bios_path' was not declared in this scope; did you mean 'get_bios_path'? 97 | strcpy(bios_path, base_path); | ^~~~~~~~~ | get_bios_path ../UI/emu_sdl.cpp: In member function 'void EMU_SDL::get_host_time(cur_time_t*)': ../UI/emu_sdl.cpp:117:40: warning: 'void* std::memset(void*, int, std::size_t)' clearing an object of non-trivial type 'cur_time_t' {aka 'struct cur_time_s'}; use assignment or value-initialization instead [-Wclass-memaccess] 117 | memset(emu_time, 0, sizeof(cur_time_t)); | ^ In file included from ../UI/emu_sdl.cpp:14: ../ePC-8801MA/common.h:245:16: note: 'cur_time_t' {aka 'struct cur_time_s'} declared here 245 | typedef struct cur_time_s { | ^~~~~~~~~~ ../UI/diskmgr.cpp:185:6: error: 'wp_list' was not declared in this scope; did you mean 'va_list'? 185 | if (wp_list != NULL) { | ^~~~~~~ | va_list ../UI/menu.h:164:19: error: '_MAX_PATH' was not declared in this scope 164 | char file_target[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/emu_sdl.cpp: In static member function 'static void EMU_SDL::current_thread_sleep(uint32)': ../UI/emu_sdl.cpp:167:13: error: 'Uint32' was not declared in this scope; did you mean 'int32'? 167 | SDL_Delay((Uint32)ms); | ^~~~~~ | int32 ../UI/diskmgr.cpp:186:3: error: 'SDL_free' was not declared in this scope 186 | SDL_free(wp_list); | ^~~~~~~~ ../UI/menu.h:166:19: error: '_MAX_PATH' was not declared in this scope 166 | char file_expect[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/emu_sdl.cpp:167:2: error: 'SDL_Delay' was not declared in this scope 167 | SDL_Delay((Uint32)ms); | ^~~~~~~~~ ../UI/menu.h:176:15: error: 'Uint32' does not name a type; did you mean 'sint32'? 176 | static const Uint32 joytest_table[15 * 2]; | ^~~~~~ | sint32 ../UI/diskmgr.cpp: In member function 'bool DiskManager::IsProtect()': ../UI/diskmgr.cpp:239:7: error: 'wp_list' was not declared in this scope; did you mean 'va_list'? 239 | if (wp_list[current_bank] != 0x00) { | ^~~~~~~ | va_list ../UI/diskmgr.cpp: In member function 'const char* DiskManager::GetDir()': ../UI/diskmgr.cpp:315:9: error: 'dir' was not declared in this scope 315 | return dir; | ^~~ In file included from ../UI/app.cpp:32: ../UI/diskmgr.h:88:12: error: '_MAX_PATH' was not declared in this scope 88 | char path[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/diskmgr.h:90:11: error: '_MAX_PATH' was not declared in this scope 90 | char dir[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/fileio.cpp: In member function 'double FILEIO::FgetDouble()': ../UI/fileio.cpp:374:3: error: 'SDL_assert' was not declared in this scope 374 | SDL_assert(false); | ^~~~~~~~~~ ../UI/diskmgr.h:92:18: error: '_MAX_PATH' was not declared in this scope 92 | char state_path[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/diskmgr.h:100:2: error: 'Uint8' does not name a type; did you mean 'sint8'? 100 | Uint8 *wp_list; | ^~~~~ | sint8 ../UI/fileio.cpp:378:18: error: 'SDL_RWops' was not declared in this scope 378 | s = SDL_RWread((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~ ../UI/fileio.cpp:378:28: error: expected primary-expression before ')' token 378 | s = SDL_RWread((SDL_RWops*)fp, &val, sizeof(val), 1); | ^ ../UI/diskmgr.cpp: In member function 'const char* DiskManager::GetFileName()': ../UI/diskmgr.cpp:332:15: error: 'dir' was not declared in this scope 332 | len = strlen(dir); | ^~~ ../UI/fileio.cpp:378:6: error: 'SDL_RWread' was not declared in this scope 378 | s = SDL_RWread((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~~ ../UI/diskmgr.cpp:333:2: error: 'SDL_assert' was not declared in this scope 333 | SDL_assert(len > 0); | ^~~~~~~~~~ ../UI/fileio.cpp:380:3: error: 'SDL_assert' was not declared in this scope 380 | SDL_assert(false); | ^~~~~~~~~~ ../UI/diskmgr.cpp:334:20: error: 'path' was not declared in this scope 334 | SDL_assert(strlen(path) > len); | ^~~~ ../UI/diskmgr.cpp: In member function 'bool DiskManager::SetBank(int)': ../UI/diskmgr.cpp:366:33: error: 'path' was not declared in this scope 366 | vm->open_disk(drive, (_TCHAR*)path, bank); | ^~~~ ../UI/diskmgr.cpp: In member function 'void DiskManager::ProcessMgr()': ../UI/diskmgr.cpp:390:34: error: 'path' was not declared in this scope 390 | vm->open_disk(drive, (_TCHAR*)path, current_bank); | ^~~~ ../UI/fileio.cpp: In member function 'void FILEIO::FputDouble(double)': ../UI/fileio.cpp:396:3: error: 'SDL_assert' was not declared in this scope 396 | SDL_assert(false); | ^~~~~~~~~~ ../UI/fileio.cpp:400:19: error: 'SDL_RWops' was not declared in this scope 400 | s = SDL_RWwrite((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~ ../UI/fileio.cpp:400:29: error: expected primary-expression before ')' token 400 | s = SDL_RWwrite((SDL_RWops*)fp, &val, sizeof(val), 1); | ^ ../UI/diskmgr.cpp: In member function 'void DiskManager::Load(FILEIO*)': ../UI/diskmgr.cpp:408:13: error: 'state_path' was not declared in this scope 408 | fio->Fread(state_path, 1, sizeof(state_path)); | ^~~~~~~~~~ ../UI/fileio.cpp:400:6: error: 'SDL_RWwrite' was not declared in this scope 400 | s = SDL_RWwrite((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~~~ ../UI/diskmgr.cpp: In member function 'void DiskManager::Save(FILEIO*)': ../UI/diskmgr.cpp:431:14: error: 'path' was not declared in this scope 431 | fio->Fwrite(path, 1, sizeof(path)); | ^~~~ ../UI/diskmgr.cpp: In member function 'bool DiskManager::Analyze()': ../UI/diskmgr.cpp:445:2: error: 'Uint8' was not declared in this scope; did you mean 'int8'? 445 | Uint8 header[0x2b0]; | ^~~~~ | int8 ../UI/diskmgr.cpp:446:2: error: 'Uint32' was not declared in this scope; did you mean 'int32'? 446 | Uint32 offset; | ^~~~~~ | int32 ../UI/diskmgr.cpp:447:8: error: expected ';' before 'add' 447 | Uint32 add; | ^~~~ | ; ../UI/fileio.cpp:402:3: error: 'SDL_assert' was not declared in this scope 402 | SDL_assert(false); | ^~~~~~~~~~ ../UI/diskmgr.cpp:452:8: error: expected ';' before 'trkofs' 452 | Uint32 trkofs; | ^~~~~~~ | ; ../UI/diskmgr.h:106:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 106 | Uint32 signal; | ^~~~~~ | sint32 ../UI/diskmgr.cpp:455:16: error: 'path' was not declared in this scope 455 | if (fio.Fopen(path, FILEIO_READ_BINARY) == false) { | ^~~~ ../UI/diskmgr.cpp:460:29: error: 'path' was not declared in this scope 460 | readonly = fio.IsProtected(path); | ^~~~ ../UI/fileio.cpp: In member function 'int8 FILEIO::FgetInt8()': ../UI/fileio.cpp:417:3: error: 'SDL_assert' was not declared in this scope 417 | SDL_assert(false); | ^~~~~~~~~~ ../UI/diskmgr.cpp:464:2: error: 'offset' was not declared in this scope; did you mean 'offset_t'? 464 | offset = 0; | ^~~~~~ | offset_t In file included from ../UI/app.cpp:33: ../UI/tapemgr.h:62:12: error: '_MAX_PATH' was not declared in this scope 62 | char path[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/diskmgr.cpp:470:17: error: 'header' was not declared in this scope 470 | if (fio.Fread(header, 1, sizeof(header)) != sizeof(header)) { | ^~~~~~ ../UI/fileio.cpp:421:18: error: 'SDL_RWops' was not declared in this scope 421 | s = SDL_RWread((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~ ../UI/fileio.cpp:421:28: error: expected primary-expression before ')' token 421 | s = SDL_RWread((SDL_RWops*)fp, &val, sizeof(val), 1); | ^ ../UI/diskmgr.cpp:476:8: error: 'header' was not declared in this scope 476 | if ((header[0x23] != 0x00) || | ^~~~~~ ../UI/tapemgr.h:64:11: error: '_MAX_PATH' was not declared in this scope 64 | char dir[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/fileio.cpp:421:6: error: 'SDL_RWread' was not declared in this scope 421 | s = SDL_RWread((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~~ ../UI/diskmgr.cpp:491:3: error: 'header' was not declared in this scope 491 | header[0x10] = 0x00; | ^~~~~~ ../UI/diskmgr.cpp:496:3: error: 'add' was not declared in this scope 496 | add = (Uint32)header[0x1f]; | ^~~ ../UI/tapemgr.h:66:18: 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:15: error: 'SDL_Scancode' has not been declared 78 | void OnKeyVM(SDL_Scancode code); | ^~~~~~~~~~~~ ../UI/app.h:80:16: error: 'Uint8' has not been declared 80 | void GetKeyVM(Uint8 *buf); | ^~~~~ ../UI/fileio.cpp:423:3: error: 'SDL_assert' was not declared in this scope 423 | SDL_assert(false); | ^~~~~~~~~~ ../UI/app.h:82:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 82 | Uint32 GetKeyCode(Uint32 port, Uint32 bit); | ^~~~~~ | sint32 ../UI/app.h:108:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 108 | Uint32 GetAppVersion(); | ^~~~~~ | sint32 ../UI/app.h:132:12: error: 'SDL_Event' has not been declared 132 | void Poll(SDL_Event *e); | ^~~~~~~~~ ../UI/app.h:134:16: error: 'SDL_Event' has not been declared 134 | void OnWindow(SDL_Event *e); | ^~~~~~~~~ ../UI/app.h:136:17: error: 'SDL_Event' has not been declared 136 | void OnKeyDown(SDL_Event *e); | ^~~~~~~~~ ../UI/app.h:138:15: error: 'SDL_Event' has not been declared 138 | void OnKeyUp(SDL_Event *e); | ^~~~~~~~~ ../UI/app.h:140:18: error: 'SDL_Event' has not been declared 140 | void OnDropFile(SDL_Event *e); | ^~~~~~~~~ ../UI/fileio.cpp: In member function 'void FILEIO::FputInt8(int8)': ../UI/fileio.cpp:439:3: error: 'SDL_assert' was not declared in this scope 439 | SDL_assert(false); | ^~~~~~~~~~ ../UI/diskmgr.cpp:506:4: error: 'trkofs' was not declared in this scope 506 | trkofs = (Uint32)(header[0x20 + track * 4 + 3]); | ^~~~~~ ../UI/app.h:154:2: error: 'SDL_sem' does not name a type 154 | SDL_sem *vm_sem; | ^~~~~~~ ../UI/fileio.cpp:443:19: error: 'SDL_RWops' was not declared in this scope 443 | s = SDL_RWwrite((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~ ../UI/fileio.cpp:443:29: error: expected primary-expression before ')' token 443 | s = SDL_RWwrite((SDL_RWops*)fp, &val, sizeof(val), 1); | ^ ../UI/app.h:158:2: error: 'SDL_Window' does not name a type 158 | SDL_Window *window; | ^~~~~~~~~~ ../UI/fileio.cpp:443:6: error: 'SDL_RWwrite' was not declared in this scope 443 | s = SDL_RWwrite((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~~~ ../UI/diskmgr.cpp:536:21: error: 'SDL_malloc' was not declared in this scope 536 | name_list = (char*)SDL_malloc(len); | ^~~~~~~~~~ ../UI/app.h:218:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 218 | Uint32 draw_tick[0x40]; | ^~~~~~ | sint32 ../UI/app.h:220:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 220 | Uint32 draw_tick_count; | ^~~~~~ | sint32 ../UI/diskmgr.cpp:541:2: error: 'wp_list' was not declared in this scope; did you mean 'va_list'? 541 | wp_list = (Uint8*)SDL_malloc(num_of_banks); | ^~~~~~~ | va_list ../UI/diskmgr.cpp:541:19: error: expected primary-expression before ')' token 541 | wp_list = (Uint8*)SDL_malloc(num_of_banks); | ^ ../UI/app.h:226:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 226 | Uint32 mouse_tick; | ^~~~~~ | sint32 ../UI/app.h:230:2: error: 'Uint32' does not name a type; did you mean 'sint32'? 230 | Uint32 system_info; | ^~~~~~ | sint32 ../UI/diskmgr.cpp:543:3: error: 'SDL_free' was not declared in this scope 543 | SDL_free(name_list); | ^~~~~~~~ ../UI/fileio.cpp:445:3: error: 'SDL_assert' was not declared in this scope 445 | SDL_assert(false); | ^~~~~~~~~~ ../UI/app.h:234:18: error: '_MAX_PATH' was not declared in this scope 234 | char state_path[_MAX_PATH * 3]; | ^~~~~~~~~ ../UI/diskmgr.cpp:557:13: error: 'header' was not declared in this scope 557 | fio.Fread(header, 1, sizeof(header)); | ^~~~~~ ../UI/app.h:242:2: error: 'Uint8' does not name a type; did you mean 'sint8'? 242 | Uint8 *audio_param; | ^~~~~ | sint8 ../UI/diskmgr.cpp:570:3: error: 'add' was not declared in this scope 570 | add = (Uint32)header[0x1f]; | ^~~ gmake: *** [makefile:41: ../UI/emu_sdl.o] Error 1 ../UI/fileio.cpp: In member function 'int32 FILEIO::FgetInt32()': ../UI/fileio.cpp:460:3: error: 'SDL_assert' was not declared in this scope 460 | SDL_assert(false); | ^~~~~~~~~~ ../UI/fileio.cpp:464:18: error: 'SDL_RWops' was not declared in this scope 464 | s = SDL_RWread((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~ ../UI/fileio.cpp:464:28: error: expected primary-expression before ')' token 464 | s = SDL_RWread((SDL_RWops*)fp, &val, sizeof(val), 1); | ^ ../UI/fileio.cpp:464:6: error: 'SDL_RWread' was not declared in this scope 464 | s = SDL_RWread((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~~ ../UI/fileio.cpp:466:3: error: 'SDL_assert' was not declared in this scope 466 | SDL_assert(false); | ^~~~~~~~~~ ../UI/fileio.cpp: In member function 'void FILEIO::FputInt32(int32)': ../UI/fileio.cpp:482:3: error: 'SDL_assert' was not declared in this scope 482 | SDL_assert(false); | ^~~~~~~~~~ ../UI/fileio.cpp:486:19: error: 'SDL_RWops' was not declared in this scope 486 | s = SDL_RWwrite((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~ ../UI/fileio.cpp:486:29: error: expected primary-expression before ')' token 486 | s = SDL_RWwrite((SDL_RWops*)fp, &val, sizeof(val), 1); | ^ ../UI/fileio.cpp:486:6: error: 'SDL_RWwrite' was not declared in this scope 486 | s = SDL_RWwrite((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~~~ ../UI/fileio.cpp:488:3: error: 'SDL_assert' was not declared in this scope 488 | SDL_assert(false); | ^~~~~~~~~~ ../UI/app.cpp: In constructor 'App::App()': ../UI/app.cpp:87:13: error: 'SDL_arraysize' was not declared in this scope 87 | SDL_assert(SDL_arraysize(diskmgr) == MAX_DRIVE); | ^~~~~~~~~~~~~ ../UI/app.cpp:87:2: error: 'SDL_assert' was not declared in this scope 87 | SDL_assert(SDL_arraysize(diskmgr) == MAX_DRIVE); | ^~~~~~~~~~ ../UI/app.cpp:90:2: error: 'vm_sem' was not declared in this scope 90 | vm_sem = NULL; | ^~~~~~ ../UI/fileio.cpp: In member function 'uint32 FILEIO::FgetUint32_LE()': ../UI/fileio.cpp:502:3: error: 'SDL_assert' was not declared in this scope 502 | SDL_assert(false); | ^~~~~~~~~~ ../UI/app.cpp:92:2: error: 'window' was not declared in this scope; did you mean 'OnWindow'? 92 | window = NULL; | ^~~~~~ | OnWindow ../UI/fileio.cpp:506:22: error: 'SDL_RWops' was not declared in this scope 506 | val = SDL_ReadLE32((SDL_RWops*)fp); | ^~~~~~~~~ ../UI/fileio.cpp:506:32: error: expected primary-expression before ')' token 506 | val = SDL_ReadLE32((SDL_RWops*)fp); | ^ ../UI/app.cpp:125:9: error: 'draw_tick' was not declared in this scope 125 | memset(draw_tick, 0, sizeof(draw_tick)); | ^~~~~~~~~ gmake: *** [makefile:41: ../UI/diskmgr.o] Error 1 ../UI/fileio.cpp:506:8: error: 'SDL_ReadLE32' was not declared in this scope 506 | val = SDL_ReadLE32((SDL_RWops*)fp); | ^~~~~~~~~~~~ ../UI/app.cpp:126:2: 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:2: error: 'mouse_tick' was not declared in this scope 130 | mouse_tick = 0; | ^~~~~~~~~~ ../UI/fileio.cpp: In member function 'int FILEIO::Fgetc()': ../UI/fileio.cpp:524:18: error: 'SDL_RWops' was not declared in this scope 524 | s = SDL_RWread((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~ ../UI/fileio.cpp:524:28: error: expected primary-expression before ')' token 524 | s = SDL_RWread((SDL_RWops*)fp, &val, sizeof(val), 1); | ^ ../UI/fileio.cpp:524:6: error: 'SDL_RWread' was not declared in this scope 524 | s = SDL_RWread((SDL_RWops*)fp, &val, sizeof(val), 1); | ^~~~~~~~~~ ../UI/app.cpp:133:2: error: 'system_info' was not declared in this scope 133 | system_info = 0; | ^~~~~~~~~~~ ../UI/fileio.cpp: In member function 'uint32 FILEIO::Fread(void*, uint32, uint32)': ../UI/fileio.cpp:541:3: error: 'SDL_assert' was not declared in this scope 541 | SDL_assert(false); | ^~~~~~~~~~ ../UI/app.cpp:136:2: error: 'state_path' was not declared in this scope 136 | state_path[0] = '\0'; | ^~~~~~~~~~ ../UI/app.cpp:139:2: 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:9: error: 'SDL_GetPlatform' was not declared in this scope; did you mean 'GetPlatform'? 172 | name = SDL_GetPlatform(); | ^~~~~~~~~~~~~~~ | GetPlatform ../UI/app.cpp:184:3: error: 'vm_sem' was not declared in this scope 184 | vm_sem = SDL_CreateSemaphore(1); | ^~~~~~ ../UI/app.cpp:184:12: error: 'SDL_CreateSemaphore' was not declared in this scope 184 | vm_sem = SDL_CreateSemaphore(1); | ^~~~~~~~~~~~~~~~~~~ ../UI/app.cpp:199:14: error: 'SDL_HINT_RENDER_SCALE_QUALITY' was not declared in this scope 199 | SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, setting->GetScaleQuality()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../UI/fileio.cpp:545:18: error: 'SDL_RWops' was not declared in this scope 545 | s = SDL_RWread((SDL_RWops*)fp, buffer, (size_t)size, (size_t)count); | ^~~~~~~~~ ../UI/fileio.cpp:545:28: error: expected primary-expression before ')' token 545 | s = SDL_RWread((SDL_RWops*)fp, buffer, (size_t)size, (size_t)count); | ^ ../UI/app.cpp:199:2: error: 'SDL_SetHint' was not declared in this scope 199 | SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, setting->GetScaleQuality()); | ^~~~~~~~~~~ ../UI/fileio.cpp:545:6: error: 'SDL_RWread' was not declared in this scope 545 | s = SDL_RWread((SDL_RWops*)fp, buffer, (size_t)size, (size_t)count); | ^~~~~~~~~~ ../UI/app.cpp:212:2: error: 'window' was not declared in this scope; did you mean 'OnWindow'? 212 | window = SDL_CreateWindow( GetAppTitle(), | ^~~~~~ | OnWindow ../UI/app.cpp:213:9: error: 'SDL_WINDOWPOS_UNDEFINED' was not declared in this scope 213 | SDL_WINDOWPOS_UNDEFINED, | ^~~~~~~~~~~~~~~~~~~~~~~ ../UI/fileio.cpp: In member function 'uint32 FILEIO::Fwrite(void*, uint32, uint32)': ../UI/fileio.cpp:559:3: error: 'SDL_assert' was not declared in this scope 559 | SDL_assert(false); | ^~~~~~~~~~ ../UI/fileio.cpp:563:19: error: 'SDL_RWops' was not declared in this scope 563 | s = SDL_RWwrite((SDL_RWops*)fp, buffer, (size_t)size, (size_t)count); | ^~~~~~~~~ ../UI/fileio.cpp:563:29: error: expected primary-expression before ')' token 563 | s = SDL_RWwrite((SDL_RWops*)fp, buffer, (size_t)size, (size_t)count); | ^ ../UI/fileio.cpp:563:6: error: 'SDL_RWwrite' was not declared in this scope 563 | s = SDL_RWwrite((SDL_RWops*)fp, buffer, (size_t)size, (size_t)count); | ^~~~~~~~~~~ ../UI/fileio.cpp: In member function 'uint32 FILEIO::Fseek(long int, int)': ../UI/fileio.cpp:574:2: error: 'Sint64' was not declared in this scope; did you mean 'int64'? 574 | Sint64 current; | ^~~~~~ | int64 ../UI/fileio.cpp:576:2: error: 'current' was not declared in this scope 576 | current = 0; | ^~~~~~~ ../UI/fileio.cpp:579:3: error: 'SDL_assert' was not declared in this scope 579 | SDL_assert(false); | ^~~~~~~~~~ ../UI/fileio.cpp:586:25: error: 'SDL_RWops' was not declared in this scope 586 | current = SDL_RWseek((SDL_RWops*)fp, (Sint64)offset, RW_SEEK_CUR); | ^~~~~~~~~ ../UI/fileio.cpp:586:35: error: expected primary-expression before ')' token 586 | current = SDL_RWseek((SDL_RWops*)fp, (Sint64)offset, RW_SEEK_CUR); | ^ ../UI/fileio.cpp:586:48: error: expected ')' before 'offset' 586 | current = SDL_RWseek((SDL_RWops*)fp, (Sint64)offset, RW_SEEK_CUR); | ~ ^~~~~~ | ) ../UI/fileio.cpp:586:56: error: 'RW_SEEK_CUR' was not declared in this scope; did you mean 'SEEK_CUR'? 586 | current = SDL_RWseek((SDL_RWops*)fp, (Sint64)offset, RW_SEEK_CUR); | ^~~~~~~~~~~ | SEEK_CUR ../UI/fileio.cpp:586:13: error: 'SDL_RWseek' was not declared in this scope 586 | current = SDL_RWseek((SDL_RWops*)fp, (Sint64)offset, RW_SEEK_CUR); | ^~~~~~~~~~ ../UI/fileio.cpp:594:35: error: expected primary-expression before ')' token 594 | current = SDL_RWseek((SDL_RWops*)fp, (Sint64)offset, RW_SEEK_END); | ^ ../UI/fileio.cpp:594:48: error: expected ')' before 'offset' 594 | current = SDL_RWseek((SDL_RWops*)fp, (Sint64)offset, RW_SEEK_END); | ~ ^~~~~~ | ) ../UI/fileio.cpp:594:56: error: 'RW_SEEK_END' was not declared in this scope; did you mean 'SEEK_END'? 594 | current = SDL_RWseek((SDL_RWops*)fp, (Sint64)offset, RW_SEEK_END); | ^~~~~~~~~~~ | SEEK_END ../UI/fileio.cpp:602:35: error: expected primary-expression before ')' token 602 | current = SDL_RWseek((SDL_RWops*)fp, (Sint64)offset, RW_SEEK_SET); | ^ ../UI/fileio.cpp:602:48: error: expected ')' before 'offset' 602 | current = SDL_RWseek((SDL_RWops*)fp, (Sint64)offset, RW_SEEK_SET); | ~ ^~~~~~ | ) ../UI/fileio.cpp:602:56: error: 'RW_SEEK_SET' was not declared in this scope; did you mean 'SEEK_SET'? 602 | current = SDL_RWseek((SDL_RWops*)fp, (Sint64)offset, RW_SEEK_SET); | ^~~~~~~~~~~ | SEEK_SET ../UI/fileio.cpp:610:3: error: 'SDL_assert' was not declared in this scope 610 | SDL_assert(false); | ^~~~~~~~~~ ../UI/fileio.cpp: In member function 'uint32 FILEIO::Ftell()': ../UI/fileio.cpp:624:2: error: 'Sint64' was not declared in this scope; did you mean 'int64'? 624 | Sint64 current; | ^~~~~~ | int64 ../UI/fileio.cpp:627:3: error: 'SDL_assert' was not declared in this scope 627 | SDL_assert(false); | ^~~~~~~~~~ ../UI/fileio.cpp:631:2: error: 'current' was not declared in this scope 631 | current = SDL_RWtell((SDL_RWops*)fp); | ^~~~~~~ ../UI/fileio.cpp:631:24: error: 'SDL_RWops' was not declared in this scope 631 | current = SDL_RWtell((SDL_RWops*)fp); | ^~~~~~~~~ ../UI/fileio.cpp:631:34: error: expected primary-expression before ')' token 631 | current = SDL_RWtell((SDL_RWops*)fp); | ^ ../UI/fileio.cpp:631:12: error: 'SDL_RWtell' was not declared in this scope 631 | current = SDL_RWtell((SDL_RWops*)fp); | ^~~~~~~~~~ ../UI/app.cpp:217:9: error: 'SDL_WINDOW_SHOWN' was not declared in this scope 217 | SDL_WINDOW_SHOWN | SDL_WINDOW_INPUT_FOCUS | SDL_WINDOW_MOUSE_FOCUS); | ^~~~~~~~~~~~~~~~ ../UI/fileio.cpp: In static member function 'static void FILEIO::Remove(_TCHAR*)': ../UI/fileio.cpp:644:2: error: 'SDL_assert' was not declared in this scope 644 | SDL_assert(false); | ^~~~~~~~~~ ../UI/app.cpp:217:28: 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:53: 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:11: error: 'SDL_CreateWindow' was not declared in this scope 212 | window = SDL_CreateWindow( GetAppTitle(), | ^~~~~~~~~~~~~~~~ ../UI/app.cpp:224:17: error: 'SDL_DROPFILE' was not declared in this scope 224 | SDL_EventState(SDL_DROPFILE, SDL_ENABLE); | ^~~~~~~~~~~~ ../UI/app.cpp:224:31: error: 'SDL_ENABLE' was not declared in this scope 224 | SDL_EventState(SDL_DROPFILE, SDL_ENABLE); | ^~~~~~~~~~ ../UI/app.cpp:224:2: error: 'SDL_EventState' was not declared in this scope 224 | SDL_EventState(SDL_DROPFILE, SDL_ENABLE); | ^~~~~~~~~~~~~~ gmake: *** [makefile:41: ../UI/fileio.o] Error 1 ../UI/app.cpp:247:2: error: 'audio_param' was not declared in this scope 247 | audio_param = (Uint8*)SDL_malloc(sizeof(Audio::OpenParam)); | ^~~~~~~~~~~ ../UI/app.cpp:247:17: error: 'Uint8' was not declared in this scope; did you mean 'sint8'? 247 | audio_param = (Uint8*)SDL_malloc(sizeof(Audio::OpenParam)); | ^~~~~ | sint8 ../UI/app.cpp:247:23: error: expected primary-expression before ')' token 247 | audio_param = (Uint8*)SDL_malloc(sizeof(Audio::OpenParam)); | ^ ../UI/app.cpp:333:2: error: 'SDL_GetWindowSize' was not declared in this scope 333 | SDL_GetWindowSize(window, &width, &height); | ^~~~~~~~~~~~~~~~~ ../UI/app.cpp:337:20: error: 'SDL_arraysize' was not declared in this scope 337 | for (loop=0; loopGetSystems(); | ^~~~~~~~~~~ ../UI/app.cpp:356:25: 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:6: error: 'audio_param' was not declared in this scope 444 | if (audio_param != NULL) { | ^~~~~~~~~~~ ../UI/app.cpp:445:3: error: 'SDL_free' was not declared in this scope 445 | SDL_free(audio_param); | ^~~~~~~~ ../UI/app.cpp:470:6: error: 'window' was not declared in this scope; did you mean 'OnWindow'? 470 | if (window != NULL) { | ^~~~~~ | OnWindow ../UI/app.cpp:471:3: error: 'SDL_DestroyWindow' was not declared in this scope 471 | SDL_DestroyWindow(window); | ^~~~~~~~~~~~~~~~~ ../UI/app.cpp:489:6: error: 'vm_sem' was not declared in this scope 489 | if (vm_sem != NULL) { | ^~~~~~ ../UI/app.cpp:490:3: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: error: 'SDL_Event' was not declared in this scope 612 | SDL_Event e; | ^~~~~~~~~ ../UI/app.cpp:615:2: error: 'Uint32' was not declared in this scope; did you mean 'sint32'? 615 | Uint32 begin; | ^~~~~~ | sint32 ../UI/app.cpp:616:8: error: expected ';' before 'add' 616 | Uint32 add; | ^~~~ | ; ../UI/app.cpp:617:8: error: expected ';' before 'total' 617 | Uint32 total; | ^~~~~~ | ; ../UI/app.cpp:618:8: error: expected ';' before 'diff' 618 | Uint32 diff; | ^~~~~ | ; ../UI/app.cpp:621:2: error: 'Uint8' was not declared in this scope; did you mean 'sint8'? 621 | Uint8 *buffer; | ^~~~~ | sint8 ../UI/app.cpp:621:9: error: 'buffer' was not declared in this scope; did you mean 'setbuffer'? 621 | Uint8 *buffer; | ^~~~~~ | setbuffer ../UI/app.cpp:629:2: error: 'begin' was not declared in this scope 629 | begin = SDL_GetTicks(); | ^~~~~ ../UI/app.cpp:629:10: error: 'SDL_GetTicks' was not declared in this scope 629 | begin = SDL_GetTicks(); | ^~~~~~~~~~~~ ../UI/app.cpp:633:2: error: 'add' was not declared in this scope 633 | add = (Uint32)ms_per_frame; | ^~~ ../UI/app.cpp:634:2: error: 'total' was not declared in this scope 634 | total = 0; | ^~~~~ ../UI/app.cpp:671:26: error: 'e' was not declared in this scope 671 | ret = SDL_WaitEvent(&e); | ^ ../UI/app.cpp:671:11: error: 'SDL_WaitEvent' was not declared in this scope 671 | ret = SDL_WaitEvent(&e); | ^~~~~~~~~~~~~ ../UI/app.cpp:676:34: error: 'e' was not declared in this scope 676 | ret = SDL_WaitEventTimeout(&e, SLEEP_MENU); | ^ ../UI/app.cpp:676:12: error: 'SDL_WaitEventTimeout' was not declared in this scope 676 | ret = SDL_WaitEventTimeout(&e, SLEEP_MENU); | ^~~~~~~~~~~~~~~~~~~~ ../UI/app.cpp:680:34: error: 'e' was not declared in this scope 680 | ret = SDL_WaitEventTimeout(&e, SLEEP_POWERDOWN); | ^ ../UI/app.cpp:680:12: error: 'SDL_WaitEventTimeout' was not declared in this scope 680 | ret = SDL_WaitEventTimeout(&e, SLEEP_POWERDOWN); | ^~~~~~~~~~~~~~~~~~~~ ../UI/app.cpp:686:11: error: 'e' was not declared in this scope 686 | Poll(&e); | ^ ../UI/app.cpp:690:11: error: 'SDL_PollEvent' was not declared in this scope 690 | ret = SDL_PollEvent(&e); | ^~~~~~~~~~~~~ ../UI/app.cpp:707:4: 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:4: error: 'diff' was not declared in this scope 717 | diff = 0; | ^~~~ ../UI/app.cpp:721:4: error: 'diff' was not declared in this scope 721 | diff = (SDL_GetTicks() - begin) << MS_SHIFT; | ^~~~ ../UI/app.cpp:727:4: error: 'diff' was not declared in this scope 727 | diff = (FORCE_SYNC << MS_SHIFT) + 1; | ^~~~ ../UI/app.cpp:730:7: error: 'diff' was not declared in this scope 730 | if (diff < 0x80000000) { | ^~~~ ../UI/app.cpp:746:7: error: 'diff' was not declared in this scope 746 | if (diff < 0x80000000) { | ^~~~ ../UI/app.cpp:754:20: error: expected primary-expression before ')' token 754 | buffer = (Uint8*)evmgr->create_sound32(&extra); | ^ ../UI/app.cpp:772:7: error: 'SDL_Delay' was not declared in this scope 772 | SDL_Delay(1); | ^~~~~~~~~ ../UI/app.cpp:802:25: error: 'e' was not declared in this scope 802 | ret = SDL_PollEvent(&e); | ^ ../UI/app.cpp:802:10: error: 'SDL_PollEvent' was not declared in this scope 802 | ret = SDL_PollEvent(&e); | ^~~~~~~~~~~~~ ../UI/app.cpp:823:4: error: 'diff' was not declared in this scope 823 | diff = 0; | ^~~~ ../UI/app.cpp:827:4: error: 'diff' was not declared in this scope 827 | diff = (SDL_GetTicks() - begin) << MS_SHIFT; | ^~~~ ../UI/app.cpp:833:9: error: 'diff' was not declared in this scope 833 | if ((diff <= total) || (run >= SKIP_FRAMES_MAX)) { | ^~~~ ../UI/app.cpp:850:7: error: 'draw_tick' was not declared in this scope 850 | draw_tick[draw_tick_point] = SDL_GetTicks(); | ^~~~~~~~~ ../UI/app.cpp:852:30: error: 'SDL_arraysize' was not declared in this scope 852 | if (draw_tick_point >= SDL_arraysize(draw_tick)) { | ^~~~~~~~~~~~~ ../UI/app.cpp:855:11: 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:29: error: 'SDL_arraysize' was not declared in this scope 855 | if (draw_tick_count < SDL_arraysize(draw_tick)) { | ^~~~~~~~~~~~~ ../UI/app.cpp:872:8: error: 'diff' was not declared in this scope 872 | if (diff < total) { | ^~~~ ../UI/app.cpp:873:33: error: 'e' was not declared in this scope 873 | ret = SDL_WaitEventTimeout(&e, (total - diff) >> MS_SHIFT); | ^ ../UI/app.cpp:873:11: error: 'SDL_WaitEventTimeout' was not declared in this scope 873 | ret = SDL_WaitEventTimeout(&e, (total - diff) >> MS_SHIFT); | ^~~~~~~~~~~~~~~~~~~~ ../UI/app.cpp:879:11: error: 'SDL_PollEvent' was not declared in this scope 879 | ret= SDL_PollEvent(&e); | ^~~~~~~~~~~~~ ../UI/app.cpp:894:33: error: 'mouse_tick' was not declared in this scope 894 | if ((Uint32)(SDL_GetTicks() - mouse_tick) >= setting->GetMouseTime()) { | ^~~~~~~~~~ ../UI/app.cpp:894:57: 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:17: error: 'class Setting' has no member named 'GetMouseTime'; did you mean 'SetMouseTime'? 895 | if (setting->GetMouseTime() < MOUSE_INFINITE_TIME) { | ^~~~~~~~~~~~ | SetMouseTime ../UI/app.cpp:896:9: error: 'SDL_GetMouseState' was not declared in this scope 896 | if (SDL_GetMouseState(NULL, NULL) == 0) { | ^~~~~~~~~~~~~~~~~ ../UI/app.cpp:897:25: error: 'SDL_QUERY' was not declared in this scope 897 | if (SDL_ShowCursor(SDL_QUERY) == SDL_ENABLE) { | ^~~~~~~~~ ../UI/app.cpp:897:10: error: 'SDL_ShowCursor' was not declared in this scope 897 | if (SDL_ShowCursor(SDL_QUERY) == SDL_ENABLE) { | ^~~~~~~~~~~~~~ ../UI/app.cpp:897:39: error: 'SDL_ENABLE' was not declared in this scope 897 | if (SDL_ShowCursor(SDL_QUERY) == SDL_ENABLE) { | ^~~~~~~~~~ ../UI/app.cpp:898:22: 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:4: 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:2: error: 'Uint32' was not declared in this scope; did you mean 'sint32'? 924 | Uint32 info; | ^~~~~~ | sint32 ../UI/app.cpp:927:8: error: expected ';' before 'urate' 927 | Uint32 urate; | ^~~~~~ | ; ../UI/app.cpp:930:2: error: 'info' was not declared in this scope 930 | info = setting->GetSystems(); | ^~~~ ../UI/app.cpp:930:18: error: 'class Setting' has no member named 'GetSystems'; did you mean 'GetSystemMode'? 930 | info = setting->GetSystems(); | ^~~~~~~~~~ | GetSystemMode ../UI/app.cpp:937:2: error: 'urate' was not declared in this scope; did you mean 'rate'? 937 | urate = 0; | ^~~~~ | rate ../UI/app.cpp:939:25: error: 'draw_tick' was not declared in this scope 939 | point = SDL_arraysize(draw_tick) - draw_tick_count; | ^~~~~~~~~ ../UI/app.cpp:939:11: error: 'SDL_arraysize' was not declared in this scope 939 | point = SDL_arraysize(draw_tick) - draw_tick_count; | ^~~~~~~~~~~~~ ../UI/app.cpp:939:38: 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:2: error: 'SDL_PowerState' was not declared in this scope 972 | SDL_PowerState state; | ^~~~~~~~~~~~~~ ../UI/app.cpp:977:21: error: 'SDL_arraysize' was not declared in this scope 977 | for (loop=0; loopGetSystems(); | ^~~~~~~~~~~ ../UI/app.cpp:1799:25: error: 'class Setting' has no member named 'GetSystems'; did you mean 'GetSystemMode'? 1799 | system_info = setting->GetSystems(); | ^~~~~~~~~~ | GetSystemMode ../UI/app.cpp:1802:17: error: 'SDL_ENABLE' was not declared in this scope 1802 | SDL_ShowCursor(SDL_ENABLE); | ^~~~~~~~~~ ../UI/app.cpp:1802:2: 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:2: error: 'mouse_tick' was not declared in this scope 1827 | mouse_tick = SDL_GetTicks(); | ^~~~~~~~~~ ../UI/app.cpp:1827:15: error: 'SDL_GetTicks' was not declared in this scope 1827 | mouse_tick = SDL_GetTicks(); | ^~~~~~~~~~~~ ../UI/app.cpp:1841:16: error: 'class Setting' has no member named 'GetSystems'; did you mean 'GetSystemMode'? 1841 | if (setting->GetSystems() != system_info) { | ^~~~~~~~~~ | GetSystemMode ../UI/app.cpp:1841:32: error: 'system_info' was not declared in this scope 1841 | if (setting->GetSystems() != system_info) { | ^~~~~~~~~~~ ../UI/app.cpp:1843:27: 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:10: 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:9: error: 'state_path' was not declared in this scope 2078 | strcpy(state_path, setting->GetSettingDir()); | ^~~~~~~~~~ ../UI/app.cpp:2102:11: error: 'draw_tick' was not declared in this scope 2102 | memset(draw_tick, 0, sizeof(draw_tick)); | ^~~~~~~~~ ../UI/app.cpp:2103:4: 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:9: 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:9: 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:6: error: 'vm_sem' was not declared in this scope 2219 | if (vm_sem != NULL) { | ^~~~~~ ../UI/app.cpp:2220:3: 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:6: error: 'vm_sem' was not declared in this scope 2230 | if (vm_sem != NULL) { | ^~~~~~ ../UI/app.cpp:2231:3: 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 'sint32'? 2239 | Uint32 App::GetAppVersion() | ^~~~~~ | sint32 gmake: *** [makefile:41: ../UI/app.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/emulators/xm8 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/emulators/xm8