firebase-cpp-sdk
firebase-cpp-sdk copied to clipboard
[General Question] Conflicts between Firebase SDK and WebRtc SDK | ssl_lib.cc multiple definitions of functions
[REQUIRED] Please fill in the following fields:
- Pre-built SDK from the website or open-source from this repo: _____
- Firebase C++ SDK version: 9.0.0___
- Main Firebase Components in concern: App_ (Auth, Database, etc.)
- Other Firebase Components in use: Database_ (Auth, Database, etc.)
- Platform you are using the C++ SDK on: Ubuntu 18.04.6 LTS_ (Mac, Windows, or Linux)
- Platform you are targeting: Desktop___ (iOS, Android, and/or desktop)
[REQUIRED] Please describe the question here:
I am building Firebase Sdk with WebRtc. while adding firebase App classes I am getting the following error.
home/webrtc/lib_webrtc/src/third_party/boringssl/src/ssl/ssl_lib.cc.o first defined here
../firebase/libs/linux/x86_64/legacy/libfirebase_app.a(93f69bbf5771d4a5b72056dec59d993b_ssl_lib.cc.o): In function ssl_st::~ssl_st()':
/home/runner/work/firebase-cpp-sdk/firebase-cpp-sdk/out-sdk/external/src/boringssl/src/ssl/ssl_lib.cc:655: multiple definition of ssl_st::~ssl_st()'
getting the same error for every function of ssl_st
Stand-alone Both firebase SDK and Webrtc SDK are working fine, the above error arises upon integrating these two.
here are my CMakeLists.txt
I found a few problems with this issue:
- I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
- This issue does not seem to follow the issue template. Make sure you provide all the required information.
Are you able to build from source? That should work around with this issue.
If not, we should have a fix in the next release. https://github.com/firebase/firebase-cpp-sdk/pull/1000
Are you able to build from source? That should work around with this issue.
If not, we should have a fix in the next release. #1000
No i haven't
This should be fixed in the latest release.