Skip to content
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

./ffmpeg-nvenc-build.sh: line 145: cd: /root/ffmpeg-build-static-sources/x265/: No such file or directory abort: HTTP Error 404: Not Found #22

Open
digirave opened this issue Sep 9, 2020 · 3 comments

Comments

@digirave
Copy link

digirave commented Sep 9, 2020

Hello, when trying to compile on CentOS 7 I get the following error:

./ffmpeg-nvenc-build.sh: line 145: cd: /root/ffmpeg-build-static-sources/x265/: No such file or directory
abort: HTTP Error 404: Not Found

ilyaevseev added a commit that referenced this issue Sep 9, 2020
@ilyaevseev
Copy link
Owner

Please test update.

@digirave
Copy link
Author

digirave commented Sep 10, 2020

Thanks for the patch, however I still get errors.
Before running I did
rm ffmpeg-build-static-binaries/ -rf
rm ffmpeg-build-static-sources/ -rf
from home directory.

Then
I ran ffmpeg-nvenc-build.sh

Here are the results
ffmpegbuildlog.txt

[normal build stuff]
rm -rf conftest*
./ffmpeg-nvenc-build.sh: line 145: cd: /root/ffmpeg-build-static-sources/x265/: No such file or directory
destination directory: x265
[normal build stuff]
                 from /root/ffmpeg-build-static-sources/aom/av1/common/x86/convolve_2d_sse2.c:18:
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/tmmintrin.h:31:3: error: #error "SSSE3 instruction set not enabled"
 # error "SSSE3 instruction set not enabled"
   ^
In file included from /root/ffmpeg-build-static-sources/aom/av1/common/x86/convolve_2d_sse2.c:18:0:
/root/ffmpeg-build-static-sources/aom/aom_dsp/x86/convolve_sse2.h: In function ‘shuffle_filter_ssse3’:
/root/ffmpeg-build-static-sources/aom/aom_dsp/x86/convolve_sse2.h:131:3: warning: implicit declaration of function ‘_mm_shuffle_epi8’ [-Wimplicit-function-declaration]
   f[0] = _mm_shuffle_epi8(f_values, _mm_set1_epi16(0x0200u));
   ^
/root/ffmpeg-build-static-sources/aom/aom_dsp/x86/convolve_sse2.h:131:8: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
   f[0] = _mm_shuffle_epi8(f_values, _mm_set1_epi16(0x0200u));
        ^
/root/ffmpeg-build-static-sources/aom/aom_dsp/x86/convolve_sse2.h:132:8: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
   f[1] = _mm_shuffle_epi8(f_values, _mm_set1_epi16(0x0604u));
        ^
/root/ffmpeg-build-static-sources/aom/aom_dsp/x86/convolve_sse2.h:133:8: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
   f[2] = _mm_shuffle_epi8(f_values, _mm_set1_epi16(0x0a08u));
        ^
/root/ffmpeg-build-static-sources/aom/aom_dsp/x86/convolve_sse2.h:134:8: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
   f[3] = _mm_shuffle_epi8(f_values, _mm_set1_epi16(0x0e0cu));
        ^
/root/ffmpeg-build-static-sources/aom/aom_dsp/x86/convolve_sse2.h: In function ‘convolve8_8_ssse3’:
/root/ffmpeg-build-static-sources/aom/aom_dsp/x86/convolve_sse2.h:141:3: warning: implicit declaration of function ‘_mm_maddubs_epi16’ [-Wimplicit-function-declaration]
   const __m128i x0 = _mm_maddubs_epi16(s[0], f[0]);
   ^
/root/ffmpeg-build-static-sources/aom/aom_dsp/x86/convolve_sse2.h:141:22: error: incompatible types when initializing type ‘__m128i’ using type ‘int’
   const __m128i x0 = _mm_maddubs_epi16(s[0], f[0]);
                      ^
/root/ffmpeg-build-static-sources/aom/aom_dsp/x86/convolve_sse2.h:142:22: error: incompatible types when initializing type ‘__m128i’ using type ‘int’
   const __m128i x1 = _mm_maddubs_epi16(s[1], f[1]);
                      ^
/root/ffmpeg-build-static-sources/aom/aom_dsp/x86/convolve_sse2.h:143:22: error: incompatible types when initializing type ‘__m128i’ using type ‘int’
   const __m128i x2 = _mm_maddubs_epi16(s[2], f[2]);
                      ^
/root/ffmpeg-build-static-sources/aom/aom_dsp/x86/convolve_sse2.h:144:22: error: incompatible types when initializing type ‘__m128i’ using type ‘int’
   const __m128i x3 = _mm_maddubs_epi16(s[3], f[3]);
                      ^
[normal build stuff]
[ 39%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/dwt.c.o
[ 39%] Linking CXX static library libaom_gtest.a
[ 39%] Built target aom_gtest
[ 39%] Built target aom_av1_encoder
make: *** [all] Error 2
[root@test ffmpeg-build]# 

@ilyaevseev
Copy link
Owner

Warning, just ignore it:

./ffmpeg-nvenc-build.sh: line 145: cd: /root/ffmpeg-build-static-sources/x265/: No such file or directory
destination directory: x265

Cannot solve it, seems like libaom-specific:

# error "SSSE3 instruction set not enabled"

Try to build libaom separately, play with cmake options and so on.
This bug is well-googled, but seems no solution for libaom nor any cmake-based project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants