Comments (3)
It fails to include mysql.h
from the libmysql library, not the one from the sqlpp distribution. The #include that fails is #include <mysql.h>
(notice the angle brackets) so it looks for the one in the compiler's system path, not the one provided by sqlpp11.
It seems that the vcpkg repository entry for sqlpp11
lists the vcpkg library libmysql
as a dependency of sqlpp11
(or rather of its mysql feature):
"mysql": {
"description": "Use MySQL connector",
"dependencies": [
"libmysql"
]
},
For whatever reason the vcpkg package libmysql fails to install because it claims that their libmysql package is not supported on Windows/X86 or at least that is claimed by the error line that you quoted:
Error: libmysql[core] is only supported on '!(windows & x86) & !uwp'
I am not sure why this happens as I am not a vcpkg user. Maybe it tries somehow to install a really ancient version of libmysql vcpkg package or maybe one of the libmysql's dependencies does not support Windows/X86. It seems that other people had similar problems with the libmysql package on Windows:
microsoft/vcpkg#11214
and they just said that libmysql is not supported on Windows.
It makes sense to ask for help the maintainer of the libmysql vcpkg package and/or the maintainer of the sqlpp11 vcpkg package.
from sqlpp11.
Sorry, I have zero practical knowledge about vcpkg
. I suggest contacting the maintainer of the vcpkg sqlpp11 package.
I'll leave this open for a few days in case other users of sqlpp11 can help.
from sqlpp11.
All I can do is suggest that you try conan.io instead of vcpkg
I have switched to conan for a personal project (unrelated) due to such type of issues specifically on Windows.
from sqlpp11.
Related Issues (20)
- Is there any opentracing support in sqlpp,like jaeger?Will it be supported in the future? HOT 1
- how to fix update exception? HOT 23
- How to retrieve the row count of a query result? HOT 6
- mysql does not seem to support the TIME type HOT 4
- Multiple table query error HOT 3
- Mysql prepared_statement.h missing _bind_time_of_day_parameter function HOT 3
- How do I get record with count of references from one to many? HOT 4
- Handling of `::sqlpp::tag::enforce_null_result_treatment` does not seem to be implemented, NULL documentation is erroneous HOT 11
- scripts/sqlite2cpp.py requires insert of nullable column HOT 6
- [Feedback Requested] Results returning optional, string_view, and span HOT 22
- [requesting assistance] Can the same parameter be used in multiple places in the same prepared statement? HOT 13
- [Need assistance] Common Table Expressions with update HOT 2
- Can't find how to use count(1) HOT 3
- how to predict const struct sqlpp::result_row_t is or not NULL? HOT 3
- Supporting the BETWEEN operator? HOT 2
- SQLite: Is order by rowid possible? HOT 2
- Title: Error E0140: Too Many Arguments in Function Call in `for_update.h` with VS2022 HOT 3
- Using sqlpp::parameterized_verbatim as lhs in comparison results in segfault. HOT 4
- [Bug] [SQLite] White space at the end of the SQL string makes execute() throw "Sqlite3 connector: Cannot execute multi-statements" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqlpp11.