aclap-dev / vdhcoapp

Companion application for Video DownloadHelper browser add-on
GNU General Public License v2.0
1.8k stars 290 forks source link

Failed when building vpx #20

Closed rezaosman92 closed 6 years ago

rezaosman92 commented 6 years ago

I was trying to build vdhcoapp 1.3.1 and this was an error I found when I was executing build-apps.sh:

Building vpx enabling pic disabling examples disabling docs disabling install_bins disabling install_srcs disabling unit_tests enabling postproc enabling multi_res_encoding enabling vp9_temporal_denoising enabling vp9_postproc enabling vp8_encoder enabling vp8_decoder enabling vp9_encoder enabling vp9_decoder Configuring for target 'x86_64-linux-gcc' enabling x86_64 enabling runtime_cpu_detect enabling mmx enabling sse enabling sse2 enabling sse3 enabling ssse3 enabling sse4_1 enabling avx enabling avx2 using nasm Toolchain is unable to link executables

Configuration failed. This could reflect a misconfiguration of your toolchains, improper options selected, or another problem. If you don't see any useful error messages above, the next step is to look at the configure error log file (config.log) to determine what configure was trying to do when it died. [root@fedora converter]#

Any idea how to solve this?

mi-g commented 6 years ago

Can you check the config.log file ? It may contain useful information about what tool is missing or not working

rezaosman92 commented 6 years ago

Uhh, where can I find this config.log?

All I got when I ran whereis was this: [root@fedora reza]# whereis config.log config: /usr/share/config.site /usr/share/man/man5/config.5ssl.gz

mi-g commented 6 years ago

My understanding was that you got the error compiling the vpx library. So this is where to start looking for.

rezaosman92 commented 6 years ago

Here is the config.log from my src-build:

config.log

mi-g commented 6 years ago

It shows g++: command not found so you are probably missing some compiling tools. Maybe the gcc-c++ package ?

rezaosman92 commented 6 years ago

yep, thanks for your response. By now I already installed gcc-c++ (I'm on fedora), but I encountered a new error, maybe you could help me? From console I got this:

vpx_dsp/x86/intrapred_sse2.asm:64: error: invalid combination of opcode and operands third_party/x86inc/x86inc.asm:1383: ... from macro movd' defined here third_party/x86inc/x86inc.asm:1283: ... from macroRUN_AVX_INSTR' defined here make[1]: [Makefile:181: vpx_dsp/x86/intrapred_sse2.asm.o] Error 1 make: [Makefile:17: .DEFAULT] Error 2 [root@fedora vdhcoapp]#

rezaosman92 commented 6 years ago

Here's another config.log

mi-g commented 6 years ago

You should search google for vpx_dsp/x86/intrapred_sse2.asm:64: error: invalid combination of opcode and operands and see where it takes you. I don't think i can help much more here.

mi-g commented 6 years ago

Cleaning up bug entries. Latest release has vpx updates anyway.