Git Product home page Git Product logo

Comments (6)

exeldro avatar exeldro commented on July 16, 2024

this will be the same on all my OBS plugins as I use the same build steps for all of them

from obs-downstream-keyer.

eribertomota avatar eribertomota commented on July 16, 2024

In other words, is this not a bug? Do you intend to keep this behavior when building? If yes, we could close this issue. I already have a workaround to fix this problem on Debian. I only need a confirmation from your side. Thanks!

from obs-downstream-keyer.

exeldro avatar exeldro commented on July 16, 2024

It sounds as a bug that I don't have any experience fixing.
Might be I need to remove those lines:
https://github.com/exeldro/obs-downstream-keyer/blob/master/CMakeLists.txt#L78-L81

from obs-downstream-keyer.

eribertomota avatar eribertomota commented on July 16, 2024

Removing these lines will don't install the right files, not the extra files. See below:

└── usr
    ├── data
    │   └── obs-plugins
    │       └── downstream-keyer
    │           └── locale
    │               ├── en-US.ini
    │               ├── es-ES.ini
    │               └── pt-BR.ini
    ├── lib
    │   └── x86_64-linux-gnu
    │       └── obs-plugins
    ├── obs-plugins
    │   └── 64bit
    │       └── downstream-keyer.so
    └── share
        ├── doc
        │   └── obs-downstream-keyer
        │       ├── changelog.Debian.gz
        │       └── copyright
        └── obs
            └── obs-plugins
                └── downstream-keyer
                    └── locale
                        ├── en-US.ini
                        ├── es-ES.ini
                        └── pt-BR.ini

from obs-downstream-keyer.

eribertomota avatar eribertomota commented on July 16, 2024

I commented out the section BUILD_OUT_OF_TREE in the end of the CMakeLists.txt. After the build process, I got:

└── usr
    ├── data
    │   └── obs-plugins
    │       └── downstream-keyer
    │           └── locale
    │               ├── en-US.ini
    │               ├── es-ES.ini
    │               └── pt-BR.ini
    ├── lib
    ├── obs-plugins
    │   └── 64bit
    │       └── downstream-keyer.so

I also noticed this:

Install the project...
/usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "None"
-- Installing: /PKGS/obs-downstream-keyer/obs-downstream-keyer/debian/obs-downstream-keyer/usr/obs-plugins/64bit/downstream-keyer.so
[...]

Note the following line:

-- Install configuration: "None"

So, without specific instructions for install in CMakeList.txt, cmake will do a standard install.

I well know autotools, but I am unfamiliar with cmake. I tried to found a solution, but I didn't found it. Feel free to ignore this behavior and close this bug because, as I said, I have a workaround to fix this on Debian when installing (I am deleting the extra files after installing). If you want to solve this issue, try to see SceneSwitcher[1]. I also maintain it on Debian and it installs fine OUT_OF_TREE.

[1] https://github.com/WarmUpTill/SceneSwitcher/blob/master/CMakeLists.txt

from obs-downstream-keyer.

eribertomota avatar eribertomota commented on July 16, 2024

Solved: it is needed to pass -DLINUX_PORTABLE=Off to cmake command. Closing. Thanks for your efforts.

from obs-downstream-keyer.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.