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

cmake problems on OSX #79

Closed
p-groarke opened this issue May 8, 2014 · 1 comment
Closed

cmake problems on OSX #79

p-groarke opened this issue May 8, 2014 · 1 comment

Comments

@p-groarke
Copy link
Contributor

Hello, trying to build obs-studio, hoping I may help debug OSX side of things. When building, for the opengl part I got linking errors. Fix is to add Opengl to link targets as so:

set(libobs-opengl_PLATFORM_DEPS
    ${COCOA}
    ${IOSURF}
    ${OPENGL_gl_LIBRARY})

There was another problem in mac-avcapture. Fix was to add Cocoa in linked libraries.

target_link_libraries(mac-avcapture
libobs
${AVFOUNDATION}
${COREFOUNDATION}
${COREMEDIA}
${COREVIDEO}
${COCOA})

A great thank you for rewriting OBS and porting it to OSX. It is truly appreciated :)

@palana
Copy link
Contributor

palana commented May 8, 2014

Fixed in cfc3f25

@palana palana closed this as completed May 8, 2014
Gol-D-Ace pushed a commit to Gol-D-Ace/obs-studio that referenced this issue Feb 20, 2021
* If there is no callback array, consider it as the last reference

* End the capture if an error occurs

* Revert "End the capture if an error occurs"

This reverts commit f69c821.

* Revert "If there is no callback array, consider it as the last reference"

This reverts commit be568b9.

* Add the option to force re-initialization of encoders on start streaming

* Revert "Add the option to force re-initialization of encoders on start streaming"

This reverts commit 82bc72a.

* Always reinitialize an encoder

* Add a way to force the reinitialization of encoders when starting streaming

* Pass the force encoder parameter as a flag

* Fix using a function argument for force initializing the encoder

* Fix invalid non-ptr variable

* Add the force encoder flag if using only the encoder flags (flag parameter is zero)

* Remove unecessary flag (since it will be added anyway)

* Remove unecessary check
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

2 participants