Is a Linux version on the Roadmap? #31
Comments
|
I actually ported the code to work on Linux last year, but you'll have to build it yourself. EDIT 7/12/2020: I tried to put all the relevant information into a single location and help with branch confusion. My fork's master branch now contains the linux support changes, along with compilation/installation instructions in the README: https://github.com/dougg3/obs-ios-camera-source |
|
Trying to get this working now - it keeps complaining about ffmpeg and cmake... we'll see. |
|
You may be missing various *-dev packages if you're using Ubuntu -- for example a commenter on the issue I linked said he needed to install libobs-dev and libavcodec-dev. |
|
Nope... got them... there's no cmake file for ffmpeg... I changed a couple of things: #find_package(FFmpeg REQUIRED COMPONENTS avcodec avutil) find_ffmpeg_library(avcodec)find_ffmpeg_library(avutil)find_library( AVCODEC_LIBRARY avcodec ) include_directories( ...and it seems to compile (just finished...) |
|
I'm currently on Windows and will be switching soon. I hope we could get official support, that would be awesome. |
|
@harwoodr (or anybody else who knows) I'm trying to compile for Arch Linux. I've got the built libs and includes for ffmpeg in a local folder, but I don't know how to incorporate the changes to CMakeLists.txt that you made (I'm assuming that's where you made the changes), so I still get the cmake errors, as your originally reported. If I may ask, where in the CMakeLists.txt did you make the change and how [else] do I point to the ffmpeg includes? UPDATE: Never mind. I made the changes through trial and error. For others who wish to get over this hurdle:
and then, further down the CMakeLists.txt:
|
|
Now, I get a build error, as follows:
I'm using the latest |
|
@hpetrus you have to use my linux-support branch from last year -- it fixes several compile issues on Linux. I haven't checked out this project for a while...looks like there are some new commits I need to bring in soon. Anyway, this branch should build: https://github.com/dougg3/obs-ios-camera-source/tree/linux-support |
|
@dougg3 thanks for getting back to me on this issue. I'm super grateful that you've got this branch going in the first place. I'll compile your latest commit, but also look forward to whatever rebase you might bring from the original master. I'll be following closely! Question: Will this version compile against the latest OBS Studio source, do you know? If not, what version of OBS source should I acquire and will the resulting build work on the latest OBS Studio build? |
|
@dougg3 unfortunately, I'm still getting the same make error with your last commit (see my previous post above with the error messages). What might this be because of? When I regenerate my CMakeCache.txt, I get the following warning:
|
|
@hpetrus As of the last time I tried it, the current OBS Studio source worked fine. On the compile error: I'm not sure, I've never seen those issues before. I wonder if Arch has some newer GCC or libstdc++ that adds additional checks. I know it works in Ubuntu 18.04. You could try adding I'm also not sure about the CMakeLists.txt warnings. Maybe make sure you're starting again from a clean build directory after you switched to my branch? It's weird because I don't see any Qt dependencies. |
|
Just a heads up for future people who are trying to build the Linux version, I rearranged things a bit to help streamline the Linux build process and put all the relevant documentation in a single place. My fork's master branch now has the Linux fixes, along with an updated README.md with build/install instructions: |
|
@dougg3 Building with your patches and instructions works for me. Thank you so much for enabling an ubuntu 20.04 linux build of what looks like a truly awesome plugin/app by @wtsnz. As the whole apple ecosystem, as well as ubuntu are new to me, will give this and the iphone a setup and test in the morning, so I can have a whole day to enjoy what needs to be done to get it up and running. |
|
replying to self: #31 (comment), which was a reply to Wow. As the ozzies would say, a thing of beauty, a joy forever. |
|
@dougg3 thanks for updating! I got it to compile on Arch with some modifications to your CMakeLists.txt and some Arch-specific deps handling. I think it would be best to share my solution, which you helped me find. Should I post it under a new thread, or post it all here? |
|
I'm glad it's working for you guys! @hpetrus I would recommend posting an issue about it over at my repository. Maybe we can figure out a way to make it compatible with both Ubuntu and Arch. |
Hello, I've bought the iOS app, and it works very well with Windows. But, now I'm switching to Linux (Ubuntu Studio) and I would like to know if you have plans to make a Linux version for the obs plugin too.
The text was updated successfully, but these errors were encountered: