-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation fails on Windows 10 x64 #48
Comments
Could you please share your Visual Studio 2015 and Windows SDK version? |
I am using MS Visual Studio 2015 Community version 14.023107.0 and I have Windows SDK v7.0A, v8.0, v8.1, v8.1, v10.0A in my C:\Program Files (x86)\Microsoft SDKs\Windows directory. |
Could you please check if you have the following folder from Visual Studio 2015 installation? I just downloaded the latest official Visual Studio 2015 Update 1 that was released less than a week ago on a fresh machine. With this new setup and following the instruction on https://trac.ffmpeg.org/wiki/CompilationGuide/WinRT I can build Windows 10 FFmpeg libraries for any target including x64 without any problem. Could you also simply try running |
Sorry about the delay. The folder (10.0.10586.0) was missing, I had (10.0.10240.0). When I updated Visual Studio 2015 to the latest version, the problem remained. I was still getting the same error when following the instructions. When I ran However, I cannot run any of the sample solutions because |
To get this ( |
That worked. Thanks. |
Thank you @dargmuesli! 👍 |
I'm also having this error. My config.log shows the same as MantasMiksys at the bottom. I have confirmed that the WindowsApp.lib is present: WARNING: pkg-config not found, library detection may fail. |
Hi @jmc5113, From the logs, it looks like there's a typo in the lib name. Can you check if there's any change in the FFmpegConfig.sh script? There seems to be an extra d when setting the library name for WindowsApp.lib. |
Yes, Thank You for catching that! I made the typo when typing out the ../../../configure... command. Thanks again, it appears to be working now :-) |
mktemp -u XXXXXX why??? @khouzam |
@khouzam ../../../configure |
@khouzam help!! |
Hi @chenwdong In the future, it would be better for you to open a new issue instead of commenting on an old closed one. Did you install the UWP C++ SDK as part of your VS install? |
@khouzam I found the same problem and I found it here,I found that I didn't install UWP C++ SDK,and I am trying to install it. Keep an eye on it,thank youuuuuuuu! |
@khouzam |
Are you using BuildFFmpeg.bat or manually invoking the script? It looks like the LIB path is not properly set for WindowsApp.lib This is what we're doing in BuildFFmpeg.bat
|
@khouzam I think we can close this issue now. |
HI there,
I was following the instructions provided in https://trac.ffmpeg.org/wiki/CompilationGuide/WinRT for
Windows 10 x64. I intstalled all of the required dependencies (e.g. yasm) and checked their location.
When I run
I get the following error:
These are the last lines of config.log file:
Any ideas what could be wrong?
The text was updated successfully, but these errors were encountered: