Strange I put the zip after deleting Lua5.2 and the other luas. I'll see when I get home today.
I'm back. I got:
g++ -o build\src\lua\LuaCheckbox.o -c -std=c++11 -U__STRICT_ANSI__ -Wno-invalid-offsetof -msse -msse2 -DSDL_INC -DLUA_R_INCL -DWIN -D_WIN32_WINNT=0x0501 -D_USING_V110_SDK71_ -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -Ibuild\src -Isrc -Ibuild\data -Idata -Ibuild\generated -Igenerated src\lua\LuaCheckbox.cpp
=====
In file included from src\lua\LuaCheckbox.h:3:0,
from src\lua\LuaCheckbox.cpp:4:
src\lua\LuaLuna.h: In static member function 'static bool Luna<T>::checkType(lua_State*, int, const char*)':
src\lua\LuaLuna.h:100:28: error: there are no arguments to 'lua_equal' that depend on a template parameter, so a declaration of 'lua_equal' must be available [-fpermissive]
res = lua_equal(L, -2, -1);
^
src\lua\LuaLuna.h:100:28: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
=====
scons: *** [build\src\lua\LuaCheckbox.o] Error 1
=====
In file included from src\lua\LuaButton.h:3:0,
from src\lua\LuaButton.cpp:4:
src\lua\LuaLuna.h: In static member function 'static bool Luna<T>::checkType(lua_State*, int, const char*)':
src\lua\LuaLuna.h:100:28: error: there are no arguments to 'lua_equal' that depend on a template parameter, so a declaration of 'lua_equal' must be available [-fpermissive]
res = lua_equal(L, -2, -1);
^
src\lua\LuaLuna.h:100:28: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
=====
scons: *** [build\src\lua\LuaButton.o] Error 1
scons: building terminated because of errors.
strip: 'build/Powder.exe': No such file
Quick question: Does each LUA (ex. 5.1, 5.2) have different syntax rules like python(ex. 2.7, 3.6)?
edit: Odd, I deleted all LUA, including 5.1, and reinstalled it, and still get this, it may be in another path.
2nd edit: Let me check variables.
Sorry, I by "install" I mean copy them into the folders.
God damn it, I was looking in Python27, not MINGW, that was the problem. BUT I KEEP GETTING ERRORS ;-;
g++ -o build\src\json\jsoncpp.o -c -std=c++11 -U__STRICT_ANSI__ -Wno-invalid-offsetof -msse -msse2 -DSDL_INC -DLUA_R_INCL -DWIN -D_WIN32_WINNT=0x0501 -D_USING_V110_SDK71_ -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -Ibuild\src -Isrc -Ibuild\data -Idata -Ibuild\generated -Igenerated src\json\jsoncpp.cpp
=====
In file included from src/lua/LuaScriptInterface.h:4:0,
from src\graphics\Renderer.cpp:19:
src/lua/LuaCompat.h:10:17: fatal error: lua.h: No such file or directory
#include "lua.h"
^
compilation terminated.
=====
scons: *** [build\src\graphics\Renderer.o] Error 1
scons: building terminated because of errors.
strip: 'build/Powder.exe': No such file
Edit: From working with C in past, I'm going to try to change the " " to <>
Edit 2: Wait I think theres suppossed to be a Lua headder in that directory, Imma check the TPT Source Code.
I've reinstalled MINGW and now I get the error:
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: cannot find -llua