Xaymar/obs-StreamFX












The issue has been closed
MacOSX version no longer builds after AMF handlers were added #400
markallenmobi posted onGitHub
Description
The new AMF handler stops the MacOSX version from building with a linker error.
make[1]: *** [UI/frontend-plugins/streamfx/CMakeFiles/StreamFX.dir/all] Error 2
make: *** [all] Error 2
+ ERROR during build step: cmake
The build error can be fixed by removing AMF from the build process.
This is done by removing the following two lines from source/encoders/encoder-ffmpeg.cpp
register_handler("h264_amf", ::std::make_shared<handler::amf_h264_handler>());
register_handler("hevc_amf", ::std::make_shared<handler::amf_hevc_handler>());
And then removing these build steps from the CMakeList.txt file
"source/encoders/handlers/amf_shared.hpp"
"source/encoders/handlers/amf_shared.cpp"
"source/encoders/handlers/amf_h264_handler.hpp"
"source/encoders/handlers/amf_h264_handler.cpp"
"source/encoders/handlers/amf_hevc_handler.hpp"
"source/encoders/handlers/amf_hevc_handler.cpp"
Hope that's enough information - it's my first ever issue raise in GitHub, let alone this project!