Crip Killa
♪Chasm Dev♪
- Joined
- Oct 19, 2008
- Messages
- 515
- Reaction score
- 44
Hello I was wondering if someone can help me solve this error I do not understand how to fix it thanks.
Code:
Compiler: Default compiler
Building Makefile: "C:\Users\John John\Desktop\Chasm 8.71\sources\dev-cpp\Makefile.win"
Executing make...
make.exe -f "C:\Users\John John\Desktop\Chasm 8.71\sources\dev-cpp\Makefile.win" all
g++.exe -c ../database.cpp -o obj/database.o -I"C:/Users/John John/Desktop/Stian's Repack Dev-Cpp v2/include" -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -O2 -D__DEBUG_LUASCRIPTS__ -fexpensive-optimizations -O1
In file included from ../database.cpp:22:
../databasemysql.h:26:19: mysql.h: No such file or directory
In file included from ../database.cpp:22:
../databasemysql.h:58: error: `MYSQL' does not name a type
../databasemysql.h: In member function `virtual uint64_t DatabaseMySQL::getLastInsertId()':
../databasemysql.h:52: error: `m_handle' was not declared in this scope
../databasemysql.h:52: error: `mysql_insert_id' was not declared in this scope
../databasemysql.h: At global scope:
../databasemysql.h:76: error: expected `)' before '*' token
../databasemysql.h:82: error: ISO C++ forbids declaration of `MYSQL_RES' with no type
../databasemysql.h:82: error: expected `;' before '*' token
../databasemysql.h:83: error: `MYSQL_ROW' does not name a type
make.exe: *** [obj/database.o] Error 1
Execution terminated
Last edited: