Comments (9)
@meepzh OpenRV contributors are discussing offloading the dependency generation to something like conan so it's done outside of the OpenRV cmake build. It would make it easier for your project since you will be able to grab those dependencies using aur. The plan is not final yet, but so far it's where we are going.
from openrv.
Also, @meepzh some of your changes would be great in OpenRV's main repository, would you mind making a pull request?
- --disable-doc in ffmpeg.cmake
- the format-security error fix in arg
from openrv.
Had the exact same issues, the (I think) better fix for the first one is described here:
LibRaw/LibRaw@1583986
so just rename powf64(
to libraw_powf64(
inside of dcraw_common.cpp
.
The LibRaw package in https://github.com/shotgunsoftware/openrv-pub seems to use 0.18.0, but this fix was applied in ~0.18.8
For the sleep_for
errors I had to add #include <thread>
to both files that throw the error
from openrv.
Great to hear you got it to build on Arch Linux! If this is was the only blocker, I will see if I can do a quick fix that will still work for both Arch and CentOS.
from openrv.
Great to hear you got it to build on Arch Linux! If this is was the only blocker, I will see if I can do a quick fix that will still work for both Arch and CentOS.
Well yes, those were the only errors I found.
But I was planning to create an AUR package for OpenRV, and since it requires Qt prebuilt binaries I can't automate the process afaik.
Would be nice to adapt the program to use the system libraries.
from openrv.
It's unfortunately a third-parties library (PySide) that requires a more up-to-date version of Qt than is provided by the system.
from openrv.
With the ucontext_t
type and thread
includes addressed, I'll close this issue. Feel free to reopen if something is not still working.
from openrv.
Hi, I'm reopening this issue because of the new issues I'm facing when building the current version.
I've had several errors that I've easily patched (due Arch Linux diferences) but I haven't found a way to fix this one:
[536/677] Generating /mnt/data/Applications/AUR/openrv/src/build/stage/app/plugins/MovieFormats/movieformats.gto
FAILED: stage/app/plugins/MovieFormats/movieformats.gto /mnt/data/Applications/AUR/openrv/src/build/stage/app/plugins/MovieFormats/movieformats.gto
cd /mnt/data/Applications/AUR/openrv/src/build/stage/app/bin && /mnt/data/Applications/AUR/openrv/src/build/stage/app/bin/makeMovieIOformats /mnt/data/Applications/AUR/openrv/src/build/stage/app/plugins/MovieFormats
RV_HOME = /mnt/data/Applications/AUR/openrv/src/build/stage/app
/mnt/data/Applications/AUR/openrv/src/build/stage/app/bin/makeMovieIOformats.bin: Relink `/mnt/data/Applications/AUR/openrv/src/build/stage/app/lib/liblcms.so' with `/usr/lib/libm.so.6' for IFUNC symbol `sincos'
[542/677] Building CXX object src/lib/ip/IPMu/CMakeFiles/IPMu.dir/CommandsModule.cpp.o
In file included from /mnt/data/Applications/AUR/openrv/src/OpenRV/src/lib/mu/MuLang/MuLang/HalfType.h:14,
from /mnt/data/Applications/AUR/openrv/src/OpenRV/src/lib/ip/IPMu/CommandsModule.cpp:46:
/mnt/data/Applications/AUR/openrv/src/deps/RV_DEPS_IMATH/install/include/Imath/halfLimits.h:17:2: warning: #warning "ImathLimits is deprecated; use #include <half.h>" [-Wcpp]
17 | #warning "ImathLimits is deprecated; use #include <half.h>"
| ^~~~~~~
[547/677] Building CXX object src/test/IPCore/AudioRendererTest/CMakeFiles/AudioRendererTest.dir/main.cpp.o
ninja: build stopped: subcommand failed.
Once the project gets prebuilt libraries support it would be possible to make an AUR package for OpenRV, but for now I'll keep testing in my machine.
from openrv.
Sorry I didn't see this thread before- I'd started an AUR repository since I had an immediate need for OpenRV on Arch earlier https://aur.archlinux.org/packages/openrv-git
It's certainly not the cleanest build, and I haven't been keeping up with every update to the main branch, but I've confirmed that RV's basic functions work, so hopefully it's a good start. It does seem like the process went more smoothly for other people. Hopefully I haven't shot myself in the foot somewhere.
Most of my changes are for updating dependencies to the Arch environment, though:
- I did have difficulties using RV_FFMPEG_PATCH_COMMAND_STEP.
PATCH_COMMAND
didn't seem to be recognized by CMake, but I'm not super familiar with CMake to begin with- I was patching rvcmds with
sed -E 's/(alias rvcfg.+)"$/\1 '\''-DRV_FFMPEG_PATCH_COMMAND_STEP=PATCH_COMMAND git cherry-pick -n 988f2e9eb063db7c1a678729f58aab6eba59a55b \&\& git cherry-pick -n 031f1561cd286596cdb374da32f8aa816ce3b135 \&\& git cherry-pick -n effadce6c756247ea8bae32dc13bb3e6f464f0eb'\''"/' rvcmds.sh
but CMake was concatenating the patch step withSOURCE_DIR
- I was patching rvcmds with
- Some lines in the pub repository were flagged with the
format-security
error - OCIO will default to the Arch-provided yaml-cpp and not build the yaml-cpp static library that seems to be required elsewhere, so I've needed to force it
- PyOpenColorIO seemed to install elsewhere
That all being said, I know that Arch itself is introducing a lot of these difficulties, and I'm not well-equipped to test changes on other platforms, so I'm okay with just patching them in the AUR.
from openrv.
Related Issues (20)
- [Bug]: RV 2024.0.1 Errors using DisplayViewTransform in ColorSpace OCIO v2.2.1 HOT 3
- [Bug]: Apple Pro Res playback performances decrease when increasing the number of reader threads
- VFX Reference Platform CY23 HOT 1
- Improve Apple Pro Res playback performances
- Build error for Windows targeting CY2024
- Audio/Video Output API
- Audio/Video Output API - AJA
- Audio/Video Output API - BMD
- [Bug]: Audio cache stops being filled in some conditions leading to audio silence during playback
- [Bug]: Crash with an image sequence containing incomplete PNGs
- [Bug]: Unable to build on non-RHEL distros
- Windows build failure on ADD_SUBDIRECTORY HOT 1
- [Bug]: Playback stops when RV Window is completely overlapped on macOS
- [Bug]: OCIO DisplayViewTransform Output is Incorrect (RV 2024.1.0) HOT 2
- `_install` directory not excluded from repository HOT 2
- [Bug]: PNG decoder is not enabled (FFmpeg, Windows) HOT 1
- [Bug]: OCIO failed to compile GL program with 1d luts with 2048 length in RV 2024.1.0 HOT 2
- Latest ZLIB patch does not apply correctly HOT 1
- [Bug]: OCIO causes crashing unless reader threads set to 1 HOT 1
- Revert PCRE2.cmake to use Autotools HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openrv.