Giter VIP home page Giter VIP logo

Comments (3)

MeanSquaredError avatar MeanSquaredError commented on August 20, 2024 1

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.

rbock avatar rbock commented on August 20, 2024

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.

CJCombrink avatar CJCombrink commented on August 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.