Open sagarc02 opened 6 days ago
@sagarc02, I can't reproduce your error locally, can you provide your complete installation steps?
test@docker:~/test/vcpkg$ ./vcpkg install drogon[mysql] --editable
Computing installation plan...
The following packages are already installed:
drogon[core,orm,mysql]:x64-linux@1.9.7
drogon:x64-linux is already installed
Total install time: 9.7 us
The package drogon provides CMake targets:
find_package(Drogon CONFIG REQUIRED)
target_link_libraries(main PRIVATE Drogon::Drogon)
Below is the error which i am getting while building the drogon[mysql] package in x64 linux
~~~~~~~~~~~~~~~~~~~~~ /home/sagarc/vcpkg/buildtrees/drogon/src/v1.9.7-6a37c2250f.clean/orm_lib/src/mysql_impl/MysqlConnection.cc:143:59: error: ‘MYSQL_WAIT_EXCEPT’ was not declared in this scope; did you mean ‘MY SQL_STMT_EXT’? 143~~~~~~~/home/sagarc/vcpkg/buildtrees/drogon/src/v1.9.7-6a37c2250f.clean/orm_lib/src/mysql_impl/MysqlConnection.cc:158:23: error: ‘MYSQL_WAIT_TIMEOUT’ was not declared in this scope; did you mean ‘N ET_WAIT_TIMEOUT’? 158~~~~~/home/sagarc/vcpkg/buildtrees/drogon/src/v1.9.7-6a37c2250f.clean/orm_lib/src/mysql_impl/MysqlConnection.cc: In member function ‘void drogon::orm::MysqlConnection::handleTimeout()’: /home/sagarc/vcpkg/buildtrees/drogon/src/v1.9.7-6a37c2250f.clean/orm_lib/src/mysql_impl/MysqlConnection.cc:197:15: error: ‘MYSQL_WAIT_TIMEOUT’ was not declared in this scope; did you mean ‘N ET_WAIT_TIMEOUT’? 197 | status |= MYSQL_WAIT_TIMEOUT; | ^
~~~~~ | NET_WAIT_TIMEOUT /home/sagarc/vcpkg/buildtrees/drogon/src/v1.9.7-6a37c2250f.clean/orm_lib/src/mysql_impl/MysqlConnection.cc:201:23: error: ‘mysql_real_connect_cont’ was not declared in this scope; did you me an ‘mysql_realconnect’? 201 | waitStatus = mysql_real_connectcont(&ret, mysqlPtr.get(), status); | ^~~~~~~ | mysql_real_connect /home/sagarc/vcpkg/buildtrees/drogon/src/v1.9.7-6a37c2250f.clean/orm_lib/src/mysql_impl/MysqlConnection.cc: In member function ‘void drogon::orm::MysqlConnection::handleCmd(int)’: /home/sagarc/vcpkg/buildtrees/drogon/src/v1.9.7-6a37c2250f.clean/orm_lib/src/mysql_impl/MysqlConnection.cc:247:27: error: ‘mysql_real_query_cont’ was not declared in this scope; did you mean ‘mysql_realquery’? 247 | waitStatus = mysql_real_querycont(&err, mysqlPtr.get(), status); | ^~~~~| mysql_real_query /home/sagarc/vcpkg/buildtrees/drogon/src/v1.9.7-6a37c2250f.clean/orm_lib/src/mysql_impl/MysqlConnection.cc:267:17: error: ‘mysql_store_result_cont’ was not declared in this scope; did you me an ‘mysql_store_result’? 267 | mysql_store_resultcont(&ret, mysqlPtr.get(), status); | ^~~~~~~ | mysql_store_result /home/sagarc/vcpkg/buildtrees/drogon/src/v1.9.7-6a37c2250f.clean/orm_lib/src/mysql_impl/MysqlConnection.cc:286:27: error: ‘mysql_next_result_cont’ was not declared in this scope; did you mea n ‘mysql_nextresult’? 286 | waitStatus = mysql_next_resultcont(&err, mysqlPtr.get(), status); | ^~~~~~ | mysql_next_result /home/sagarc/vcpkg/buildtrees/drogon/src/v1.9.7-6a37c2250f.clean/orm_lib/src/mysql_impl/MysqlConnection.cc: In member function ‘void drogon::orm::MysqlConnection::handleEvent()’: /home/sagarc/vcpkg/buildtrees/drogon/src/v1.9.7-6a37c2250f.clean/orm_lib/src/mysql_impl/MysqlConnection.cc:318:19: error: ‘MYSQL_WAIT_READ’ was not declared in this scope 318 | status |= MYSQL_WAIT_READ; | ^~~~~~~ /home/sagarc/vcpkg/buildtrees/drogon/src/v1.9.7-6a37c2250f.clean/orm_lib/src/mysql_impl/MysqlConnection.cc:320:19: error: ‘MYSQL_WAIT_WRITE’ was not declared in this scope 320 | status |= MYSQL_WAIT_WRITE; | ^~~~/home/sagarc/vcpkg/buildtrees/drogon/src/v1.9.7-6a37c2250f.clean/orm_lib/src/mysql_impl/MysqlConnection.cc:322:19: error: ‘MYSQL_WAIT_EXCEPT’ was not declared in this scope; did you mean ‘MY SQL_STMT_EXT’? 322 | status |= MYSQL_WAIT_EXCEPT; | ^~~~~ | MYSQL_STMT_EXT /home/sagarc/vcpkg/buildtrees/drogon/src/v1.9.7-6a37c2250f.clean/orm_lib/src/mysql_impl/MysqlConnection.cc:327:23: error: ‘mysql_real_connect_cont’ was not declared in this scope; did you me an ‘mysql_real_connect’?~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~: