• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling [TFS 0.2.4] Error while linking.

Gelio

Lua PHP C++ programmer
Joined
Jun 13, 2008
Messages
61
Reaction score
4
Location
Poland, Lublin
Hello. I was compiling TFS and when it was linking I got error:
[Linker error] undefined reference to `luaopen_luasql_mysql'
So I typed in google: luasql
And I entered this site: LuaSQL: Database connectivity for the Lua programming language
I've downloaded package:
luasql-2.1.1-mysql50-win32-lua51
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:
Code:
luaopen_luasql_mysql(m_luaState);
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
 
BUMP. It's on second page in 9 hours. Please, reply fast because I can't compile my server. I'm using dev-cpp with The Forgotten Dev-cpp modification.

Gelio
 
Back
Top