building ffmpeg errors with vc++

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

building ffmpeg errors with vc++

FFmpeg-users mailing list
On my system nvidia drivers is installed and I installed mingw-w64-x86_64-opencl-icd-git
and I built FFmpeg as following:
1-x86-x64 cross tools command prompt for VS 2019 run as administrator and Open mingw64 from the command prompt
2-cd c:\ffmpeg_test\ffmpeg
3-./configure -- toolchain=msvc --enable-opencl
But opencl not found
I export Path of "cl" and opencl.dll is in c:\windows\system32
Would you mind telling me how to solve it?

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: building ffmpeg errors with vc++

Carl Eugen Hoyos-2
Am Sa., 16. Mai 2020 um 19:51 Uhr schrieb Forough Majidi via
ffmpeg-user <[hidden email]>:
>
> On my system nvidia drivers is installed and I installed mingw-w64-x86_64-opencl-icd-git
> and I built FFmpeg as following:
> 1-x86-x64 cross tools command prompt for VS 2019 run as administrator and Open mingw64 from the command prompt
> 2-cd c:\ffmpeg_test\ffmpeg
> 3-./configure -- toolchain=msvc --enable-opencl
> But opencl not found

How do you know that opencl was not found?
(Did you actually read the message that was printed?)

Probably unrelated: I strongly suggest to use wsl to compile
FFmpeg for Windows.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: building ffmpeg errors with vc++

Carl Zwanzig
On 5/16/2020 10:53 AM, Carl Eugen Hoyos wrote:
> Probably unrelated: I strongly suggest to use wsl to compile
> FFmpeg for Windows.

Not to disagree, but what forms that preference?

(I use mingw wherever possible and msvc when forced (and from the command
line, if possible). And I'm sure I've successfully built ffmpeg w/ decklink
in mingw, although it was a couple of months ago.)

"You are in a maze of twisty little build environments, all slightly different."

z!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: building ffmpeg errors with vc++

Carl Eugen Hoyos-2
Am Sa., 16. Mai 2020 um 20:03 Uhr schrieb Carl Zwanzig <[hidden email]>:
>
> On 5/16/2020 10:53 AM, Carl Eugen Hoyos wrote:
> > Probably unrelated: I strongly suggest to use wsl to compile
> > FFmpeg for Windows.
>
> Not to disagree, but what forms that preference?

My personal experience, note that nothing above points to
using msvc.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: building ffmpeg errors with vc++

Carl Zwanzig
On 5/16/2020 11:05 AM, Carl Eugen Hoyos wrote:
> My personal experience, note that nothing above points to using msvc.

Just wanted to know if there some technical reasons I'd overlooked, doesn't
sound like it.

Some other OS projects that incorporate ffmpeg libs do use msvc, such as
CasparCG.

z!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: building ffmpeg errors with vc++

Carl Eugen Hoyos-2
Am Sa., 16. Mai 2020 um 21:06 Uhr schrieb Carl Zwanzig <[hidden email]>:
>
> On 5/16/2020 11:05 AM, Carl Eugen Hoyos wrote:
> > My personal experience, note that nothing above points to using msvc.
>
> Just wanted to know if there some technical reasons I'd overlooked, doesn't
> sound like it.
>
> Some other OS projects that incorporate ffmpeg libs do use msvc, such as
> CasparCG.

At least msvc, clang and gcc work fine with FFmpeg, icc should also work.

My point was that I consider wsl (technically) superior over msys.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".