Uploaded image for project: 'MariaDB Connector/C++'
  1. MariaDB Connector/C++
  2. CONCPP-110

Compile connector c++ with Visual Studio 2022

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.0.2
    • 1.1.2, 1.0.3
    • General
    • None
    • Windows Server 2016 standard, Visual Studio 2022, conan package manager,
      connector-c 3.3.2, connector-cpp 1.0.2

    Description

      I'm in the progress of transition from Visual Studio 2017 to 2022. When trying to compile the c++ connector, I get the error shown in the attachments. I have created Conan package manager recipes for the connector and I provided them too, including my conan profile file. Compiling with or without Conan, I still end up having the compilation abort with the same dynamic_cast error. I have also tried to build with MSBuild and Ninja. I have exhausted my ideas about how to fix this.

      Attachments

        1. conanfile-connector-c.py
          2 kB
        2. conanfile-connector-cpp.py
          2 kB
        3. error.png
          error.png
          76 kB
        4. error2.png
          error2.png
          11 kB
        5. vs17
          0.3 kB

        Activity

          People

            Lawrin Lawrin Novitsky
            sjobeaxe Axel Sjöberg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.