• 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 Compiling The Forgotten Server latest source code - Last Update: 02/12/2010

RE: How to compile The Forgotten Server latest sources

good, thanks for making this tutorial ^^
 
RE: How to compile The Forgotten Server latest sources

big thx for tutorial, need this =]
 
RE: How to compile The Forgotten Server latest sources

Damn, i with the same error that martin14x at the previsious page.
5 errors...
 
RE: How to compile The Forgotten Server latest sources

-D__USE_MYSQL__
 
RE: How to compile The Forgotten Server latest sources

Talaturen said:
-D__USE_MYSQL__
I think that was for my errors. Well i tryed to add that on the Linkers, but im still with the same errors -.^
../database.h:133: error: `void DBResult::clear()' is private
../databasemysql.cpp:153: error: within this context
../database.h:136: error: `void DBResult::setFieldName(const std::string&, unsigned int)' is private
../databasemysql.cpp:159: error: within this context

../databasemysql.cpp:168: error: 'class DBResult' has no member named 'addRow'

make.exe: *** [../databasemysql.o] Error 1

Execution terminated
 
RE: How to compile The Forgotten Server latest sources

Hello, I need help with compiling TFS. I follow all the points of the tutorial and all goes exellent but when is supposed to finish, I get an error. I can't post the error exactly because I'm not at home, but the compiling log says something like the compiler didn't find TheForgottenServer.ico.

Can anyone help me, please, I don't know what to do and I would like to compile this sources.

Thank you,

Att: Genis
 
RE: How to compile The Forgotten Server latest sources

Thanks! damn I didn't even know there was a tutorial section on this site.. hmm? xD anyway, thanks.
 
RE: How to compile The Forgotten Server latest sources

cherife said:
Talaturen said:
-D__USE_MYSQL__
I think that was for my errors. Well i tryed to add that on the Linkers, but im still with the same errors -.^
../database.h:133: error: `void DBResult::clear()' is private
../databasemysql.cpp:153: error: within this context
../database.h:136: error: `void DBResult::setFieldName(const std::string&, unsigned int)' is private
../databasemysql.cpp:159: error: within this context

../databasemysql.cpp:168: error: 'class DBResult' has no member named 'addRow'

make.exe: *** [../databasemysql.o] Error 1

Execution terminated

You should add it to "C++ Compiler" if you're using Dev-Cpp, not "Linkers".
 
RE: How to compile The Forgotten Server latest sources

Talaturen said:
cherife said:
Talaturen said:
-D__USE_MYSQL__
I think that was for my errors. Well i tryed to add that on the Linkers, but im still with the same errors -.^
../database.h:133: error: `void DBResult::clear()' is private
../databasemysql.cpp:153: error: within this context
../database.h:136: error: `void DBResult::setFieldName(const std::string&, unsigned int)' is private
../databasemysql.cpp:159: error: within this context

../databasemysql.cpp:168: error: 'class DBResult' has no member named 'addRow'

make.exe: *** [../databasemysql.o] Error 1

Execution terminated

You should add it to "C++ Compiler" if you're using Dev-Cpp, not "Linkers".
Heh, thanks.
 
RE: How to compile The Forgotten Server latest sources

Hmm, after I compiled it fine and everything the server won't start.. Just gives an error and dissapears (Skicka felrapport). What's wrong?
 
RE: How to compile The Forgotten Server latest sources

Thank you for this great tutorial ;D
 
RE: How to compile The Forgotten Server latest sources

1 error:

Code:
152 C:Documents and SettingshiDesktopForgotten Sourcesdatabasemysql.cpp 'class DBResult' has no member named 'clear'

How can I fix this?

It brought me to this line:

Code:
	dbres.clear();
 
RE: How to compile The Forgotten Server latest sources

Fixdorz!

Thanks Nikolas1994 (Lithium helped me on mIRC also.)
 
RE: How to compile The Forgotten Server latest sources

Hey i need help. i have compiled this. and its work without errors! BUT! When i turn it on This .exe fil. So its run in the background but i dont think its running :/ Why? Need help please!


You can answer in swedish or english.
 
RE: How to compile The Forgotten Server latest sources

nice guide thnks
 
Back
Top