obs-ptz icon indicating copy to clipboard operation
obs-ptz copied to clipboard

BUILD with plz reverse pan and tilt checkbox option

Open afbenevides opened this issue 4 months ago • 0 comments

Hello I am working on a modified PTZ mount for cams. It works with actual 15.4 and 16.0 plugin. I would like to add:

1- reverse pan and tilt direction 2- fix a problem I have with the joystick input of the PS3 remote I'm using (cuts at like 30% of full movement for max 127 value)

I'm now just at trying to compile before modifying code. I'm on OSX and was able to compile OBS-Studio but it fails on obs-ptz build trial.

Would you have some comments or guidance for me to unlock build. I could then move on to add the tilt and pan reverse options and also do a pull requests once done.

I following the commands on readme:

.github/scripts/build-macos.zsh .github/scripts/package-macos.zsh

But it fails with:

========================= ts-normal/x86_64/ptz.o clang: error: argument unused during compilation: '-stdlib=libc++' [-Werror,-Wunused-command-line-argument]

note: Run script build phase 'Generate CMakeFiles/ALL_BUILD' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'ALL_BUILD' from project 'obs-ptz') note: Run script build phase 'Generate CMakeFiles/ZERO_CHECK' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'ZERO_CHECK' from project 'obs-ptz') ** BUILD FAILED **

The following build commands failed: CompileC /Users/path_to/obs-ptz/build_x86_64/build/obs-ptz.build/RelWithDebInfo/Objects-normal/x86_64/ptz.o /Users//path_to/obs-ptz/src/ptz.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'obs-ptz' from project 'obs-ptz') (1 failure) ✖︎ script execution error

Callstack:
.github/scripts/build-macos.zsh:230
 .github/scripts/build-macos.zsh:249

=> Checking macOS version... > macOS 14.3 is recent => Checking for Homebrew... Using ccache Using coreutils Using cmake Using git Using jq Using ninja Homebrew Bundle complete! 6 Brewfile dependencies now installed. ✖︎ No release artifact found. Run the build script or the CMake install procedure first. ✖︎ script execution error

Callstack:
.github/scripts/package-macos.zsh:140
 .github/scripts/package-macos.zsh:200

===============================

afbenevides avatar Oct 11 '24 04:10 afbenevides