Comments (9)
This is a simple build order fix for the ffmpeg_deps.sln file. Its fixed now in latest master.
from ffmpeg.
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.
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.
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.
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.
from ffmpeg.
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.
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.
@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)
- simple_idct_wrap.asm and simple_idct10_wrap.asm content HOT 2
- LNK2019 xxx __imp__fribidi_charset_to_unicode,function _shape_text xxx D:\xxx\ffmpeg-debug\source\FFmpeg\SMP\libavfilterd.lib(vf_drawtext.obj)
- Faster process?
- there is no libsrt? HOT 2
- cant build on vs2022 HOT 5
- ffmpeg 7.0 release? HOT 1
- I ****ING LOVE YOU FOR HELP ALL OF US BIULD THIS!!!!!!!!!!!!!!!!!!!!!!!!!!
- when i compile in DebugDLL x64 mode ,it cannot work. HOT 1
- FFmpeg.exe compile failed
- SVTAV1 HOT 2
- Error LNK2019: Unresolvable external symbol _udiv128, referenced in function __gmpn_tdiv_QR HOT 6
- Add filter "scale_cuda" HOT 8
- Unknown input format: 'dshow' HOT 3
- nvdec and libmfx now seem to depend on winrt and uwp HOT 2
- x265 winrt vs2022 build error HOT 1
- when i use libffmpeg awalys show [-s] [-r rate2] <file1.sw> <file2.sw> HOT 1
- vs2019 debug solution failed。 HOT 4
- Decode AV1 error HOT 7
- build error HOT 3
- vs2019 ffmpeg lib how to build MTd/MT, I modify the project properties C/C++ -> Code generation, changed to MTd/MT, compile ffmpeg, ffplay, ffprobe project error. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffmpeg.