• 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 Compilling avesta 7.6 (thing.h error)

Insane329

New Member
Joined
Jun 24, 2014
Messages
84
Reaction score
0
Hello. I am tryin to compile Avesta 7.6 from otland SVN repo, with it's source. Plugged all libs etc, but there is the last error, and i cannot find anything on forums. Here it is:

1>c:\users\jakub\desktop\serwer nowy engine\c++ project\realotsproject\realotsproject\thing.h(122): error C2297: '<<' : illegal, right operand has type 'const char [12]'
1>c:\users\jakub\desktop\serwer nowy engine\c++ project\realotsproject\realotsproject\thing.h(122): warning C4552: '<<' : operator has no effect; expected operator with side-effect
1>c:\users\jakub\desktop\serwer nowy engine\c++ project\realotsproject\realotsproject\thing.h(123): error C2297: '<<' : illegal, right operand has type 'const char [3]'
1>c:\users\jakub\desktop\serwer nowy engine\c++ project\realotsproject\realotsproject\thing.h(123): error C2297: '<<' : illegal, right operand has type 'const char [3]'
1>c:\users\jakub\desktop\serwer nowy engine\c++ project\realotsproject\realotsproject\thing.h(123): error C2297: '<<' : illegal, right operand has type 'const char [2]'
1>c:\users\jakub\desktop\serwer nowy engine\c++ project\realotsproject\realotsproject\thing.h(123): warning C4552: '<<' : operator has no effect; expected operator with side-effect
1>c:\users\jakub\desktop\serwer nowy engine\c++ project\realotsproject\realotsproject\thing.h(124): error C2228: left of '.str' must have class/struct/union

This error is showing for many files in the project, not just one, and the compilation is failed.


Anyone knows why is this? I did everything like in this tutorial on SVN.

EDIT! Solved with this : #include <sstream> in thing.h.

BUT. there is the next problem:

1>databasemysql.cpp(195): error C2440: 'initializing' : cannot convert from 'MySQLResult *' to 'DBResult *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>logger.cpp(71): error C3861: 'time': identifier not found
1>account.cpp(43): error C3861: 'time': identifier not found
1>account.cpp(47): error C3861: 'time': identifier not found

please, help me :D
 
Last edited:
Back
Top