Gelio
Lua PHP C++ programmer
Hello. I was compiling TFS and when it was linking I got error:
And I entered this site: LuaSQL: Database connectivity for the Lua programming language
I've downloaded package:
There weren't any error, but lua wasn't able to connect to mysql database. Can you help me how to compile tfs with this library? Please.
Gelio
So I typed in google: luasql[Linker error] undefined reference to `luaopen_luasql_mysql'
And I entered this site: LuaSQL: Database connectivity for the Lua programming language
I've downloaded package:
And I've pasted into dir with Dev-Cpp and I started compiling. I got this error once again. When I add // before line with:luasql-2.1.1-mysql50-win32-lua51
Code:
luaopen_luasql_mysql(m_luaState);
Gelio