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

error: cannot find -lagora_rtc_sdk #132

Open
rhenrhee opened this issue Feb 7, 2021 · 5 comments
Open

error: cannot find -lagora_rtc_sdk #132

rhenrhee opened this issue Feb 7, 2021 · 5 comments

Comments

@rhenrhee
Copy link

rhenrhee commented Feb 7, 2021

Windows 7 Ultimate, Qt5.15
In the process of building the project errors appear:
error: cannot find -lagora_rtc_sdk
👎 error: collect2.exe: error: ld returned 1 exit status
👎 error: [Makefile.Debug:109: debug/OpenLive.exe] Error 1

@yoreland
Copy link
Contributor

Just for double-confirm, do you Unzip the downloaded SDK package and copy the libs to the project folder?

@rhenrhee
Copy link
Author

Just for double-confirm, do you Unzip the downloaded SDK package and copy the libs to the project folder?

Yes, of course. To make sure everything was done according to the instructions, I additionally ran the related project under "MFC" and it ran correctly. I did the same experiment for the Qt project under Microsoft Windows 10 and the error is the same. Perhaps I should give more detailed instructions or record a video. At the same time, for Mac OS X all versions work correctly!

@sbd021
Copy link
Contributor

sbd021 commented Feb 28, 2021

SDK version? Which branch?

@sbd021
Copy link
Contributor

sbd021 commented Feb 28, 2021

You need to copy libs folder in sdk zip to the path OpenLive.pro is located in. The compiler will find agora_rtc_sdk.lib from libs/x86(x64_86).

@rhenrhee
Copy link
Author

rhenrhee commented Mar 1, 2021

Thank you for your reply. I'll check today and report back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants