• 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!

Error Compiling Avesta

lopky

Member
Joined
Apr 24, 2016
Messages
14
Reaction score
6
Hello :)

I have been trying to compile Avesta 7.6 and I have a common problem, I've seen that some people reported it but I couldn't find any answer..

The error is here:

Code:
    // retriving results of query
    DBResult* res = new MySQLResult(m_res);
    return verifyResult(res);

1>..\..\..\databasemysql.cpp(197): 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


I would appreciate any help!
Thankss

EDIT:

I think I fixed it using another .cpp, problem is that now I get this:

avesta.jpg

In config.lua I have SQL_Type = "mysql" not sqlite..
 
Last edited:
Back
Top