You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CXX(target) Release/obj.target/beamcoder/src/beamcoder.o
In file included from ../src/beamcoder.cc:23:
../src/beamcoder_util.h:33:12: fatal error: 'libavutil/error.h' file not found
#include <libavutil/error.h>
^~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [Release/obj.target/beamcoder/src/beamcoder.o] Error 1
gyp ERR! build error
or
ld: library not found for -lavcodec
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Release/beamcoder.node] Error 1
gyp ERR! build error
after adding include_dirs and library_dirs for 'OS=="mac" to the binding.gyp.
⠼ Building module: beamcoder, Completed: 0
h:\electronproject\electron_vue\electron-vue-vite\node_modules\beamcoder\src\beamcoder_util.h(33): fatal error C1083: Cannot open include file: 'libavutil/error.h':
No such file or directory [H:\ElectronProject\Electron_Vue\electron-vue-vite\node_modules\beamcoder\build\beamcoder.vcxproj]
os: macOS 10.15.3
error message
or
after adding
include_dirs
andlibrary_dirs
for'OS=="mac"
to the binding.gyp.I can build succcess.
Same issue may also happen in Linux. #21 Add include dirs on linux
The text was updated successfully, but these errors were encountered: