rdp / random-bug-reports

see issues
1 stars 0 forks source link

libx265 how to link static libstdc++ #38

Open rdp opened 5 months ago

rdp commented 5 months ago

x265.exe During startup program exited with code 0xc0000135. The code execution cannot proceed because listdc++-6.dll was no found. reinstalling the program may fix this problem.

cmake -DCMAKE_CXX_FLAGS="-static -static-libgcc -static-libstdc++"

fixes it, though ffmepg uses it a bit wrong still LOL.

rdp commented 5 months ago

ref: https://stackoverflow.com/questions/35201086/cmake-unable-to-find-libstdc/77830309#77830309

rdp commented 5 months ago

there's probably a way to just set linker flags but...this way seems to work? :)