Git Product home page Git Product logo

Comments (18)

Quackdoc avatar Quackdoc commented on May 26, 2024 2

make sure media_kit_libs_windows_video is in your pubspec

from media-kit.

filly82 avatar filly82 commented on May 26, 2024

it has to do with media_kit_video, the above mentioned error occurs as soon as having media_kit_video in the dependencies list of pubspec.yaml, without even have to using it

from media-kit.

alexmercerind avatar alexmercerind commented on May 26, 2024

It's likely an access violation within C++ implementation of package:media_kit_video.

Make sure you are on latest version from Git i.e. specify the ref (latest commit hash) in your pubspec.yaml. Flutter does not detect changes in Git dependencies.

from media-kit.

alexmercerind avatar alexmercerind commented on May 26, 2024

Specify ref like this (but use latest from main branch): #17 (comment).

I have serious exam situation, so I'm not available before next month.

from media-kit.

filly82 avatar filly82 commented on May 26, 2024

no hurry, but still no luck even with latest commits and master/beta channel

it comes down to this i think

D:\repositories\git\entwicklung_dart\media_kit_test\windows\flutter\ephemeral\.plugin_symlinks\media_kit_video\windows\angle_surface_manager.h(15,10): fatal  error C1083: Datei (Include) kann nicht ge�ffnet werden: "EGL/egl.h": No such file or directory
[D:\repositories\git\entwicklung_dart\media_kit_test\build\windows\plugins\media_kit_video\media_kit_video_plugin.vcxproj]
[        ]   D:\repositories\git\entwicklung_dart\media_kit_test\windows\flutter\ephemeral\.plugin_symlinks\media_kit_video\windows\video_output.h(14,10): fatal  error C1083: Datei (Include) kann nicht ge�ffnet werden: "client.h": No such file or directory
[D:\repositories\git\entwicklung_dart\media_kit_test\build\windows\plugins\media_kit_video\media_kit_video_plugin.vcxproj]
[        ]   D:\repositories\git\entwicklung_dart\media_kit_test\windows\flutter\ephemeral\.plugin_symlinks\media_kit_video\windows\video_output.h(14,10): fatal  error C1083: Datei (Include) kann nicht ge�ffnet werden: "client.h": No such file or directory
[D:\repositories\git\entwicklung_dart\media_kit_test\build\windows\plugins\media_kit_video\media_kit_video_plugin.vcxproj]
[        ]   D:\repositories\git\entwicklung_dart\media_kit_test\windows\flutter\ephemeral\.plugin_symlinks\media_kit_video\windows\video_output.h(14,10): fatal  error C1083: Datei (Include) kann nicht ge�ffnet werden: "client.h": No such file or directory
[D:\repositories\git\entwicklung_dart\media_kit_test\build\windows\plugins\media_kit_video\media_kit_video_plugin.vcxproj]
[        ]   D:\repositories\git\entwicklung_dart\media_kit_test\windows\flutter\ephemeral\.plugin_symlinks\media_kit_video\windows\video_output.h(14,10): fatal  error C1083: Datei (Include) kann nicht ge�ffnet werden: "client.h": No such file or directory
[D:\repositories\git\entwicklung_dart\media_kit_test\build\windows\plugins\media_kit_video\media_kit_video_plugin.vcxproj]

i think i got that right with the ref

  media_kit:
    git:
      url: https://github.com/alexmercerind/media_kit
      path: media_kit
      ref: c63aecfbe4db223b11a27a12ad261832fe8d0c36
  media_kit_video:
    git:
      url: https://github.com/alexmercerind/media_kit
      path: media_kit_video
      ref: 13ab81338b3ba88fd0be7196edfd18805741dd93

from media-kit.

alexmercerind avatar alexmercerind commented on May 26, 2024

20c46b5 is latest ref.
Use it for both packages. Confirm if it still crashes. If not, close this.

from media-kit.

filly82 avatar filly82 commented on May 26, 2024

unfortunately it still crashes

  media_kit:
    git:
      url: https://github.com/alexmercerind/media_kit
      path: media_kit
      ref: 20c46b58bb5c8a9e749b6b9760234281e7bf2e02
  media_kit_video:
    git:
      url: https://github.com/alexmercerind/media_kit
      path: media_kit_video
      ref: 20c46b58bb5c8a9e749b6b9760234281e7bf2e02

from media-kit.

Quackdoc avatar Quackdoc commented on May 26, 2024

you may need to delete the build folder completely

from media-kit.

filly82 avatar filly82 commented on May 26, 2024

@Quackdoc did not help :(

from media-kit.

filly82 avatar filly82 commented on May 26, 2024

it works now, yay. thank you both

from media-kit.

alexmercerind avatar alexmercerind commented on May 26, 2024

Yup. New versions won't build without it.

I didn't quite understand your issue if you were facing compile time issue or that memory access violation.

from media-kit.

filly82 avatar filly82 commented on May 26, 2024

initially I had both media_kit_libs_windows_video and media_kit_libs_windows_audio in my pubspec, but not the latest commit ref, so that was the missing point, but while testing around I removed those packages unfortunately

from media-kit.

filly82 avatar filly82 commented on May 26, 2024

still (or again) experiencing issues after trying to move from the working example project to my real project.
current status is that not even the example project is working anymore (I guess because it is created from scratch after I thought I don't need it anymore)

it compiles with no errors, but it does not launch.
when trying to launch the generated build manually from build\windows\runner\Debug or build\windows\runner\Release it says that libmpv-2.dll is missing. but there is a mpv-2.dll, so I copied that file and renamed it to libmpv-2.dll and the app launches and I can see the screen for a second or two than it crashes.
btw: it crashes only when really using the package in main.dart.
I have no idea how I got it to work yesterday, I guess because I had some variations of the git-url in my pubspec.yaml prior to the final one with the latest ref in it. I tried to reconctstruct my steps from yesterday but did not suceed

from media-kit.

alexmercerind avatar alexmercerind commented on May 26, 2024

Don't keep both libs package. READ THE README.

from media-kit.

alexmercerind avatar alexmercerind commented on May 26, 2024

As long as our CI is passing, everything is alright.

There is a decent application in repository with working pubspec.yaml & main.dart, what else is needed or expected from open source?

from media-kit.

filly82 avatar filly82 commented on May 26, 2024

oh man really, yeah you are right. damn you media_kit_libs_windows_audio. sorry for the inconvenience

the README should really say to NOT EVER USE both media_kit_libs_windows_video and media_kit_libs_windows_audio packages :-)

from media-kit.

alexmercerind avatar alexmercerind commented on May 26, 2024

It's not like there will always be only these 2 packages. They are variant of a same thing. In future, there might be 5 or 6 targetting different features to focus on modularity.

It does clarify everything, read the comment in README.

from media-kit.

filly82 avatar filly82 commented on May 26, 2024

you are completely right, I really could AND SHOULD have figured that out on my own

from media-kit.

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.