VCVRack / VCV-Recorder

Other
24 stars 5 forks source link

make dep fails with nasm/yasm not found or too old #15

Closed MarcBoule closed 5 years ago

MarcBoule commented 5 years ago

Windows 10, commit https://github.com/VCVRack/VCV-Recorder/commit/6dd76d3b3acd7f8da003a217de80b3ad76f5263a

...
cd dep/ffmpeg && ./configure --prefix="/home/mboule/Rack/rdev/Rack/plugins/VCV-Recorder/dep" --enable-pic --enable-gpl \
        --disable-programs --disable-doc --disable-avdevice --disable-postproc --disable-avfilter --disable-network --disable-iconv --disable-alsa --disable-autodetect --disable-everything \
        --enable-protocol=file \
        --enable-muxer=wav --enable-encoder=pcm_s16le --enable-encoder=pcm_s24le \
        --enable-muxer=aiff --enable-encoder=pcm_s16be --enable-encoder=pcm_s24be \
        --enable-libmp3lame --enable-muxer=mp3 --enable-encoder=libmp3lame \
        --enable-muxer=flac --enable-encoder=flac \
        --enable-muxer=ipod --enable-encoder=alac \
        --enable-muxer=mpeg1system --enable-encoder=mpeg2video --enable-encoder=mp2
nasm/yasm not found or too old. Use --disable-x86asm for a crippled build.

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
make: *** [Makefile:32: dep/lib/libavcodec.a] Error 1
AndrewBelt commented 5 years ago

Install nasm.

MarcBoule commented 5 years ago

Ok, that got past that error, thanks.

Unless you find this too trivial, it might be best to add nasm to the list of MSYS packages in the instructions for setting up the dev environment here: https://vcvrack.com/manual/Building.html#windows

Coirt commented 5 years ago

Is there a command to install that package or does it have to be installed manually?

pacman -S mingw-w64-nasm doesn't seem to work.

MarcBoule commented 5 years ago

Try: pacman -Su nasm