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

Compilation on MacOS 12 failed #29

Open
AlexBlade opened this issue Nov 14, 2021 · 2 comments
Open

Compilation on MacOS 12 failed #29

AlexBlade opened this issue Nov 14, 2021 · 2 comments

Comments

@AlexBlade
Copy link

I'm trying to build agora-ui-tool from sources on my Mac, according to the short manual that is placed in the repo, but strange error is appearing.
After configuration and generation steps in the cmake-gui, I'm trying to execute make in the build directory. The result of the execution is placed below:

blade@MBP-Alex build % make
[ 11%] Automatic MOC and UIC for target agora-tool-ui
[ 11%] Built target agora-tool-ui_autogen
[ 22%] Building CXX object CMakeFiles/agora-tool-ui.dir/agora-tool-ui_autogen/mocs_compilation.cpp.o
In file included from /Users/blade/Development/Investigation/agora-ui-tool/obs-agora-ui-tool/build/agora-tool-ui_autogen/mocs_compilation.cpp:2:
In file included from /Users/blade/Development/Investigation/agora-ui-tool/obs-agora-ui-tool/build/agora-tool-ui_autogen/U3KM7JFWRN/moc_agorartcengine.cpp:10:
/Users/blade/Development/Investigation/agora-ui-tool/obs-agora-ui-tool/build/agora-tool-ui_autogen/U3KM7JFWRN/../../../src/Agora/agorartcengine.hpp:3:10: fatal error: 'QObject' file not found
#include <QObject>
         ^~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/agora-tool-ui.dir/agora-tool-ui_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/agora-tool-ui.dir/all] Error 2
make: *** [all] Error 2

But I believe that Qt5 was installed (via brew). I'm pretty new in Qt so any help will be very appreciate. Please show me the right way to compile the tool. The cmake-gui screenshot is attached.

Снимок экрана 2021-11-14 в 22 56 26

@sbd021
Copy link
Contributor

sbd021 commented Jan 1, 2022

Need to build obs studio first. Reference to https://github.com/obsproject/obs-studio/wiki/Install-Instructions.

@abhinabamitra
Copy link

I did build the OBS Studio first, and then proceded with the configuration, but I am still not finding 'Agora RTC Tool' under Tools Section, is there anything else needed to do?
Also where exactly did we use the 'deps' folder after downloading it in the Pre-Requisites Section?

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