在msys2中进行ffmpeg 开发,cargo run 可以正常执行,但是rust-analyzer总是提示Unable to find libclang: "the libclang
shared library at D:/msys64/mingw64\bin\libclang.dll could not be opened: LoadLibraryExW failed"。
后来配置了LIBCLANG_PATH 为 LLVM的bin,开始报
D:/msys64/mingw64/include\stdlib.h:388:47: error: expected ';' after top level declarator
D:/msys64/mingw64/include\stdlib.h:389:48: error: expected ';' after top level declarator
D:/msys64/mingw64/include\stdlib.h:396:26: error: expected ';' after top level declarator
D:/msys64/mingw64/include\stdlib.h:686:69: error: expected ';' after top level declarator
D:/msys64/mingw64/include\stdlib.h:688:48: error: expected ';' after top level declarator
D:/msys64/mingw64/include\stdlib.h:689:55: error: expected ';' after top level declarator
各位大佬这个问题要怎么处理啊。
P.S. ffmpeg的ffi用的是ffmpeg-sys-next
评论区
写评论还没有评论