Coder Social home page Coder Social logo

Comments (9)

Sibras avatar Sibras commented on September 18, 2024 1

This is a simple build order fix for the ffmpeg_deps.sln file. Its fixed now in latest master.

from ffmpeg.

david-sackstein avatar david-sackstein commented on September 18, 2024

One of these problems has been resolved.
I had not installed YASM properly.
Instead of following the instructions at where YASM is downloaded, I ran the install script in the YASM installation pointed to be the readme in SMP/readme.txt.
This corrected the installation of YASM

from ffmpeg.

david-sackstein avatar david-sackstein commented on September 18, 2024

But a problem still remains with finding included headers for some of the projects.
For instance <zlib.h> needs to be replaced with "../../zlib/zlib.h" and there are many others.
Is there are configuration step I am missing?

from ffmpeg.

david-sackstein avatar david-sackstein commented on September 18, 2024

The problem I encountered running project_get_dependencies.bat was caused by there being spaces in the path to the project (or maybe because the path was too long). I moved the project to c:\ShiftMedia and the batch file ran ok.
However, even after running the batch file I still got these errors like these when rebuilding ffmpeg.sln:

Severity Code Description Project File Line Suppression State Error C1083 Cannot open include file: 'GL/glext.h': No such file or directory libavdevice C:\ShiftMedia\FFmpeg\libavdevice\opengl_enc.c 43 Error C1083 Cannot open include file: 'mfx/mfxvideo.h': No such file or directory libavutil C:\ShiftMedia\FFmpeg\libavutil\hwcontext_qsv.c 22 Error C1083 Cannot open include file: 'soxr.h': No such file or directory libswresample C:\ShiftMedia\FFmpeg\libswresample\soxr_resample.c 30 Error C1083 Cannot open include file: 'xvid.h': No such file or directory libavcodec C:\ShiftMedia\FFmpeg\libavcodec\libxvid.c 30 Error C1083 Cannot open include file: 'x265.h': No such file or directory libavcodec C:\ShiftMedia\FFmpeg\libavcodec\libx265.c 27
`

from ffmpeg.

Sibras avatar Sibras commented on September 18, 2024

Ill look into why the project_get_dependencies.bat file may not work, however any additional information you can give me may help.

As for the errors you are getting, these are because the dependencies have not been built and so they can not be found. You should instead use the ffmpeg_deps.sln solution as this includes links to all the downloaded repositories and will automatically build them as needed. So the only thing you have to manually do is get the glext headers as per the readme in the SMP folder.

Also in case you didnt know I will point out that pre-built VS 2015 static and dynamic release builds can be download from the release section of the repo so you only need to compile yourself if you want debug builds or to edit the code.

from ffmpeg.

david-sackstein avatar david-sackstein commented on September 18, 2024

from ffmpeg.

david-sackstein avatar david-sackstein commented on September 18, 2024

Problem solved.
The mxf folder had been given a different name by the clone.
I renamed it to mxf and all dependencies were found.
Thank you

from ffmpeg.

Sibras avatar Sibras commented on September 18, 2024

I just pushed an update that should hopefully resolve any issues with project_get_dependencies.bat in the future.
This script can also be used to update any existing download dependencies to the latest versions (if any new ones exist) so let me know if you have any issues with it in the future.

from ffmpeg.

tomachristian avatar tomachristian commented on September 18, 2024

@Sibras I still have the problem with mfx/mfxvideo.h not being found on the first clean build. After a second build the error goes away. This is with the latest version on master.

..\libavutil\hwcontext_qsv.c(22): fatal error C1083: Cannot open include file: 'mfx/mfxvideo.h': No such file or directory [C:\Workspaces\FFmpeg\src\ffmpeg\SMP\libavutil.vcxproj]

from ffmpeg.

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.