Most likely, this is some basic error and I'm just stupid, but, eh.
So yeah, I tried to compile 1.43 v15.3, but I simply get this error:
$ make
g++ -fno-rtti -INONE -I/home/neophos/snes9x -I/home/neophos/snes9x/unzip -c -O2 -fomit-frame-pointer -fno-exceptions -Wall -W -pedantic -Wno-unused-parameter -pipe -INONE -I/home/neophos/snes9x -I/home/neophos/snes9x/unzip -DMITSHM -DVAR_CYCLES -DCPU_SHUTDOWN -DSPC700_SHUTDOWN -DEXECUTE_SUPERFX_PER_LINE -DUSE_THREADS -DSPC700_C -DNETPLAY_SUPPORT -DUNZIP_SUPPORT -DJMA_SUPPORT -fexceptions -DSDD1_DECOMP -DJOYSTICK_SUPPORT -DNOASM -DNEW_COLOUR_BLENDING -DZLIB -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H '-DACCEPT_SIZE_T=socklen_t' lua-engine.cpp -o lua-engine.o
lua-engine.cpp:25:17: error: lua.h: No such file or directory
lua-engine.cpp:26:21: error: lauxlib.h: No such file or directory
lua-engine.cpp:27:20: error: lualib.h: No such file or directory
lua-engine.cpp:32: error: expected initializer before ‘*’ token
lua-engine.cpp: In function ‘int S9xLuaSpeed()’:
lua-engine.cpp:97: error: ‘LUA’ was not declared in this scope
lua-engine.cpp: In function ‘void S9xLuaWrite(uint32)’:
lua-engine.cpp:136: error: ‘LUA’ was not declared in this scope
lua-engine.cpp:136: error: ‘lua_settop’ was not declared in this scope
lua-engine.cpp:138: error: ‘LUA_REGISTRYINDEX’ was not declared in this scope
lua-engine.cpp:138: error: ‘lua_getfield’ was not declared in this scope
lua-engine.cpp:139: error: ‘lua_pushinteger’ was not declared in this scope
lua-engine.cpp:140: error: ‘lua_gettable’ was not declared in this scope
lua-engine.cpp:144: error: ‘lua_pcall’ was not declared in this scope
lua-engine.cpp:146: error: ‘lua_tostring’ was not declared in this scope
lua-engine.cpp: At global scope:
lua-engine.cpp:200: error: ‘lua_State’ was not declared in this scope
lua-engine.cpp:200: error: ‘L’ was not declared in this scope
lua-engine.cpp:200: error: expected ‘,’ or ‘;’ before ‘{’ token
lua-engine.cpp:38: warning: ‘frameBoundary’ defined but not used
lua-engine.cpp:45: warning: ‘skipRerecords’ defined but not used
lua-engine.cpp:48: warning: ‘frameAdvanceThread’ defined but not used
lua-engine.cpp:50: warning: ‘guiCallbackTable’ defined but not used
lua-engine.cpp:53: warning: ‘frameAdvanceWaiting’ defined but not used
lua-engine.cpp:56: warning: ‘wasPaused’ defined but not used
lua-engine.cpp:59: warning: ‘transparency’ defined but not used
lua-engine.cpp:62: warning: ‘lua_joypads’ defined but not used
lua-engine.cpp:63: warning: ‘lua_joypads_used’ defined but not used
lua-engine.cpp:72: warning: ‘gui_used’ defined but not used
lua-engine.cpp:73: warning: ‘gui_data’ defined but not used
lua-engine.cpp:83: warning: ‘button_mappings’ defined but not used
lua-engine.cpp:200: warning: ‘snes9x_speedmode’ defined but not used
make: *** [lua-engine.o] Error 1
What am I doing wrong?