exelix11 / SysDVR

Stream switch games to your PC via USB or network
GNU General Public License v2.0
1.52k stars 88 forks source link

[Help] command "dotnet SysDVR-Client.dll" failed #249

Closed meeteliza closed 1 year ago

meeteliza commented 1 year ago

Hi, thank you for creating such a helpful tool!

---------my error description--------- I finished installing all dependencies (dotnet, ffmpeg@5, SDL2, libusb) and checked "dotnet SysDVR-Client.dll --help" (see p1) which worked successfully

截屏2023-09-14 20 14 19

but I have trouble running the "dotnet SysDVR-Client.dll" command. this is the full error message: ![Uploading 截屏2023-09-14 20.07.55.png…]()

Full error message: System.DllNotFoundException: Unable to load DLL 'avcodec.59 under /usr/local/lib/': The specified module could not be found. at FFmpeg.AutoGen.ffmpeg.LoadLibrary(String libraryName, Boolean throwException) at FFmpeg.AutoGen.ffmpeg.<>c.<.cctor>b__7_0(String libraryName) at FFmpeg.AutoGen.ffmpeg.<>c.<.cctor>b__7_18() at FFmpeg.AutoGen.ffmpeg.av_packet_alloc() at SysDVR.Client.Player.H264StreamTarget..ctor() at SysDVR.Client.Player.PlayerManager..ctor(Boolean HasVideo, Boolean HasAudio, Boolean hwAcc, String codecName, String quality) at SysDVR.Client.Program.HandleStreamingCommands() at SysDVR.Client.Program.ProgramMain() at SysDVR.Client.Program.Main(String[] args)

it suggests me to look at my “dynamic loader environment variable” but unfortunately I don't know what that means so I really appreciate if you can help explain

-------my Setup information-----------

Thanks again

meeteliza commented 1 year ago

good news: I figured it out myself lol! here I find a detailed instruction on how to move some files into the right direction https://gist.github.com/c01dc0ffee/8acbd11bbd4b5c18ba4c5de288deb423 Im so happy when my switch screen pops up on my Mac thanks again for your wonderful tool!