Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to find "webrtc/api/peer_connection_interface.h" #2258

Closed
rajendrasp opened this issue Jan 23, 2024 · 1 comment
Closed

Not able to find "webrtc/api/peer_connection_interface.h" #2258

rajendrasp opened this issue Jan 23, 2024 · 1 comment
Labels
needs-triage Issue still needs to be assigned, labeled and deduplicated type: bug Something is broken or not working as intended

Comments

@rajendrasp
Copy link

Project

Nearby Connections

Language

C++

OS Platform

Windows

What happened?

I am trying to create a new project. I am using Visual Studio and adding files manually to a lib project. I started with core.h and core.cc and solving the dependency issues. I am stuck at

#include "webrtc/api/peer_connection_interface.h"

in the file \internal\platform\implementation\webrtc.h

I am not able to find "webrtc/api/peer_connection_interface.h". I cloned submodules. It is not present in third_party folder.
Any idea where I get this?

What did you expect to happen?

I was expecting to find the peer_connection_interface.h files when I cloned the repo and submodules.

How can we reproduce it (as minimally and precisely as possible)?

This is bug while building code on Windows.

How often does this bug happen?

Every time

Standalone code to reproduce the issue

No response

Relevant log output

No response

Anything else we need to know?

No response

@rajendrasp rajendrasp added needs-triage Issue still needs to be assigned, labeled and deduplicated type: bug Something is broken or not working as intended labels Jan 23, 2024
@bourdakos1
Copy link
Collaborator

I think you already figured this out, but when building with Bazel, it defines NO_WEBRTC to ignore all the WebRTC includes. If you are building with Visual Studio instead of Bazel, you may need to manually define this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Issue still needs to be assigned, labeled and deduplicated type: bug Something is broken or not working as intended
Projects
None yet
Development

No branches or pull requests

2 participants