Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. dependent 'C:\vcpkg\installed\x64-windows\include\proj_api.h' does not exist.
Forum Updated to NodeBB v4.3 + New Features

dependent 'C:\vcpkg\installed\x64-windows\include\proj_api.h' does not exist.

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 462 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hutien
    wrote on last edited by
    #1

    Hi, i'm working on an old project, the project was working fine in 2021 but i have to install libraries to make it work on my computer : proj:x64-windows, proj4, gdal . There is my versions of those libraries :

    gdal : 3.7.0#3
    proj:x64-windows : 9.2.1
    proj4:x64-windows : 5.2.0

    My problem is, my project require proj_api.h, but i dont have it with that version, and i can't get back to an older version with vcpkg.

    I have the same problem with : gdal_i.lib.

    I'm a total beginner on it, so i hope you understand my issue and you will be able to help me.

    Chris KawaC 1 Reply Last reply
    0
    • H hutien

      Hi, i'm working on an old project, the project was working fine in 2021 but i have to install libraries to make it work on my computer : proj:x64-windows, proj4, gdal . There is my versions of those libraries :

      gdal : 3.7.0#3
      proj:x64-windows : 9.2.1
      proj4:x64-windows : 5.2.0

      My problem is, my project require proj_api.h, but i dont have it with that version, and i can't get back to an older version with vcpkg.

      I have the same problem with : gdal_i.lib.

      I'm a total beginner on it, so i hope you understand my issue and you will be able to help me.

      Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by Chris Kawa
      #2

      Hi, this is not the best place to ask this as it has nothing to do with Qt.

      i can't get back to an older version with vcpkg

      If you're using vcpkg manifest you can specify a version of the library your app depends on: vcpkg versioning. If not then you need to point vcpkg to a repository that has the specific version you need.

      H 1 Reply Last reply
      0
      • Chris KawaC Chris Kawa

        Hi, this is not the best place to ask this as it has nothing to do with Qt.

        i can't get back to an older version with vcpkg

        If you're using vcpkg manifest you can specify a version of the library your app depends on: vcpkg versioning. If not then you need to point vcpkg to a repository that has the specific version you need.

        H Offline
        H Offline
        hutien
        wrote on last edited by
        #3

        @Chris-Kawa Hi, sorry for the post, dd7d3bfb-478f-466d-a1a3-58382bc72352-image.png

        I tried to change version here, is that the manifest, but still nothing.

        Chris KawaC 1 Reply Last reply
        0
        • H hutien

          @Chris-Kawa Hi, sorry for the post, dd7d3bfb-478f-466d-a1a3-58382bc72352-image.png

          I tried to change version here, is that the manifest, but still nothing.

          Chris KawaC Offline
          Chris KawaC Offline
          Chris Kawa
          Lifetime Qt Champion
          wrote on last edited by Chris Kawa
          #4

          @hutien That's not a vcpkg manifest. That's some sort of schema file of a package. Don't edit that. You're looking for a vcpkg.json file, but your project might not have one if you're using the classic mode of vcpkg and not the manifest mode. Read up on what they are and how to set them up in the documentation.

          H 1 Reply Last reply
          0
          • Chris KawaC Chris Kawa

            @hutien That's not a vcpkg manifest. That's some sort of schema file of a package. Don't edit that. You're looking for a vcpkg.json file, but your project might not have one if you're using the classic mode of vcpkg and not the manifest mode. Read up on what they are and how to set them up in the documentation.

            H Offline
            H Offline
            hutien
            wrote on last edited by
            #5

            @Chris-Kawa Thanks for this, i saw this page, but with this, i have to put all my lib in this file ? I'm not sure to understand how it works.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved