[Resolved]macOS Catalina Build Error with OBS 24

vkoskiv

New Member
Built exactly according to build instructions. CMake config goes fine, but compiling fails with errors like this:

Code:
In file included from /Users/vkoskiv/dev/obs-studio/build/UI/frontend-plugins/decklink-output-ui/decklink-ouput-ui_autogen/mocs_compilation.cpp:2:
/Users/vkoskiv/dev/obs-studio/build/UI/frontend-plugins/decklink-output-ui/decklink-ouput-ui_autogen/NKRGQWJHU2/moc_combobox-ignorewheel.cpp:10:10: fatal error:
      '../../../../../../../../Documents/dev/obs-studio/UI/combobox-ignorewheel.hpp' file not found
#include "../../../../../../../../Documents/dev/obs-studio/UI/combobox-ignorewheel.hpp"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/vkoskiv/dev/obs-studio/build/UI/frontend-plugins/frontend-tools/frontend-tools_autogen/mocs_compilation.cpp:2:
/Users/vkoskiv/dev/obs-studio/build/UI/frontend-plugins/frontend-tools/frontend-tools_autogen/NKRGQWJHU2/moc_combobox-ignorewheel.cpp:10:10: fatal error:
      '../../../../../../../../Documents/dev/obs-studio/UI/combobox-ignorewheel.hpp' file not found
#include "../../../../../../../../Documents/dev/obs-studio/UI/combobox-ignorewheel.hpp"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/vkoskiv/dev/obs-studio/build/UI/obs_autogen/mocs_compilation.cpp:2:
/Users/vkoskiv/dev/obs-studio/build/UI/obs_autogen/EWIEGA46WW/moc_adv-audio-control.cpp:10:10: fatal error:
      '../../../../../../Documents/dev/obs-studio/UI/adv-audio-control.hpp' file not found
#include "../../../../../../Documents/dev/obs-studio/UI/adv-audio-control.hpp"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
1 error generated.

Anything I might be missing? All dependencies are their latest versions and I'm on the latest version of Catalina and Xcode CLI tools. Latest changes pulled from the repository as well.
 

vkoskiv

New Member
Derp! This is resolved.
I had a symlink to my dev directory which messed up the relative paths OBS's build system was using.
 
Top