Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Wrong #include <obs.h> #828

Closed
yurivict opened this issue Jun 19, 2022 · 4 comments
Closed

Wrong #include <obs.h> #828

yurivict opened this issue Jun 19, 2022 · 4 comments
Labels
bug Bugs such as crashing, freezing, broken functionality, etc. rejected

Comments

@yurivict
Copy link

Operating System

(Other)

OBS Studio Version?

(Other)

StreamFX Version

0.11.1

OBS Studio Log

n/a

OBS Studio Crash Log

n/a

Current Behavior

/disk-samsung/freebsd-ports/multimedia/obs-streamfx/work/.build/generated/module.cpp:5:10: fatal error: 'obs.h' file not found
#include <obs.h>
         ^~~~~~~

obs-studio installs /usr/local/include/obs/obs.hand pkg-config says that it should be included as <obs/obs.h>:

$ pkg-config --cflags libobs
-I/usr/local/include -D_THREAD_SAFE -pthread 

Expected Behavior

n/a

Steps to Reproduce the Bug

n/a

Any additional Information we need to know?

No response

@yurivict yurivict added status:help-wanted bug Bugs such as crashing, freezing, broken functionality, etc. labels Jun 19, 2022
@Xaymar
Copy link
Contributor

Xaymar commented Jun 20, 2022

Please build StreamFX with CMake configuration files, not pkg-config. The include directory will be correct if you do this.

@yurivict
Copy link
Author

Please build StreamFX with CMake configuration files, not pkg-config.

pkg-config's output should match cmake's output. It is built with cmake and breaks.

I'm not sure why did you close it.

@Xaymar
Copy link
Contributor

Xaymar commented Jun 20, 2022

This project only supports CMakeFiles, nothing else.

@Xaymar
Copy link
Contributor

Xaymar commented Aug 14, 2022

This appears to have been due to a yet unreleased (in development) change for OBS Studio 28.0. StreamFX by default does not support in-development versions of OBS Studio or any of the libaries, and always targets certain versions. Anyway, with #870 this will be resolved.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Bugs such as crashing, freezing, broken functionality, etc. rejected
Projects
None yet
Development

No branches or pull requests

2 participants