Problem with starting Lua with QtCreator
I try to run Lua scripts in QtCreator.
I did that to my .pro file (screen)
but it crashes when I try to run:
lua_State* pL=lua_open(); if(!pL) qFatal("LUA cannot be initialized."); luaL_openlibs(pL); luaL_dofile( pL,"hello.lua" );
at luaL_dofile( pL,"hello.lua" );.
U can see that error and pro gile at screen:
if I comment line with luaL_dofile it works.
IDK what to do,
Plz help me if u can.
Since the symbol is not found you are missing a library in your LIBS line