microsoft / winrtc

The WinRTC project hosts everything needed to build apps with interoperable real time communications for modern Windows. It brings the power of WebRTC to modern Windows apps written in C#, C++ and VB. WinRTC enables real-time voice calling, video chat and data functionality (file transfer etc.) with web browsers via WebRTC.
347 stars 68 forks source link

Build fails with "Cannot open input file webrtc.lib" (In Debug mode) after adding microsoft.winrtc.libwebrtc.uwp 84.0.14370001-beta.1 #112

Open KarthikRichie opened 3 years ago

KarthikRichie commented 3 years ago

Describe the bug Build fails with "Cannot open input file webrtc.lib" (in debug mode) after downloading the nuget package microsoft.winrtc.libwebrtc.uwp 84.0.14370001-beta.1. But works fine when built in release mode

To Reproduce

  1. Create a blank C++ UWP app
  2. Download the latest package microsoft.winrtc.libwebrtc.uwp 84.0.14370001-beta.1 from Nuget
  3. Build the solution in Debug/x64 mode
  4. Build fails with "Cannot open input file webrtc.lib"

Expected behavior Solution should be built with out errors

Screenshots

image

Desktop (please complete the following information):

osaghaso commented 3 years ago

Hi @KarthikRichie

The solution should build with out errors because the Debug configuration does not have some of the optimizations for easy debugging the application, but the Release configuration is the one that holds compiler and linker optimizations that make the app to run fast.