Public bug reported:

In libobs-dev all headers are in /usr/include/obs/, however the
/usr/include/obs/obs-frontend-api.h has two includes pointing to
/usr/include/. The fix for this is:

--- obs-frontend-api.h.orig     2021-09-06 23:17:30.132174882 -0300
+++ obs-frontend-api.h  2021-09-06 23:17:04.324371729 -0300
@@ -1,7 +1,7 @@
 #pragma once

-#include <obs.h>
-#include <util/darray.h>
+#include <obs/obs.h>
+#include <obs/util/darray.h>

 #ifdef __cplusplus
 extern "C" {

I already opened this bug in Debian (#993791), but I am specially
concerned with Ubuntu 20.04, used by GitHub for CI tests.

** Affects: obs-studio (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: build obs

** Patch added: "fix-headers.patch"
   
https://bugs.launchpad.net/bugs/1943041/+attachment/5523779/+files/fix-headers.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1943041

Title:
  Wrong includes in /usr/include/obs/obs-frontend-api.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/obs-studio/+bug/1943041/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to