Hello!
I am trying to follow instructions to build libvpx for Windows.
I installed cygwin and yasm as directed, however when I run ../libvpx/configure --help from cygwin bash, I get a lot of errors like below:
../libvpx/build/make/configure.sh: line 11: $'\r': command not found
../libvpx/build/make/configure.sh: line 12: $'\r': command not found
../libvpx/build/make/configure.sh: line 16: syntax error near unexpected token `$'{\r''
'./libvpx/build/make/configure.sh: line 16: `die_unknown(){
../libvpx/configure: line 165: enable_feature: command not found
../libvpx/configure: line 165: enable_feature: command not found
../libvpx/configure: line 165: enable_feature: command not found
../libvpx/configure: line 165: enable_feature: command not found
../libvpx/configure: line 192: enable_feature: command not found
../libvpx/configure: line 203: enabled: command not found
../libvpx/configure: line 204: enable_feature: command not found
../libvpx/configure: line 205: enable_feature: command not found
../libvpx/configure: line 207: enable_feature: command not found
../libvpx/configure: line 208: enable_feature: command not found
../libvpx/configure: line 209: enable_feature: command not found
../libvpx/configure: line 210: enable_feature: command not found
../libvpx/configure: line 211: enable_feature: command not found
../libvpx/configure: line 212: enable_feature: command not found
../libvpx/configure: line 213: enable_feature: command not found
../libvpx/configure: line 776: process: command not found
../libvpx/configure: line 777: print_webm_license: command not found
I tried to use dos2unix to fix line endings in configure script itself, but apparently all other files need to be fixed as well. Is it a known problem?
I managed to run the command from Mingw bash though installed with Windows git, but it does not recognize make. Besides, there is no solution files in the build folder, only .mk files (such as
solution-x86_64-win64-vs15.mk).
Could you suggest how this can be fixed?
Thanks,
Egor.