open-mmlab / denseflow

Extracting optical flow and frames
https://open-mmlab.github.io/
MIT License
307 stars 61 forks source link

nasm/yasm not found or too old. Use --disable-x86asm for a crippled build. #36

Closed unyxs281 closed 3 years ago

unyxs281 commented 3 years ago

当执行./zzffmpeg.sh时,提示nasm/yasm not found or too old. Use --disable-x86asm for a crippled build.,但是nasm和yasm已经安装了,这是什么原因内,也尝试了更新nasm和yasm的版本。还是出现这个错误。

innerlee commented 3 years ago

Pls show the output of

echo $PATH
echo $LD_LIBRARY_PATH
ls $HOME/app/bin
ls $HOME/app/lib
which nasm
which yasm
unyxs281 commented 3 years ago

Pls show the output of

echo $PATH
echo $LD_LIBRARY_PATH
ls $HOME/app/bin
ls $HOME/app/lib
which nasm
which yasm

image

innerlee commented 3 years ago

See the usage here https://github.com/innerlee/setup#usage

unyxs281 commented 3 years ago

See the usage here https://github.com/innerlee/setup#usage

image 我是按照这个步骤安装的。代码没有做改动,这是什么原因呢?谢谢。

innerlee commented 3 years ago

The PATH and LD_LIBRARY_PATH are incorrect according to your last post

innerlee commented 3 years ago

You can try this docker https://github.com/open-mmlab/denseflow/blob/master/docker/Dockerfile

sxl142 commented 2 years ago

当执行./zzffmpeg.sh时,提示nasm/yasm not found or too old. Use --disable-x86asm for a crippled build.,但是nasm和yasm已经安装了,这是什么原因内,也尝试了更新nasm和yasm的版本。还是出现这个错误。

source ~/.bashrc 应该就好了

kuangxiaoye commented 2 years ago

哇!!!!!!!!感谢 !!!!解决了!!!!

我一直以为./bashrc是实时编译的···呜呜··· 太感谢了!!

我要去仔细看看这个文件是干啥的···