Help! I'm trying to link a simple console app (Visual Studio 2017, C++) to WebRTC.
So far I've built WebRTC the source per their instructions, using build commands (recommended by Sourcey):
gn gen out/x64/Debug --args="is_debug=true rtc_include_tests=false target_cpu=\"x64\""
ninja -C out\x64\DebugMy VS 2017 Project has the following settings:
C/C++/General/Additional Include Directories:
webrtc\src
webrtc\src\third_party\abseil-cppLinker/General/Additional Library Directories:
webrtc\src\out\x64\Debug;
webrtc\src\out\x64\Debug\obj;
webrtc\src\out\x64\Debug\obj\rtc_base;Linker/Input/Additional Dependencies:
ws2_32.lib rtc_base.lib rtc_p2p.lib webrtc.lib winmm.lib dmoguids.lib wmcodecdspuuid.lib amstrmid.lib msdmo.lib crypt32.lib iphlpapi.lib secur32.lib Strmiids.libI'm sure my VS config could use some work, but for now, I'm getting the following linker error:
Severity Code Description Project File Line Suppression State Error LNK1136 invalid or corrupt file StreamingHostWin webrtc\src\out\x64\Debug\obj\rtc_base\rtc_base.lib 1
Any help/pointers would be greatly appreciated!
n gen out/release --args="is_debug=false target_winuwp_version=\"8.1\" target_cpu=\"x64\" target_winuwp_family=\"desktop\" use_rtti=true is_clang=false rtc_build_tools=false rtc_include_tests=false rtc_build_examples=false"
--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/54482f76-1c2a-4e2a-b29a-83ea26aa7288%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.