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:
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:
In config.lua I have SQL_Type = "mysql" not sqlite..
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:
In config.lua I have SQL_Type = "mysql" not sqlite..
Last edited: