GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — How do I build gstreamer in visual studio · Issue #26417 · microsoft/vcpkg

How do I build gstreamer in visual studio #26417

New issue
Copy link
New issue
Copy link
Closed
Closed
How do I build gstreamer in visual studio#26417
Copy link
Assignees
FrankXie05
Labels
category:port-bugThe issue is with a library, which is something the port should already support

Description

@rinechran
rinechran (rinechran)
opened on Aug 19, 2022
Issue body actions

Please create a discussion in https://github.com/microsoft/vcpkg/discussions/new instead.

image

i installed gstream using vcpkg .

But it doesn't build at all in the visual studio.

image
image

Activity

  1. Frank (FrankXie05)
    self-assigned this
    on Aug 19, 2022
  2. FrankXie05 commented on Aug 19, 2022

    @FrankXie05
    Frank (FrankXie05)
    on Aug 19, 2022
    Contributor
    More actions
    1. Make sure the port you download is consistent with the system architecture of your vs (x64/x86).

    2. If you are using MSBuild project, please run the command ./vcpkg integrate install then restart VS and try again.

    3. If you are using VS's cmake project, make sure you add CMAKE_TOOLCHAIN_FILE to CMakeSettings.json , and add gstreamer useage to the top-level CMakeLists.txt.

    Please see the documentation for details: https://github.com/microsoft/vcpkg/blob/master/docs/examples/installing-and-using-packages.md

  3. Frank (FrankXie05)
    added
    category:questionThis issue is a question
    on Aug 19, 2022
  4. rinechran commented on Aug 19, 2022

    @rinechran
    rinechran (rinechran)
    on Aug 19, 2022
    ContributorAuthor
    More actions

    i already did. but it not working

    maybe it seems that the include path needs additional work

  5. FrankXie05 commented on Aug 19, 2022

    @FrankXie05
    Frank (FrankXie05)
    on Aug 19, 2022
    Contributor
    More actions

    rinechran (@rinechran) Is this issue only for gstreamer? Or all from the ports provided by vcpkg?

  6. rinechran commented on Aug 19, 2022

    @rinechran
    rinechran (rinechran)
    on Aug 19, 2022
    ContributorAuthor
    More actions

    i don't know about other vcpkg projects , but i checked is only gstream.

  7. FrankXie05 commented on Aug 19, 2022

    @FrankXie05
    Frank (FrankXie05)
    on Aug 19, 2022
    Contributor
    More actions

    Could you please try using the port provided by vcpkg according to doc https://github.com/microsoft/vcpkg/blob/master/docs/examples/installing-and-using-packages.md ? Perhaps we missed a step? :)

  8. rinechran commented on Aug 19, 2022

    @rinechran
    rinechran (rinechran)
    on Aug 19, 2022
    ContributorAuthor
    More actions

    i did't miss task

    After installing x64/x86 version i did ./vcpkg integrate install

    but the build doesn't work
    image

  9. FrankXie05 commented on Aug 19, 2022

    @FrankXie05
    Frank (FrankXie05)
    on Aug 19, 2022
    Contributor
    More actions

    For port gstreamer, please use #include <gstreamer-1.0/gst/gst.h>

    image

  10. rinechran commented on Aug 19, 2022

    @rinechran
    rinechran (rinechran)
    on Aug 19, 2022
    ContributorAuthor
    More actions

    image

    The build doesn't work.
    If you look at the gstreamer-1.0/gst/gst.h header file, it seems that the path of include is wrong.

  11. FrankXie05 commented on Aug 19, 2022

    @FrankXie05
    Frank (FrankXie05)
    on Aug 19, 2022
    Contributor
    More actions

    For the integration of vcpkg projects, the default path is {VCPKG_INCLUDE_DIR}/${TRIPLET}/include. For my project, this value is E:\port-update\vcpkg\installed\x64-windows\include, so if you want to use gstreamer header files, each include must contain gstreamer-1.0.
    Like : #include <gstreamer-1.0/gst/gstversion.h>
    image

  12. rinechran commented on Aug 19, 2022

    @rinechran
    rinechran (rinechran)
    on Aug 19, 2022
    ContributorAuthor
    More actions

    :\port-update\vcpkg\installed\x64-windows\include, so if you want to use gstreamer header files, each include must contain gstreamer-1.0.

    Have you tried compiling the header file?

    If you look at the code gstreamer-1.0/gst/gstversion.h, there is no gstreamer-1.0 prefix at all.

    Reacted by Frank
  13. FrankXie05 commented on Aug 22, 2022

    @FrankXie05
    Frank (FrankXie05)
    on Aug 22, 2022
    Contributor
    More actions

    rinechran (@rinechran) Yes, this is indeed a bug. For upstream behavior, the gstreamer headers should be installed under the outer folder named gst. I will fix it. :)

    Reacted by eunsikNota, rinechran and weba52284
    Reacted by Cedric GNIEWEK, vamman, Kai Pastor and Wooseok Choi
  14. Frank (FrankXie05)
    added
    category:port-bugThe issue is with a library, which is something the port should already support
    and removed
    category:questionThis issue is a question
    on Aug 22, 2022
  15. Sharpe49 commented on Nov 13, 2022

    @Sharpe49
    Cedric GNIEWEK (Sharpe49)
    on Nov 13, 2022
    Contributor
    More actions

    For me, it's not a bug.
    Official builds from upstream are using the include/gstreamer-1.0/gst folder to store the include files.
    And the pkgconfig files do point to the right folder:
    Cflags: -I"${includedir}/gstreamer-1.0"

    Reacted by Kai Pastor and Riley Meyerkorth
    Reacted by rinechran and Riley Meyerkorth
  16. rinechran commented on Nov 15, 2022

    @rinechran
    rinechran (rinechran)
    on Nov 15, 2022
    ContributorAuthor
    More actions

    Cedric GNIEWEK (@Sharpe49)
    I respect your opinion. In pkgconfig, the corresponding value is considered normal. However, I think it should work on Windows without a separate setting.

  17. Sharpe49 commented on Nov 15, 2022

    @Sharpe49
    Cedric GNIEWEK (Sharpe49)
    on Nov 15, 2022
    Contributor
    More actions

    Are you using CMake or MSBuild in your project?

  18. rinechran commented on Nov 15, 2022

    @rinechran
    rinechran (rinechran)
    on Nov 15, 2022
    ContributorAuthor
    More actions

    i use MSBuild

    Are you using CMake or MSBuild in your project?

  19. github-actions commented on Dec 2, 2023

    @github-actions
    github-actionsBot
    on Dec 2, 2023 – with GitHub Actions
    Contributor
    More actions

    This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

  20. github-actions
    added
    Stale
    on Dec 2, 2023
  21. Frank (FrankXie05)
    removed
    Stale
    on Dec 4, 2023
  22. rinechran (rinechran)
    closed this as completedon May 11, 2024
  23. kvrban commented on Apr 13, 2025

    @kvrban
    kvrban
    on Apr 13, 2025
    More actions

    rinechran (@rinechran) why is this issue closed? There is no solution to it.

  24. m-riley04 commented on Oct 17, 2025

    @m-riley04
    Riley Meyerkorth (m-riley04)
    on Oct 17, 2025
    More actions

    Still no fix for this :( I'll look into a workaround for the time being

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @FrankXie05
    Frank (FrankXie05)

Labels

category:port-bugThe issue is with a library, which is something the port should already support

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402792 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.