Open jsdfhasuh opened 1 day ago
How did you build/create test.dll
? Could you explain what steps did you take in detail?
How did you build/create
test.dll
? Could you explain what steps did you take in detail?
cmd /c chcp 65001>nul && "C:\Program Files\mingw64\bin\gcc.exe" C:\Users\dd109\Desktop\mpv-0.39.0\mpv-0.39.0\my_scripts\test.c -DMPV_CPLUGIN_DYNAMIC_SYM -I C:\Users\dd109\Desktop\mpv-0.39.0\mpv-0.39.0\ -shared -o C:\Users\dd109\Desktop\mpv-0.39.0\mpv-0.39.0\my_scripts\test.dll
Make sure all dependencies of test.dll are in PATH or the same folder. This error message means that during loading of test.dll some its dependencies were not found.
Make sure all dependencies of test.dll are in PATH or the same folder. This error message means that during loading of test.dll some its dependencies were not found.
what dependencies it need? I include the "libmpv/client.h",and it compile no error message
Make sure all dependencies of test.dll are in PATH or the same folder. This error message means that during loading of test.dll some its dependencies were not found.
same scripts。 in ubuntu it work fine。the build command is "gcc -o simple.so simple.c -I /home/jsdfhasuh/mpv-build/mpv -shared -fPIC"
maybe the error occur in dlopen, it can not find the scripts file.
Use llvm-readobj --needed-libs
or something similar to check for DLL dependencies.
mpv Information
Other Information
Reproduction Steps
my c code:\n my task.json: \n
Expected Behavior
it will print the mpv version
Actual Behavior
can not load the c plungin
Log File
[test]C plugin error:‘找不到指定的程序。 [test] [test] Could not load cplugin script C:\Users\ddlo9\AppData\Roaming/mpv/scripts/test.d [auto_profiles] Applying auto profile: ontop-playback Resuming playback. This behavior can be disabled with --no-resume-playback. ●Video --vid=1 --vlang=en (h264 1920x1080 29.97 fps) [default] ●Audio--aid=1--alang=ja‘日语'(aac 2ch 48000 Hz)[default] Subs--sid=1--slang=zh‘简体中文’(subrip) O Subs--sid=22--slang=zh‘繁体中文’(subrip) Using hardware decoding (d3d1lva). AO:[wasapi] 44100Hz stereo 2ch float VO:[gpu] 1920x1080 d3d11[nv12] Saving state. (Paused) AV:00:00:09/ 00:54:11(0%) A-V:0.000 Exiting...(Quit)
Sample Files
No response
I carefully read all instruction and confirm that I did the following:
--log-file=output.txt
.