academysoftwarefoundation / openrv Goto Github PK
View Code? Open in Web Editor NEWOpen source version of RV, the Sci-Tech award-winning media review and playback software.
License: Other
Open source version of RV, the Sci-Tech award-winning media review and playback software.
License: Other
thanks for sharing amazing tool.
Hello, after several attempts I managed to get rv.exe. At runtime, I get a segmentation fault. Digging a bit in the log I found that it failed to compile OperEXR.
14>CustomBuild:
C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\cl.exe /nologo /TP -DIMATH_DLL -DOPENEXR_DLL -DOPENEXR_EXPORTS -DOpenEXR_EXPORTS -IC:\OpenRV\_build\RV_DEPS_OPENEXR\src\src\lib\OpenEXR -IC:\OpenRV\_build\RV_DEPS_OPENEXR\src\cmake -IC:\OpenRV\_build\RV_DEPS_OPENEXR\src\src\lib\Iex -IC:\OpenRV\_build\RV_DEPS_OPENEXR\src\src\lib\IlmThread -external:IC:\OpenRV\_build\RV_DEPS_IMATH\install\include -external:IC:\OpenRV\_build\RV_DEPS_IMATH\install\include\Imath -external:IC:\OpenRV\_build\RV_DEPS_ZLIB\install\include -external:W0 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MD /O2 /Ob2 /DNDEBUG /EHsc /showIncludes /Fosrc\lib\OpenEXR\CMakeFiles\OpenEXR.dir\ImfVecAttribute.cpp.obj /Fdsrc\lib\OpenEXR\CMakeFiles\OpenEXR.dir\ /FS -c C:\OpenRV\_build\RV_DEPS_OPENEXR\src\src\lib\OpenEXR\ImfVecAttribute.cpp
14>C:\OpenRV\_build\RV_DEPS_OPENEXR\src\src\lib\OpenEXR\ImfExport.h(1): warning C4821: Unable to determine Unicode encoding type, please save the file with signature (BOM) [C:\OpenRV\_build\cmake\dependencies\RV_DEPS_OPENEXR.vcxproj]
14>C:\OpenRV\_build\RV_DEPS_OPENEXR\src\src\lib\OpenEXR\ImfVecAttribute.cpp(22): error C2146: syntax error: missing ';' before identifier 'Vec2' [C:\OpenRV\_build\cmake\dependencies\RV_DEPS_OPENEXR.vcxproj]
The entire log of the build process (first errors around line 539): build.log
Here is the CMakeError for OpenEXR: CMakeError_OpenEXR.log
Thank you!
If annyone knows how to fix this and has spare time.
Followed build instructions on RHEL9.
installed Qt5 from qt.io's installer.
got stuck at the Configure step.
cmake -B cmake-build -DRV_DEPS_QT5_LOCATION=/opt/Qt
-- Build type: Debug
-- Building RV for generic Linux OS
-- Using build branch: main
-- Using build hash: 41eccbe
-- RV_STAGE_ROOT_DIR: /home/nanghe/git/OpenRV/cmake-build/stage/app
-- RV_STAGE_BIN_DIR: /home/nanghe/git/OpenRV/cmake-build/stage/app/bin
-- RV_STAGE_LIB_DIR: /home/nanghe/git/OpenRV/cmake-build/stage/app/lib
-- RV_STAGE_INCLUDE_DIR: /home/nanghe/git/OpenRV/cmake-build/stage/app/include
-- RV_STAGE_SRC_DIR: /home/nanghe/git/OpenRV/cmake-build/stage/app/src
-- RV_STAGE_RESOURCES_DIR: /home/nanghe/git/OpenRV/cmake-build/stage/app/resources
-- RV_STAGE_PLUGINS_DIR: /home/nanghe/git/OpenRV/cmake-build/stage/app/plugins
-- RV_STAGE_PLUGINS_CONFIGFILES_DIR: /home/nanghe/git/OpenRV/cmake-build/stage/app/plugins/ConfigFiles
-- RV_STAGE_PLUGINS_IMAGEFORMATS_DIR: /home/nanghe/git/OpenRV/cmake-build/stage/app/plugins/ImageFormats
-- RV_STAGE_PLUGINS_MOVIEFORMATS_DIR: /home/nanghe/git/OpenRV/cmake-build/stage/app/plugins/MovieFormats
-- RV_STAGE_PLUGINS_MU_DIR: /home/nanghe/git/OpenRV/cmake-build/stage/app/plugins/Mu
-- RV_STAGE_PLUGINS_NODES_DIR: /home/nanghe/git/OpenRV/cmake-build/stage/app/plugins/Nodes
-- RV_STAGE_PLUGINS_OIIO_DIR: /home/nanghe/git/OpenRV/cmake-build/stage/app/plugins/OIIO
-- RV_STAGE_PLUGINS_PACKAGES_DIR: /home/nanghe/git/OpenRV/cmake-build/stage/app/plugins/Packages
-- RV_STAGE_PLUGINS_PROFILES_DIR: /home/nanghe/git/OpenRV/cmake-build/stage/app/plugins/Profiles
-- RV_STAGE_PLUGINS_PYTHON_DIR: /home/nanghe/git/OpenRV/cmake-build/stage/app/plugins/Python
-- RV_STAGE_PLUGINS_QT_DIR: /home/nanghe/git/OpenRV/cmake-build/stage/app/plugins/Qt
-- RV_STAGE_PLUGINS_SUPPORTFILES_DIR: /home/nanghe/git/OpenRV/cmake-build/stage/app/plugins/SupportFiles
-- Updating submodules
CMake Error at /usr/lib64/cmake/Qt5/Qt5Config.cmake:28 (find_package):
Could not find a package configuration file provided by "Qt5WebEngineCore"
with any of the following names:
Qt5WebEngineCoreConfig.cmake
qt5webenginecore-config.cmake
Add the installation prefix of "Qt5WebEngineCore" to CMAKE_PREFIX_PATH or
set "Qt5WebEngineCore_DIR" to a directory containing one of the above
files. If "Qt5WebEngineCore" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
cmake/dependencies/qt5.cmake:41 (FIND_PACKAGE)
cmake/dependencies/CMakeLists.txt:36 (INCLUDE)
This was fixed by using -DRV_DEPS_QT5_LOCATION=/opt/Qt/5.15.2/gcc_64/
The Error I got after that one is about open Cl.
both ocl-icd and opencl-headers seem to be installed.
CMake Error at /usr/local/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find OpenCL (missing: OpenCL_LIBRARY OpenCL_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/local/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
/usr/local/share/cmake-3.25/Modules/FindOpenCL.cmake:163 (find_package_handle_standard_args)
src/lib/ip/IPCore/CMakeLists.txt:255 (FIND_PACKAGE)
dnf install ocl-icd-devel
Next I`m getting these conserning GLU.
both libglvnd and libglvnd-devel are installed.
and i think the mesa ones dont make sence with nvidia drivers ?
CMake Error at src/lib/mu/MuGL/CMakeLists.txt:28 (TARGET_LINK_LIBRARIES):
Target "MuGL" links to:
OpenGL::GLU
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
CMake Error at src/lib/mu/MuGLU/CMakeLists.txt:28 (TARGET_LINK_LIBRARIES):
Target "MuGLU" links to:
OpenGL::GLU
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
CMake Error at src/lib/mu/MuGLText/CMakeLists.txt:29 (TARGET_LINK_LIBRARIES):
Target "MuGLText" links to:
OpenGL::GLU
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
CMake Error at src/lib/app/OutputVideoDevices/CMakeLists.txt:36 (TARGET_LINK_LIBRARIES):
Target "OutputVideoDevices" links to:
OpenGL::GLU
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
CMake Error at src/lib/ui/TwkGLText/CMakeLists.txt:29 (TARGET_LINK_LIBRARIES):
Target "TwkGLText" links to:
OpenGL::GLU
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
CMake Error at src/bin/apps/rvprof/CMakeLists.txt:49 (TARGET_LINK_LIBRARIES):
Target "rvprof" links to:
OpenGL::GLU
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Fixed by running
sudo ln -s /usr/lib64/libGLU.so.1 /usr/lib64/libGLU.so
sudo dnf install mesa-libGLU
Then I tried running CMAKE and ran into the following issues.
openssl-devel is installed
The Meson build system (these only appeared the first time I ran and now don’t appear anymore.
Check usable header "io.h" : NO
Check usable header "pthread_np.h" : NO
Checking for function "_aligned_malloc" : NO
Compiler for C supports arguments -Wshorten-64-to-32: NO
Header <xxhash.h> has symbol "XXH3_createState" : NO
RV_DEPS_OPENSSL
[ 4%] Performing configure step for 'RV_DEPS_OPENSSL'
Namespace(clean=False, configure=True, build=False, install=False, source=PosixPath('/home/nanghe/git/OpenRV/cmake-build/RV_DEPS_OPENSSL/src'), output=PosixPath('/home/nanghe/git/OpenRV/cmake-build/RV_DEPS_OPENSSL/install'), arch='', perlroot='')
Executing ['perl', '/home/nanghe/git/OpenRV/cmake-build/RV_DEPS_OPENSSL/src/Configure', 'linux-x86_64', 'no-asm', '--prefix=/home/nanghe/git/OpenRV/cmake-build/RV_DEPS_OPENSSL/install', '--openssldir=/home/nanghe/git/OpenRV/cmake-build/RV_DEPS_OPENSSL/install', "-Wl,-rpath,'$$ORIGIN/../lib'"] from /home/nanghe/git/OpenRV/cmake-build/RV_DEPS_OPENSSL/src
Can't locate FindBin.pm in @INC (you may need to install the FindBin module) (@INC contains: /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /home/nanghe/git/OpenRV/cmake-build/RV_DEPS_OPENSSL/src/Configure line 15.
BEGIN failed--compilation aborted at /home/nanghe/git/OpenRV/cmake-build/RV_DEPS_OPENSSL/src/Configure line 15.
Traceback (most recent call last):
File "/home/nanghe/git/OpenRV/src/build/make_openssl.py", line 260, in <module>
configure()
File "/home/nanghe/git/OpenRV/src/build/make_openssl.py", line 194, in configure
subprocess.run(configure_args, cwd=SOURCE_DIR).check_returncode()
File "/usr/lib64/python3.9/subprocess.py", line 460, in check_returncode
raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['perl', '/home/nanghe/git/OpenRV/cmake-build/RV_DEPS_OPENSSL/src/Configure', 'linux-x86_64', 'no-asm', '--prefix=/home/nanghe/git/OpenRV/cmake-build/RV_DEPS_OPENSSL/install', '--openssldir=/home/nanghe/git/OpenRV/cmake-build/RV_DEPS_OPENSSL/install', "-Wl,-rpath,'$$ORIGIN/../lib'"]' returned non-zero exit status 2.
gmake[3]: *** [cmake/dependencies/CMakeFiles/RV_DEPS_OPENSSL.dir/build.make:92: cmake/dependencies/RV_DEPS_OPENSSL-prefix/src/RV_DEPS_OPENSSL-stamp/RV_DEPS_OPENSSL-configure] Error 1
gmake[2]: *** [CMakeFiles/Makefile2:6171: cmake/dependencies/CMakeFiles/RV_DEPS_OPENSSL.dir/all] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:13794: src/bin/apps/rv/CMakeFiles/rv.dir/rule] Error 2
gmake: *** [Makefile:3820: rv] Error 2
sudo dnf install perl-FindBin
No module named '_tkinter'
fixed by
sudo dnf install tcl-devel tk-devel python3-tkinter
next.
sudo dnf install python-yaml sqlite-devel
then there ws an error about sys/sysctl.h that was missing wich is depricated. c #20
[ 8%] Building CXX object src/lib/base/TwkUtil/CMakeFiles/TwkUtil.dir/SystemInfo.cpp.o
git/OpenRV/src/lib/base/TwkUtil/SystemInfo.cpp:22:10: fatal error: sys/sysctl.h: No such file or directory
22 | #include <sys/sysctl.h>
Fixed by removing the lines from the code at
~/git/OpenRV/src/lib/base/TwkUtil/SystemInfo.cpp.o
next libio missing
dnf install libaio-devel
sudo dnf install readline-devel
I get an cmake error in a additional packages creation. I followed the install instructions:
$ cmake -B cmake-build -G "Visual Studio 16 2019" -A x64 -DCMAKE_BUILD_TYPE=Release -DRV_DEPS_WIN_PERL_ROOT=/c/Strawberry/perl/bin -DRV_DEPS_QT5_LOCATION=/c/Qt/5.15.2/msvc2019_64
-- Build type: Release
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19044.
-- Building RV for Microsoft Windows
-- Using build branch: main
-- Using build hash: 41eccbe
-- RV_STAGE_ROOT_DIR: D:/UserDatenHaggi/Documents/coding/OpenRV/cmake-build/stage/app
-- RV_STAGE_BIN_DIR: D:/UserDatenHaggi/Documents/coding/OpenRV/cmake-build/stage/app/bin
-- RV_STAGE_LIB_DIR: D:/UserDatenHaggi/Documents/coding/OpenRV/cmake-build/stage/app/lib
-- RV_STAGE_INCLUDE_DIR: D:/UserDatenHaggi/Documents/coding/OpenRV/cmake-build/stage/app/include
-- RV_STAGE_SRC_DIR: D:/UserDatenHaggi/Documents/coding/OpenRV/cmake-build/stage/app/src
-- RV_STAGE_RESOURCES_DIR: D:/UserDatenHaggi/Documents/coding/OpenRV/cmake-build/stage/app/resources
-- RV_STAGE_PLUGINS_DIR: D:/UserDatenHaggi/Documents/coding/OpenRV/cmake-build/stage/app/PlugIns
-- RV_STAGE_PLUGINS_CONFIGFILES_DIR: D:/UserDatenHaggi/Documents/coding/OpenRV/cmake-build/stage/app/PlugIns/ConfigFiles
-- RV_STAGE_PLUGINS_IMAGEFORMATS_DIR: D:/UserDatenHaggi/Documents/coding/OpenRV/cmake-build/stage/app/PlugIns/ImageFormats
-- RV_STAGE_PLUGINS_MOVIEFORMATS_DIR: D:/UserDatenHaggi/Documents/coding/OpenRV/cmake-build/stage/app/PlugIns/MovieFormats
-- RV_STAGE_PLUGINS_MU_DIR: D:/UserDatenHaggi/Documents/coding/OpenRV/cmake-build/stage/app/PlugIns/Mu
-- RV_STAGE_PLUGINS_NODES_DIR: D:/UserDatenHaggi/Documents/coding/OpenRV/cmake-build/stage/app/PlugIns/Nodes
-- RV_STAGE_PLUGINS_OIIO_DIR: D:/UserDatenHaggi/Documents/coding/OpenRV/cmake-build/stage/app/PlugIns/OIIO
-- RV_STAGE_PLUGINS_PACKAGES_DIR: D:/UserDatenHaggi/Documents/coding/OpenRV/cmake-build/stage/app/PlugIns/Packages
-- RV_STAGE_PLUGINS_PROFILES_DIR: D:/UserDatenHaggi/Documents/coding/OpenRV/cmake-build/stage/app/PlugIns/Profiles
-- RV_STAGE_PLUGINS_PYTHON_DIR: D:/UserDatenHaggi/Documents/coding/OpenRV/cmake-build/stage/app/PlugIns/Python
-- RV_STAGE_PLUGINS_QT_DIR: D:/UserDatenHaggi/Documents/coding/OpenRV/cmake-build/stage/app/PlugIns/Qt
-- RV_STAGE_PLUGINS_SUPPORTFILES_DIR: D:/UserDatenHaggi/Documents/coding/OpenRV/cmake-build/stage/app/PlugIns/SupportFiles
-- Updating submodules
-- Copying Qt into D:/UserDatenHaggi/Documents/coding/OpenRV/cmake-build/stage/app
-- Copying Qt translations files ...
-- Copying Qt resources files ...
-- Copying Qt into D:/UserDatenHaggi/Documents/coding/OpenRV/cmake-build/stage/app -- DONE
-- Populating rv_deps_opentimelineio
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19044.
-- Configuring done
-- Generating done
-- Build files have been written to: D:/UserDatenHaggi/Documents/coding/OpenRV/cmake-build/_deps/rv_deps_opentimelineio-subbuild
Microsoft (R)-Build-Engine, Version 16.11.2+f32259642 für .NET Framework
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
Performing update step for 'rv_deps_opentimelineio-populate'
No patch step for 'rv_deps_opentimelineio-populate'
No configure step for 'rv_deps_opentimelineio-populate'
No build step for 'rv_deps_opentimelineio-populate'
No install step for 'rv_deps_opentimelineio-populate'
No test step for 'rv_deps_opentimelineio-populate'
Completed 'rv_deps_opentimelineio-populate'
-- Populating rv_deps_pyside2
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19044.
-- Configuring done
-- Generating done
-- Build files have been written to: D:/UserDatenHaggi/Documents/coding/OpenRV/cmake-build/_deps/rv_deps_pyside2-subbuild
Microsoft (R)-Build-Engine, Version 16.11.2+f32259642 für .NET Framework
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
Performing update step for 'rv_deps_pyside2-populate'
No patch step for 'rv_deps_pyside2-populate'
No configure step for 'rv_deps_pyside2-populate'
No build step for 'rv_deps_pyside2-populate'
No install step for 'rv_deps_pyside2-populate'
No test step for 'rv_deps_pyside2-populate'
Completed 'rv_deps_pyside2-populate'
-- Using Boost: 1.76.0
-- Using Dav1d: 1.0.0
-- Using FFMPEG: n4.4.3
-- Using atomic_ops: 7.7.0
-- Using Imath: 3.1.5
-- Using OpenEXR: 3.1.5
-- Using Python3: 3.9.15
-- Using PySide2: 5.15.2.1
-- Using Qt5: 5.15.2
-- Using zlib: 1.2.13
CMake Error at cmake/macros/rv_stage.cmake:406 (EXECUTE_PROCESS):
EXECUTE_PROCESS failed command indexes:
1: "Child return code: 1"
Call Stack (most recent call first):
src/plugins/rv-packages/additional_nodes/CMakeLists.txt:11 (RV_STAGE)
-- Configuring incomplete, errors occurred!
See also "D:/UserDatenHaggi/Documents/coding/OpenRV/cmake-build/CMakeFiles/CMakeOutput.log".
Has there been any research/work on upgrading OpenRV to support OCIO v2?
when i try building OpenRV it gives an error on CMAKE
CMake Error at cmake/macros/rv_stage.cmake:406 (EXECUTE_PROCESS):
EXECUTE_PROCESS failed command indexes:
1: "Child return code: 1"
Call Stack (most recent call first):
src/plugins/rv-packages/additional_nodes/CMakeLists.txt:11 (RV_STAGE)
can i get help please, thank you
#include <sys/sysctl.h> Deprecated from glibc on EL9.
Please add conditional statement that checks how recent your system is to OpenRV/src/lib/base/TwkUtil/SystemInfo.cpp,
I was a bit torn on where to report this issue, because it has existed in RV for many years (going back to at least RV 7), but it seems to have gotten much worse in OpenRV to the point where it's fairly unusable for our artists. This is a fundamental feature that our users rely on for their day-to-day workflows.
I'm generally seeing the same behavior between 2021, 2022 and Open RV which is: Quickly dragging a file from Dolphin (linux file browser) into the RV window often fails to bring up the drop target overlay. Hovering on the window makes no difference and still doesn't bring up the overlay. Dragging into the window slowly increases the chance of bringing up the overlay and that subsequent dropping then succeeds.
RV 7 can fail to accept the drop but only if you drag and drop the file very fast. The main difference seems to be that in RV 7 no matter what speed you drag into the window, if you just hover on the window, it brings up the drop target overlay, whereas RV 2021+ does not recover even when hovering. So it seems possible that somewhere between RV 7 and 2021, a hover event has been broken or removed which was previously showing the drop target. OpenRV seems to be more temperamental than 2021 and 2022... sometimes you end up only being able to drop right near the edge of the window where it activates the overlay as the overlay disappears once you move further into the window .
CentOS 7.8
Multiple configurations
none
No response
No response
Currently, OpenRV has a play all frames option (by default) or a realtime option. It would be nice if the real time option showed the number of skipped frames in a HUD or somewhere in the timeline area.
The link posted at:
https://github.com/AcademySoftwareFoundation/OpenRV/blob/main/doc/build_system/config_linux_centos7.md#install-devtoolset-9
The link target is not found, even after fixing the ]
Thanks!
-Gates
Loading in a DWAA compressed EXR file crashes RV on windows.
Tested on 3 seperate windows 10 machines with different CPUs (amd and intel).
Windows 10
Multiples
There is no console output, it just exits, even in DEBUG and TRACE mode it just exits after reading the file.
Version 1.0.0, built on Mar 31 2023 at 13:03:45 (HEAD=2b799c585).
Copyright (c) 2022 Autodesk, Inc. All rights reserved.
INFO: trying brute force to find an image reader for trace
INFO: trying brute force to find an image reader for trace
INFO: trying brute force to find an image reader for trace
INFO: trying brute force to find an image reader for trace
INFO: trying brute force to find an image reader for trace
INFO: trying brute force to find an image reader for trace
ERROR: Open of 'trace' failed: unsupported media type.
ERROR: Unable to retrieve OCIO context: ERROR: $OCIO environment variable unset!
ERROR: Unable to retrieve OCIO context: ERROR: $OCIO environment variable unset!
INFO: trace
INFO: Read image info from E:/projects/SPC_00142_MBU/SPC_00142_MBU_prod/060_shots/040/comp/render/mbu_040_comp_v007_exr/mbu_040_comp
No response
No response
In the commercial RV distribution (2022.3.1), rv.bin
links directly against libpng16.so
. However, the rv.bin
that is produced by the OpenRV build does not directly link against libpng at all. The end result of this is that when OpenRV runs, it ends up loading libpng15.so
(as a side-effect of loading its dependencies) before libpng16.so
. Since multiple versions of libpng
cannot coexist within the same symbol namespace, this load order breaks the functionality of the io_png
plugin, since it apparently relies on some specific features/functionality of the newer png library version.
The end result is that OpenRV cannot read PNG files, instead producing these warning error messages when trying to load them:
libpng warning: Application built with libpng-1.6.20 but running with 1.5.13
ERROR: plugin 'IOpng' cannot read '/path/to/image.png': PNG: error creating read struct /path/to/image.png
INFO: trying brute force to find an image reader for image.png
Using LD_PRELOAD
to force-load libpng16.so
in OpenRV fixes this error, which confirms that the library load order is important to allowing RV to function correctly.
It seems like the solution would be to ensure that rv.bin links directly against libpng16.so
, but we have not tested this yet, as we're getting by with LD_PRELOAD
.
CentOS 7.8.2003
OpenRV runtime version info: Version 2023.0.0, built on Feb 1 2023 at 11:45:25 (HEAD=9c6adc2).
CentOS 7.8.2003
N/A
libpng warning: Application built with libpng-1.6.20 but running with 1.5.13
ERROR: plugin 'IOpng' cannot read '/path/to/image.png': PNG: error creating read struct /path/to/image.png
INFO: trying brute force to find an image reader for image.png
N/A
Reported here: #88
New contributors cannot build OpenRV if their build toolchain is too recent. It seems like
ADD_COMPILE_OPTIONS contains -std=${_clang_cxx_standard}, and it's illegal in C.
MacOS
Any
[...]
error: invalid argument '-std=c++17' not allowed with 'C'
[...]
No response
Repro Step:
$ cmake --build _build/ --target resample --verbose
Hello,
Is an RPM release in the plans for this ? It would be great to have one to easily get this deployed.
I'm getting the followin error building the code:
freetype.vcxproj -> D:\Documents\Development\OpenRV\cmake-build\stage\app\lib\freetype.lib
Requirement already satisfied: numpy<1.23 in d:\documents\development\openrv\cmake-build\rv_deps_python3\install\lib\site-packages (1.22.4)
[notice] A new release of pip available: 22.3.1 -> 23.0
[notice] To update, run: D:\Documents\Development\OpenRV\cmake-build\RV_DEPS_PYTHON3\install\bin\python.exe -m pip install --upgrade pip
running install
D:\Documents\Development\OpenRV\cmake-build\RV_DEPS_PYTHON3\install\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
Python architecture is 64bit
nmake was found in C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\nmake.exe
CUSTOMBUILD : error : Option --jobs can only be used with 'jom' on Windows. [D:\Documents\Development\OpenRV\cmake-build\cmake\dependencies\RV_DEPS_PYTHON3-stage-target.vcxproj]
Traceback (most recent call last):
File "D:\Documents\Development\OpenRV\cmake-build\_deps\rv_deps_pyside2-src\setup.py", line 296, in <module>
setup_runner.run_setup()
File "D:\Documents\Development\OpenRV\cmake-build\_deps\rv_deps_pyside2-src\build_scripts\setup_runner.py", line 168, in run_setup
raise RuntimeError(msg)
RuntimeError:
setup.py invocation failed with exit code: 1.
setup.py invocation was: D:\Documents\Development\OpenRV\cmake-build\RV_DEPS_PYTHON3\install\bin\python.exe D:/Documents/Development/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/setup.py install --qmake=D:/Bibliotheken/Qt/5.15.2/msvc2019_64/bin/qmake.exe --ignore-git --standalone --openssl=D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_OPENSSL/install/bin --verbose-build --par
allel=32 --internal-build-type=shiboken2
Namespace(prepare=True, build=True, source=WindowsPath('D:/Documents/Development/OpenRV/cmake-build/_deps/rv_deps_pyside2-src'), python=WindowsPath('D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install'), qt=WindowsPath('D:/Bibliotheken/Qt/5.15.2/msvc2019_64'), openssl=WindowsPath('D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_OPENSSL/install'), temp=WindowsPat
h('D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/build'), output=WindowsPath('D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install'), variant='Release')
Verifying D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/build/libclang.7z
PATH=D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_OPENSSL/install/bin;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64;;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x86;;C:\P
rogram Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\tools;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\ide;C:\Program Files (x86)\HTML Help Workshop;;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin;C:\WINDOWS\Microsoft.NET\Framework64\v4.
0.30319\;C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin;C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\;;D:\msys64\mingw64\bin;D:\msys64\usr\local\bin;D:\msys64\usr\bin;D:\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\msys64\usr\bi
n\site_perl;D:\msys64\usr\bin\vendor_perl;D:\msys64\usr\bin\core_perl;;D:\msys64\mingw64\bin\
Found python interpreters ['D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python.exe', 'D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python.pdb', 'D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python3.dll', 'D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python3.exe', 'D:/Documen
ts/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python3.exp', 'D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python3.lib', 'D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python3.pdb', 'D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python39.dll', 'D:/Documents/Development/OpenRV/cmake-build/R
V_DEPS_PYTHON3/install/bin/python39.exp', 'D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python39.lib', 'D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python39.pdb', 'D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python3stub.exp', 'D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/py
thon3stub.lib', 'D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/pythonw.exe', 'D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/pythonw.pdb']
Installing numpy with ['D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python.exe', '-s', '-E', '-m', 'pip', 'install', 'numpy<1.23']
Traceback (most recent call last):
File "D:\Documents\Development\OpenRV\src\build\make_pyside.py", line 284, in <module>
Found python interpreters ['D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python.exe', 'D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python.pdb', 'D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python3.dll', 'D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python3.exe', 'D:/Documen
ts/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python3.exp', 'D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python3.lib', 'D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python3.pdb', 'D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python39.dll', 'D:/Documents/Development/OpenRV/cmake-build/R
V_DEPS_PYTHON3/install/bin/python39.exp', 'D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python39.lib', 'D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python39.pdb', 'D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python3stub.exp', 'D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/py
thon3stub.lib', 'D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/pythonw.exe', 'D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/pythonw.pdb']
Found MSVC compiler environment init script (vcvars64.bat):
C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Auxiliary/Build/vcvars64.bat
Could not find jom.exe at the expected location: D:/Bibliotheken/Qt/Tools/QtCreator/bin/jom
Build performance might be impacted
Executing ['D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python.exe', '-s', '-E', 'D:/Documents/Development/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/setup.py', 'install', '--qmake=D:/Bibliotheken/Qt/5.15.2/msvc2019_64/bin/qmake.exe', '--ignore-git', '--standalone', '--openssl=D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_OPENSSL/install/bin', '-
-verbose-build', '--parallel=32']
build()
File "D:\Documents\Development\OpenRV\src\build\make_pyside.py", line 203, in build
subprocess.run(pyside_build_args).check_returncode()
File "D:/msys64/mingw64/lib/python3.10/subprocess.py", line 457, in check_returncode
raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['D:/Documents/Development/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python.exe', '-s', '-E', 'D:/Documents/Development/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/setup.py', 'install', '--qmake=D:/Bibliotheken/Qt/5.15.2/msvc2019_64/bin/qmake.exe', '--ignore-git', '--standalone', '--openssl=D:/Documents/Development/OpenRV/cmake-build/RV
_DEPS_OPENSSL/install/bin', '--verbose-build', '--parallel=32']' returned non-zero exit status 1.
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: Custom build for 'D:\Documents\Development\OpenRV\cmake-build\CMakeFiles\cdf2ee0f297c16c94fa80d00cbed2c6e\RV_DEPS_PYSIDE2-build-flag.rule;D:\Documents\Development\OpenRV\cmake-build\CMakeFiles\e06857a341b9e7517a351ea5d7343c48\python39.dll.rule;D:\
Documents\Development\OpenRV\cmake-build\CMakeFiles\aaf9480ae0c40501b64285f8479037e8\RV_DEPS_PYTHON3-stage-target.rule' exited with code 1. [D:\Documents\Development\OpenRV\cmake-build\cmake\dependencies\RV_DEPS_PYTHON3-stage-target.vcxproj]
TwkMath.vcxproj -> D:\Documents\Development\OpenRV\cmake-build\stage\app\lib\TwkMath.lib
Sounds to me like there's an issue with jom, but i installed jom at:
D:\Bibliotheken\Qt\Tools\QtCreator\bin\jom.exe
I ran the following commands:
cmake -B cmake-build -G "Visual Studio 16 2019" -A x64 -DCMAKE_BUILD_TYPE=Release -DRV_DEPS_WIN_PERL_ROOT=/c/Strawberry/perl/bin -DRV_DEPS_QT5_LOCATION=/d/Bibliotheken/Qt/5.15.2/msvc2019_64
cmake --build cmake-build --config Release --target rv -j8
Any idea what might be the issue here?
I 'm on windows 10, i have Visual Studio 2017 and 2019 installed and no wsl and no vs2022
Are there plans to release this for debian/ubuntu? I have a studio running on Ubuntu and it would be great to get that supported if possible?
Thanks!
Heyhey
i succesfully build openrv, but i'm wondering why the size of the app folder is about 4.45 GB.
I was following the build instructions (for the release version).
But it looks like there where debug files build esp. for the dependencies.
Do i have to do anything else to make sure only the release is build?
Thanks for your help in advance :)
Atomic Ops download has a hash mismatch,
downloading this package: https://github.com/ivmai/libatomic_ops/archive/refs/heads/master.zip
downloadings heads version which was changed yesterday from what I can tell the hash changed.
I changed the hash in cmake/dependencies/atomic_ops.cmake
SET(_download_hash
7b6cf4a584813e531b336c7d966bd929
)
and will try to build again.
maybe the hash check should be removed when downloading from head?
-- [download 99% complete]
-- [download 100% complete]
-- verifying file...
file='C:/OpenRV/cmake-build/RV_DEPS_DOWNLOAD/RV_DEPS_ATOMIC_OPS_7.7.0.zip'
-- MD5 hash of
C:/OpenRV/cmake-build/RV_DEPS_DOWNLOAD/RV_DEPS_ATOMIC_OPS_7.7.0.zip
does not match expected value
expected: '8da38242d61d746e070e021a735798b9'
actual: '7b6cf4a584813e531b336c7d966bd929'
-- Hash mismatch, removing...
CMake Error at C:/OpenRV/cmake-build/cmake/dependencies/RV_DEPS_ATOMIC_OPS-prefix/src/RV_DEPS_ATOMIC_OPS-stamp/download-RV_DEPS_ATOMIC_OPS.cmake:170 (message):
Each download failed!
I'm Getting Build error at the step: Configure.
Please find the attached logs here.
build_error.txt
Hi,
The build fails on Gentoo Linux when building PySide2 with the downloaded Python 3.9:
Copying file /usr/lib64/libQt5WaylandCompositor.so.5 to /media/hdd/git/johhnry/OpenRV/build/_deps/rv_deps_pyside2-src/build/lib.linux-x86_64-cpython-39/PySide2/Qt/lib/libQt5WaylandCompositor.so.5.
Copying file /usr/lib64/libicutu.so.72 to /media/hdd/git/johhnry/OpenRV/build/_deps/rv_deps_pyside2-src/build/lib.linux-x86_64-cpython-39/PySide2/Qt/lib/libicutu.so.72.
Traceback (most recent call last):
File "/home/johhnry/git/johhnry/OpenRV/build/_deps/rv_deps_pyside2-src/setup.py", line 296, in <module>
setup_runner.run_setup()
File "/media/hdd/git/johhnry/OpenRV/build/_deps/rv_deps_pyside2-src/build_scripts/setup_runner.py", line 125, in run_setup
self.run_setuptools_setup()
File "/media/hdd/git/johhnry/OpenRV/build/_deps/rv_deps_pyside2-src/build_scripts/setup_runner.py", line 182, in run_setuptools_setup
setup(**kwargs)
File "/home/johhnry/git/johhnry/OpenRV/build/RV_DEPS_PYTHON3/install/lib/python3.9/site-packages/setuptools/__init__.py", line 108, in setup
return distutils.core.setup(**attrs)
File "/home/johhnry/git/johhnry/OpenRV/build/RV_DEPS_PYTHON3/install/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/home/johhnry/git/johhnry/OpenRV/build/RV_DEPS_PYTHON3/install/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/home/johhnry/git/johhnry/OpenRV/build/RV_DEPS_PYTHON3/install/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/home/johhnry/git/johhnry/OpenRV/build/RV_DEPS_PYTHON3/install/lib/python3.9/site-packages/setuptools/dist.py", line 1213, in run_command
super().run_command(command)
File "/home/johhnry/git/johhnry/OpenRV/build/RV_DEPS_PYTHON3/install/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/media/hdd/git/johhnry/OpenRV/build/_deps/rv_deps_pyside2-src/build_scripts/main.py", line 406, in run
_install.run(self)
File "/home/johhnry/git/johhnry/OpenRV/build/RV_DEPS_PYTHON3/install/lib/python3.9/site-packages/setuptools/command/install.py", line 72, in run
orig.install.run(self)
File "/home/johhnry/git/johhnry/OpenRV/build/RV_DEPS_PYTHON3/install/lib/python3.9/site-packages/setuptools/_distutils/command/install.py", line 698, in run
self.run_command('build')
File "/home/johhnry/git/johhnry/OpenRV/build/RV_DEPS_PYTHON3/install/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/home/johhnry/git/johhnry/OpenRV/build/RV_DEPS_PYTHON3/install/lib/python3.9/site-packages/setuptools/dist.py", line 1213, in run_command
super().run_command(command)
File "/home/johhnry/git/johhnry/OpenRV/build/RV_DEPS_PYTHON3/install/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/media/hdd/git/johhnry/OpenRV/build/_deps/rv_deps_pyside2-src/build_scripts/main.py", line 638, in run
self.prepare_packages()
File "/media/hdd/git/johhnry/OpenRV/build/_deps/rv_deps_pyside2-src/build_scripts/main.py", line 1007, in prepare_packages
return prepare_packages_posix(self, vars)
File "/media/hdd/git/johhnry/OpenRV/build/_deps/rv_deps_pyside2-src/build_scripts/platforms/unix.py", line 218, in prepare_packages_posix
prepare_standalone_package_linux(self, vars)
File "/media/hdd/git/johhnry/OpenRV/build/_deps/rv_deps_pyside2-src/build_scripts/platforms/linux.py", line 95, in prepare_standalone_package_linux
rpaths = linux_get_rpaths(designer_path)
File "/media/hdd/git/johhnry/OpenRV/build/_deps/rv_deps_pyside2-src/build_scripts/utils.py", line 979, in linux_get_rpaths
lines = linux_run_read_elf(executable_path)
File "/media/hdd/git/johhnry/OpenRV/build/_deps/rv_deps_pyside2-src/build_scripts/utils.py", line 940, in linux_run_read_elf
raise RuntimeError("Running `readelf -d {}` failed with error "
RuntimeError: Running `readelf -d /media/hdd/git/johhnry/OpenRV/build/_deps/rv_deps_pyside2-src/build/lib.linux-x86_64-cpython-39/PySide2/designer` failed with error output:
readelf: Error: '/media/hdd/git/johhnry/OpenRV/build/_deps/rv_deps_pyside2-src/build/lib.linux-x86_64-cpython-39/PySide2/designer': No such file.
Traceback (most recent call last):
File "/home/johhnry/git/johhnry/OpenRV/build/_deps/rv_deps_pyside2-src/setup.py", line 296, in <module>
setup_runner.run_setup()
File "/media/hdd/git/johhnry/OpenRV/build/_deps/rv_deps_pyside2-src/build_scripts/setup_runner.py", line 168, in run_setup
raise RuntimeError(msg)
RuntimeError:
setup.py invocation failed with exit code: 1.
-64bit-release/pyside2/PySide2/QtWidgets.pyi to /media/hdd/git/johhnry/OpenRV/build/_deps/rv_deps_py
side2-src/build/lib.linux-x86_64-cpython-39/PySide2/QtWidgets.pyi.
setup.py invocation was: /home/johhnry/git/johhnry/OpenRV/build/RV_DEPS_PYTHON3/install/bin/python3.9 /home/johhnry/git/johhnry/OpenRV/build/_deps/rv_deps_pyside2-src/setup.py install --qmake=/usr/lib64/qt5/bin/qmake --ignore-git --standalone --openssl=/home/johhnry/git/johhnry/OpenRV/build/RV_DEPS_OPENSSL/install/bin --verbose-build --parallel=16 --internal-build-type=pyside2
Copying tree /media/hdd/git/johhnry/OpenRV/build/_deps/rv_deps_pyside2-src/env3_build/py3.9-qt5.15.8
Traceback (most recent call last):
File "/home/johhnry/git/johhnry/OpenRV/src/build/make_pyside.py", line 284, in <module>
build()
File "/home/johhnry/git/johhnry/OpenRV/src/build/make_pyside.py", line 203, in build
subprocess.run(pyside_build_args).check_returncode()
File "/usr/lib/python3.11/subprocess.py", line 502, in check_returncode
raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/home/johhnry/git/johhnry/OpenRV/build/RV_DEPS_PYTHON3/install/bin/python3.9', '-s', '-E', '/home/johhnry/git/johhnry/OpenRV/build/_deps/rv_deps_pyside2-src/setup.py', 'install', '--qmake=/usr/lib64/qt5/bin/qmake', '--ignore-git', '--standalone', '--openssl=/home/johhnry/git/johhnry/OpenRV/build/RV_DEPS_OPENSSL/install/bin', '--verbose-build', '--parallel=16']' returned non-zero exit status 1.
It seems that it can't find and copy a file called designer
in the _deps/rv_deps_pyside2-src/build/lib.linux-x86_64-cpython-39/PySide2
directory.
Do someone know where it comes from?
Thanks!
Gentoo 5.15.80-gentoo-x86_64
5.15.8
I followed the Windows build guide carefully and everything seems to finish, but there is no RV executable in the 174,433 files in cmake-build. Installing doesn't help, no executable gets copied there either. Let me know what info I can provide to help troubleshoot.
Windows 10, VS Community 2017 and 2019, Qt 5.15.2. All other required apps and packages installed per the instructions.
Thank you!
When using a default build of OpenRV it can't write the preferences file in its default location, C:\Users\Brian\Application Data in my case.
Reading up on it, it seems that folder is deprecated in Windows 10.
I had a quick look at the code in \src\lib\app\RvCommon\RvApplication.cpp and thought changing
#elif defined(PLATFORM_WINDOWS)
QString config(home + "/Application Data");
to something like
#elif defined(PLATFORM_WINDOWS)
QString config(home + "/AppData");
should fix the problem. I might build again with this change to see if it works, but thought I'd mention it here too. For now I'm just using a custom pref path, but it would be better if it worked by default. Thanks!
Hi all, just a quick follow-up to the meeting this morning. I think these are some of the things that would be nice to see in Open RV, UI-wise:
Thanks!
Hi,
I am trying to build OpenRV on Gentoo (5.15.80-gentoo-x86_64) and I managed to install all the dependencies including Qt packages.
However during the CMake configure step, I have these two errors:
$ cmake -B cmake-build -DRV_DEPS_QT5_LOCATION=/usr/lib64/qt5
...
-- Copying Qt into /home/johhnry/git/AcademySoftwareFoundation/OpenRV/cmake-build/stage/app
-- Copying Qt libexec files ...
-- Copying Qt resources files ...
CMake Error at cmake/dependencies/qt5.cmake:127 (FILE):
FILE COPY cannot find "/usr/lib64/qt5/resources": No such file or
directory.
Call Stack (most recent call first):
cmake/dependencies/CMakeLists.txt:36 (INCLUDE)
-- Copying Qt translations files ...
CMake Error at cmake/dependencies/qt5.cmake:133 (FILE):
FILE COPY cannot find "/usr/lib64/qt5/translations": No such file or
directory.
Call Stack (most recent call first):
cmake/dependencies/CMakeLists.txt:36 (INCLUDE)
...
I found that on my system, the qt5 files are located in /usr/lib64/qt5
but the resources
and translations
folder are located in /usr/share/qt5
.
This is corresponding Cmake configuration code that does that:
# cmake/dependencies/qt5.cmake
MESSAGE(STATUS "Copying Qt resources files ...")
FILE(
COPY "${RV_DEPS_QT5_LOCATION}/resources"
DESTINATION "${RV_STAGE_ROOT_DIR}"
)
MESSAGE(STATUS "Copying Qt translations files ...")
FILE(
COPY "${RV_DEPS_QT5_LOCATION}/translations"
DESTINATION "${RV_STAGE_ROOT_DIR}"
)
I know that CentOS is the preferred platform to build on but could this be fixed by changing the CMake configuration or it's a distribution specific issue?
Thanks!
Hi,
I've been following the instruction from this link
https://github.com/AcademySoftwareFoundation/OpenRV/blob/main/doc/build_system/config_windows.md
I get to this stage and get some error.
cmake -B cmake-build -G "Visual Studio 16 2019" -A x64 -DCMAKE_BUILD_TYPE=Release -DRV_DEPS_WIN_PERL_ROOT=/c/Strawberry/perl/bin -DRV_DEPS_QT5_LOCATION=/c/Qt/Qt5.15.11/5.15.11/msvc2019_64
In particular, I get:
CMake Error at cmake/macros/rv_stage.cmake:406 (EXECUTE_PROCESS):
EXECUTE_PROCESS failed command indexes:
1: "Child return code: 1"
Call Stack (most recent call first):
src/plugins/rv-packages/additional_nodes/CMakeLists.txt:11 (RV_STAGE)
If I go to cmake/macros/rv_stage.cmake and comment everything inside out, I was able to finish the building and installing process. However, there was no rv.exe found in the final installation. Please advise.
I am trying to test a glsl shader (I am starting with one that ships with OpenRV).
I set my support path to the .gto and .glsl files.
export RV_SUPPORT_PATH=$PWD/OpenRV/src/plugins/rv-packages/lat_long_viewer
According to the docs, I need to open a new session/view in the session manager but I cannot make it work. Is this supported in OpenRV? The dpcuentation at:
shows pictures of the session manager, but they look nothing like what's in OpenRV.
Got this error Microsoft Visual Studio\2019 - The Windows SDK version 10.0.22621.0 was not found.
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.Cpp.WindowsSDK.targets(46,5): error MSB8036: The Windows SDK version 10.0.22621.0 was not found.
https://i.imgur.com/SXoT0wJ.jpg
but there is no such version in VS 2019 but there is for 2022 but having VS 2022 case another problems, seems like every day there are differnet sets of problems here :)
https://i.imgur.com/SBKQ1pt.jpg
When compiling PySide on Linux, the archive libclang.7z
is downloaded from an url and used as part of the build:
OpenRV/src/build/make_pyside.py
Line 86 in 41eccbe
I have an error further during the build so I tried running cmake again but it kept redownloading libclang.7z
even thought the file is still there.
I found that the issue was that it's checking the integrity of the 7z file with the SevenZipFile.test()
function here:
OpenRV/src/build/make_pyside.py
Line 88 in 41eccbe
In my case I don't know why the downloaded archive doesn't have any CRC record but the archive is not corrupted, therefore returning None
and evaluating it to False
.
A fix is to explicitly check if False
:
if os.path.exists(libclang_zip) is False:
download_file(libclang_url, libclang_zip)
# if we have a failed download, clean it up and redownload.
elif verify_7z_archive(libclang_zip) is False:
os.remove(libclang_zip)
download_file(libclang_url, libclang_zip)
Currrently, OpenRV seems severely crippled in term of codecs. While there are legal implications of course, it seems you guys went too far, particularly since you are not yet distributing OpenRV binaries.
Currently, at least on macOS, there are no codecs enough to decode some of the Netflix's open source contents, like SolLevante_HDR10_r2020_ST2084_UHD_24fps_1000nit.mov.
This prevents a proper evaluation of the package.
I tried last step to Invoke CMake from an MSYS2-MinGW64 shell
cmake -B cmake-build -G "Visual Studio 16 2019" -A x64 -DCMAKE_BUILD_TYPE=Release -DRV_DEPS_WIN_PERL_ROOT=/c/Strawberry/perl/bin -DRV_DEPS_QT5_LOCATION=/c/Qt/Qt5.15.2/msvc2019_64 cmake --build cmake-build --config Release --target rv -j8 cmake --install cmake-build --config Release
and got this error:
`CMake Error at src/lib/mu/MuQt5/CMakeLists.txt:10 (FIND_PACKAGE):
By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5", but
CMake did not find one.
Could not find a package configuration file provided by "Qt5" with any of
the following names:
Qt5Config.cmake
qt5-config.cmake
Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
to a directory containing one of the above files. If "Qt5" provides a
separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred!
See also "C:/OpenRV/cmake-build/CMakeFiles/CMakeOutput.log".
Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
MSBUILD : error MSB1009: Project file does not exist.
Switch: rv.vcxproj
CMake Error: Error processing file: C:/OpenRV/cmake-build/cmake_install.cmake
`
any idea what am I doing wrong?
Howdy all, I'm curious what controls the UI styles (buttons, icons, colors) and interface fonts in OpenRV. Are these things that have to be set before building or are there scripts to customize post-build? I found rvui which controls some font sizes and UI colors, but it seems limited. Thank you!
I have been tracking down a number of libraries not called out in the CentOS7 build requirements, most have been simple enough to just install. One that has tripped me up is there are a number of includes to "arg.h", which I was able to track down to Paul Heckbert's libarg written at Carnegie Mellon, with the latest release being from 1998:
https://www.cs.cmu.edu/afs/cs/Web/People/ph/859E/src/libarg/
As one might expect, trying to build C code written in the 1990's doesn't work out of the box with modern compilers. I presume that Autodesk has an updated in-house version that works with gcc-9? Would it be possible to add this to the repo? Or is there some updated version of libarg elsewhere that we just need to install?
Sorry everyone for a silly question, But I'm a fresh of code compile process.
At first I already got a build with a command below
cmake --install cmake-build --config Release
Also, after looking around in the target folder, I couldn't figure out how to run the open RV.
I have included folder structure that was created after the build for you to see. Please explain the next step to me.
Best
Sync sessions don't currently work because the minimum RV version is set to "2021.0.2" and the default version of OpenRV is "1.0.0". This results in the error "Remote version = 1.0.0, we require 2021.0.2 or above".
One solution to this is to change minRVVersion
to "1.0.0", but this prevents sync sessions between OpenRV and RV -- RV rejects OpenRV. We have licenses of RV which we'd like to keep for the added features so we'd like for licensed users to be able to sync with open source users (without requiring them to juggle two different apps). It would therefore be great if the version of OpenRV matched the version of RV.
For now I'm setting the version at build time using the cmake defines, but I'm just guessing at the version.
Simple one-character error; should be string[]
vs sring[]
OpenRV/src/lib/app/mu_rvui/commands.mud
Line 754 in 41eccbe
In preferences OpenRV is not detecting blackmagic card but works in commercial RV.
Should this be working or not available in OpenRV?
Thank you
Installed with Qt's latest 5.12.12 offline installer (online installer could not be found).
Here's the stack trace:
[ 48%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/sourcelocation.cpp.o
[ 50%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/signature/signature_extend.cpp.o
[ 51%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/signature/signature_helper.cpp.o
In file included from /Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/sources/shiboken2/ApiExtractor/abstractmetalang.cpp:31:
/Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/sources/shiboken2/ApiExtractor/propertyspec.h:46:5: error: unknown type name 'Q_DISABLE_COPY_MOVE'
Q_DISABLE_COPY_MOVE(QPropertySpec)
^
/Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/sources/shiboken2/ApiExtractor/propertyspec.h:46:39: error: expected ';' at end of declaration list
Q_DISABLE_COPY_MOVE(QPropertySpec)
^
;
In file included from /Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:31:
/Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/sources/shiboken2/ApiExtractor/propertyspec.h:46:5: error: unknown type name 'Q_DISABLE_COPY_MOVE'
Q_DISABLE_COPY_MOVE(QPropertySpec)
^
/Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/sources/shiboken2/ApiExtractor/propertyspec.h:46:39: error: expected ';' at end of declaration list
Q_DISABLE_COPY_MOVE(QPropertySpec)
^
;
/Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:2948:47: error: no member named 'endl' in namespace 'Qt'; did you mean simply 'endl'?
s << QString(72, QLatin1Char('')) << Qt::endl;
^~~~~~~~
endl
/Users/gga/Qt5.12.12/5.12.12/clang_64/lib/QtCore.framework/Headers/qtextstream.h:260:28: note: 'endl' declared here
Q_CORE_EXPORT QTextStream &endl(QTextStream &s);
^
/Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:2981:14: error: no member named 'endl' in namespace 'Qt'; did you mean simply 'endl'?
s << Qt::endl;
^~~~~~~~
endl
/Users/gga/Qt5.12.12/5.12.12/clang_64/lib/QtCore.framework/Headers/qtextstream.h:260:28: note: 'endl' declared here
Q_CORE_EXPORT QTextStream &endl(QTextStream &s);
^
/Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:2987:39: error: no member named 'endl' in namespace 'Qt'; did you mean simply 'endl'?
s << " - " << it.key() << Qt::endl;
^~~~~~~~
endl
/Users/gga/Qt5.12.12/5.12.12/clang_64/lib/QtCore.framework/Headers/qtextstream.h:260:28: note: 'endl' declared here
Q_CORE_EXPORT QTextStream &endl(QTextStream &s);
^
/Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:2990:47: error: no member named 'endl' in namespace 'Qt'; did you mean simply 'endl'?
s << QString(72, QLatin1Char('')) << Qt::endl << Qt::endl;
^~~~~~~~
endl
/Users/gga/Qt5.12.12/5.12.12/clang_64/lib/QtCore.framework/Headers/qtextstream.h:260:28: note: 'endl' declared here
Q_CORE_EXPORT QTextStream &endl(QTextStream &s);
^
/Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:2990:59: error: no member named 'endl' in namespace 'Qt'; did you mean simply 'endl'?
s << QString(72, QLatin1Char('*')) << Qt::endl << Qt::endl;
^~~~~~~~
endl
/Users/gga/Qt5.12.12/5.12.12/clang_64/lib/QtCore.framework/Headers/qtextstream.h:260:28: note: 'endl' declared here
Q_CORE_EXPORT QTextStream &endl(QTextStream &s);
^
In file included from /Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/sources/shiboken2/ApiExtractor/propertyspec.cpp:29:
/Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/sources/shiboken2/ApiExtractor/propertyspec.h:46:5: error: unknown type name 'Q_DISABLE_COPY_MOVE'
Q_DISABLE_COPY_MOVE(QPropertySpec)
^
/Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/sources/shiboken2/ApiExtractor/propertyspec.h:46:39: error: expected ';' at end of declaration list
Q_DISABLE_COPY_MOVE(QPropertySpec)
^
;
[ 53%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/typeparser.cpp.o
[ 54%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/sbknumpyarrayconverter.cpp.o
2 errors generated.
make[6]: *** [ApiExtractor/CMakeFiles/apiextractor.dir/abstractmetalang.cpp.o] Error 1
make[6]: *** Waiting for unfinished jobs....
[ 56%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/typesystem.cpp.o
7 errors generated.
make[6]: *** [ApiExtractor/CMakeFiles/apiextractor.dir/abstractmetabuilder.cpp.o] Error 1
/Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/sources/shiboken2/ApiExtractor/propertyspec.cpp:44:16: error: out-of-line definition of 'QPropertySpec' does not match any declaration in 'QPropertySpec'
QPropertySpec::QPropertySpec(const TypeSystemProperty &ts,
^~~~~~~~~~~~~
/Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/sources/shiboken2/ApiExtractor/propertyspec.cpp:93:67: error: no member named 'SkipEmptyParts' in namespace 'Qt'
auto propertyTokens = declaration.split(QLatin1Char(' '), Qt::SkipEmptyParts);
~~~~^
/Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/sources/shiboken2/ApiExtractor/propertyspec.cpp:177:17: error: no matching constructor for initialization of 'QPropertySpec'
return new QPropertySpec(ts, type);
^ ~~~~~~~~
/Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/sources/shiboken2/ApiExtractor/propertyspec.h:43:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
class QPropertySpec
^
/Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/sources/shiboken2/ApiExtractor/propertyspec.h:43:7: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided
5 errors generated.
make[6]: *** [ApiExtractor/CMakeFiles/apiextractor.dir/propertyspec.cpp.o] Error 1
/Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/sources/shiboken2/ApiExtractor/typesystem.cpp:513:26: error: no member named 'hex' in namespace 'Qt'; did you mean simply 'hex'?
d << "modifiers=" << Qt::hex << Qt::showbase << modifiers << Qt::noshowbase << Qt::dec;
^~~~~~~
hex
/Users/gga/Qt5.12.12/5.12.12/clang_64/lib/QtCore.framework/Headers/qtextstream.h:239:28: note: 'hex' declared here
Q_CORE_EXPORT QTextStream &hex(QTextStream &s);
^
/Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/sources/shiboken2/ApiExtractor/typesystem.cpp:513:37: error: no member named 'showbase' in namespace 'Qt'; did you mean simply 'showbase'?
d << "modifiers=" << Qt::hex << Qt::showbase << modifiers << Qt::noshowbase << Qt::dec;
^~~~~~~~~~~~
showbase
/Users/gga/Qt5.12.12/5.12.12/clang_64/lib/QtCore.framework/Headers/qtextstream.h:241:28: note: 'showbase' declared here
Q_CORE_EXPORT QTextStream &showbase(QTextStream &s);
^
/Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/sources/shiboken2/ApiExtractor/typesystem.cpp:513:66: error: no member named 'noshowbase' in namespace 'Qt'; did you mean simply 'noshowbase'?
d << "modifiers=" << Qt::hex << Qt::showbase << modifiers << Qt::noshowbase << Qt::dec;
^~~~~~~~~~~~~~
noshowbase
/Users/gga/Qt5.12.12/5.12.12/clang_64/lib/QtCore.framework/Headers/qtextstream.h:244:28: note: 'noshowbase' declared here
Q_CORE_EXPORT QTextStream &noshowbase(QTextStream &s);
^
/Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/sources/shiboken2/ApiExtractor/typesystem.cpp:513:84: error: no member named 'dec' in namespace 'Qt'; did you mean simply 'dec'?
d << "modifiers=" << Qt::hex << Qt::showbase << modifiers << Qt::noshowbase << Qt::dec;
^~~~~~~
dec
/Users/gga/Qt5.12.12/5.12.12/clang_64/lib/QtCore.framework/Headers/qtextstream.h:238:28: note: 'dec' declared here
Q_CORE_EXPORT QTextStream &dec(QTextStream &s);
^
[ 57%] Linking CXX shared library libshiboken2.cpython-39-darwin.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -Wall -fvisibility=hidden -Wno-strict-aliasing -D QT_NO_CAST_FROM_ASCII -D QT_NO_CAST_TO_ASCII -O3 -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -mmacosx-version-min=10.14 -dynamiclib -Wl,-headerpad_max_install_names -compatibility_version 5.15.0 -current_version 5.15.2 -o libshiboken2.cpython-39-darwin.5.15.2.1.dylib -install_name @rpath/libshiboken2.cpython-39-darwin.5.15.dylib CMakeFiles/libshiboken.dir/basewrapper.cpp.o CMakeFiles/libshiboken.dir/debugfreehook.cpp.o CMakeFiles/libshiboken.dir/gilstate.cpp.o CMakeFiles/libshiboken.dir/helper.cpp.o CMakeFiles/libshiboken.dir/sbkarrayconverter.cpp.o CMakeFiles/libshiboken.dir/sbkconverter.cpp.o CMakeFiles/libshiboken.dir/sbkenum.cpp.o CMakeFiles/libshiboken.dir/sbkmodule.cpp.o CMakeFiles/libshiboken.dir/sbkstring.cpp.o CMakeFiles/libshiboken.dir/sbkstaticstrings.cpp.o CMakeFiles/libshiboken.dir/bindingmanager.cpp.o CMakeFiles/libshiboken.dir/threadstatesaver.cpp.o CMakeFiles/libshiboken.dir/shibokenbuffer.cpp.o CMakeFiles/libshiboken.dir/qapp_macro.cpp.o CMakeFiles/libshiboken.dir/pep384impl.cpp.o CMakeFiles/libshiboken.dir/voidptr.cpp.o CMakeFiles/libshiboken.dir/typespec.cpp.o CMakeFiles/libshiboken.dir/bufferprocs_py37.cpp.o CMakeFiles/libshiboken.dir/signature/signature.cpp.o CMakeFiles/libshiboken.dir/signature/signature_globals.cpp.o CMakeFiles/libshiboken.dir/signature/signature_extend.cpp.o CMakeFiles/libshiboken.dir/signature/signature_helper.cpp.o CMakeFiles/libshiboken.dir/sbknumpyarrayconverter.cpp.o -undefined dynamic_lookup
[ 57%] Built target libshiboken
4 errors generated.
make[6]: *** [ApiExtractor/CMakeFiles/apiextractor.dir/typesystem.cpp.o] Error 1
make[5]: *** [ApiExtractor/CMakeFiles/apiextractor.dir/all] Error 2
make[4]: *** [all] Error 2
error: Error compiling shiboken2
Traceback (most recent call last):
File "/Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/setup.py", line 296, in
setup_runner.run_setup()
File "/Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/build_scripts/setup_runner.py", line 168, in run_setup
raise RuntimeError(msg)
RuntimeError:
setup.py invocation failed with exit code: 1.
setup.py invocation was: /Users/gga/code/applications/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python3.9 /Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/setup.py install --qmake=/Users/gga/Qt5.12.12/5.12.12/clang_64/bin/qmake --ignore-git --standalone --openssl=/Users/gga/code/applications/OpenRV/cmake-build/RV_DEPS_OPENSSL/install/bin --verbose-build --parallel=16 --internal-build-type=shiboken2
Traceback (most recent call last):
File "/Users/gga/code/applications/OpenRV/src/build/make_pyside.py", line 283, in
build()
File "/Users/gga/code/applications/OpenRV/src/build/make_pyside.py", line 202, in build
subprocess.run(pyside_build_args).check_returncode()
File "/usr/local/Cellar/[email protected]/3.10.9/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 457, in check_returncode
raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/Users/gga/code/applications/OpenRV/cmake-build/RV_DEPS_PYTHON3/install/bin/python3.9', '-s', '-E', '/Users/gga/code/applications/OpenRV/cmake-build/_deps/rv_deps_pyside2-src/setup.py', 'install', '--qmake=/Users/gga/Qt5.12.12/5.12.12/clang_64/bin/qmake', '--ignore-git', '--standalone', '--openssl=/Users/gga/code/applications/OpenRV/cmake-build/RV_DEPS_OPENSSL/install/bin', '--verbose-build', '--parallel=16']' returned non-zero exit status 1.
make[3]: *** [RV_DEPS_PYTHON3/install/RV_DEPS_PYSIDE2-build-flag] Error 1
make[2]: *** [cmake/dependencies/CMakeFiles/RV_DEPS_PYTHON3-stage-target.dir/all] Error 2
make[1]: *** [src/bin/nsapps/RV/CMakeFiles/RV.dir/rule] Error 2
make: *** [RV] Error 2
The following test script crashes with the attached segfault:
RV.app/Contents/MacOS/RV -pyeval "from rv import commands; onReplyEvent = lambda event: print(event.contents()); commands.bind('default','global','on-reply-event', onReplyEvent, 'desc'); commands.httpGet('https://github.com', [], 'on-reply-event');"
I have a fix, so I'm going to use this as a test of my EasyCLA setup with MovieLabs...
macOS 13.2.1
Mac Studio
Crashed Thread: 0 RV Main Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000008
Exception Codes: 0x0000000000000001, 0x0000000000000008
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [35747]
VM Region Info: 0x8 is not in any region. Bytes before following region: 140722984894456
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
mapped file 7ffc9f86c000-7ffcaa338000 [170.8M] r-x/r-x SM=COW ...t_id=41fa3a75
Thread 0 Crashed:: RV Main Dispatch queue: com.apple.main-thread
0 RV 0x1046b0ea4 boost::_bi::value<Rv::RvSession*>::value(Rv::RvSession* const&) + 20 (bind.hpp:101)
1 RV 0x1046b0e4d boost::_bi::value<Rv::RvSession*>::value(Rv::RvSession* const&) + 29 (bind.hpp:101)
2 RV 0x10479a027 Mu::Node::func() const + 39 (Node.h:138)
3 RV 0x10482270d Rv::httpGet(Mu::Node const&, Mu::Thread&) + 557 (MuUICommands.cpp:1743)
4 RV 0x10560abee Mu::VoidType::nodeEval(Mu::Node const*, Mu::Thread&) const + 62 (VoidType.cpp:35)
5 RV 0x10412e7c4 Mu::Node::eval(Mu::Thread&) const + 68 (Node.cpp:152)
6 RV 0x104163200 Mu::Thread::call(Mu::Function const*, std::__1::vector<Mu::Value, Mu::MuGCAPI_allocator<Mu::Value> >&, bool) + 1424 (Thread.cpp:386)
7 RV 0x104302a37 TwkApp::MuSymbol_call(_object*, _object*, _object*) + 2519 (PyMuSymbolType.cpp:363)
8 libpython3.9.dylib 0x11b2b6f68 _PyObject_MakeTpCall + 376 (call.c:191)
9 libpython3.9.dylib 0x11b3a9952 call_function + 626
10 libpython3.9.dylib 0x11b3a67d5 _PyEval_EvalFrameDefault + 27653 (ceval.c:3489)
11 libpython3.9.dylib 0x11b3aa7de _PyEval_EvalFrame + 18 (pycore_ceval.h:40) [inlined]
12 libpython3.9.dylib 0x11b3aa7de _PyEval_EvalCode + 2990 (ceval.c:4329)
13 libpython3.9.dylib 0x11b39fad1 _PyEval_EvalCodeWithName + 64 (ceval.c:4361) [inlined]
14 libpython3.9.dylib 0x11b39fad1 PyEval_EvalCodeEx + 64 (ceval.c:4377) [inlined]
15 libpython3.9.dylib 0x11b39fad1 PyEval_EvalCode + 81 (ceval.c:828)
16 libpython3.9.dylib 0x11b3ef07b run_eval_code_obj + 88 (pythonrun.c:1221) [inlined]
17 libpython3.9.dylib 0x11b3ef07b run_mod + 167 (pythonrun.c:1242) [inlined]
18 libpython3.9.dylib 0x11b3ef07b PyRun_StringFlags + 315 (pythonrun.c:1108)
19 libpython3.9.dylib 0x11b3eeef5 PyRun_SimpleStringFlags + 69 (pythonrun.c:497)
20 RV 0x1042eed52 TwkApp::evalPython(char const*) + 34 (PyInterface.cpp:252)
No response
No response
I`d like to request a feature to allow you to select a range of frames when adding an annotation.
If anyone please let me know how to fix below error. Please let me know if more info required.
[ 42%] Built target RvApp
[ 42%] Linking CXX executable ../../../../stage/app/bin/ApplicationTest
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /usr/lib/libGLX.so: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
gmake[3]: *** [src/test/IPCore/ApplicationTest/CMakeFiles/ApplicationTest.dir/build.make:174: stage/app/bin/ApplicationTest] Error 1
gmake[2]: *** [CMakeFiles/Makefile2:14917: src/test/IPCore/ApplicationTest/CMakeFiles/ApplicationTest.dir/all] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:13794: src/bin/apps/rv/CMakeFiles/rv.dir/rule] Error 2
gmake: *** [Makefile:3820: rv] Error 2
Hello there,
Just mention that I have no knowledge of programming and these workaround may cause more problems than fixes. I'm reporting those so anyone with experience can deal with it.
I'm using a fully updated Arch Linux.
/home/adro/Applications/3D/OpenRV/src/pub/LibRaw/internal/dcraw_common.cpp:6395:64: error: call of overloaded ‘powf64(int, int)’ is ambiguous
6395 | 10*(table_buf[iLensData+9]>>2) * powf64(4, (table_buf[iLensData+9] & 0x03)-2);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/12.2.1/cmath:45,
from /usr/include/c++/12.2.1/math.h:36,
from /home/adro/Applications/3D/OpenRV/src/pub/LibRaw/internal/dcraw_common.cpp:24:
A workaround i found is to delete the lines 6392-6395 as mentioned here
Another error I found:
/home/adro/Applications/3D/OpenRV/src/lib/app/RvCommon/RvApplication.cpp:855:27: error: ‘sleep_for’ is not a member of ‘std::this_thread’
855 | std::this_thread::sleep_for(std::chrono::milliseconds(1));
| ^~~~~~~~~
/home/adro/Applications/3D/OpenRV/src/bin/apps/rv/main.cpp:431:27: error: ‘sleep_for’ is not a member of ‘std::this_thread’
431 | std::this_thread::sleep_for( std::chrono::seconds( sleepTime ) );
|
As well as the previous one, deleting the line works.
After all this workarounds, I succesfully built OpenRV.
I tried Compling openRV with VS 2019 as explained in the build instructions and followed the build instructions completly.
Unfortunatly i got the error that atomic_ops.h in gc_priv.h any idea what i might did wrong/misconfigured?
Additionally i had the same issue as described here in #5 but for the moment just replaced --only-matching with -o what was helping for the moment.
First of all, thanks for the amazing contribution!
Now on to the issue.
The cmake build scripts in this project download or clone the source for over a dozen other projects, which is bad for a few reasons:
It's nice to have an uber-build-script that tries to do an end-to-end build but in my experience it's best done in layers. At the lowest level there's the cmake build script for RV, which uses the usual FindXXX.cmake functionality to find all the deps (you can find some good recipes for some of those here) and at the highest level is an optional uber build script that downloads and builds all the deps and then builds RV. This is how USD handles this, for example. That makes it easy for studios that already have a more expansive build orchestrator, e.g. rez or spack, to opt out of the uber-build and just reuse their existing libraries by plugging rv into their build orchestrator.
Thanks!
This is more of a style choice question than a bug report.
OpenRV is using custom macros LEXX_IT() and YACC_IT() in macros/rv_yacc.cmake and macros/rv_lex.cmake for the GTO/Mu grammars.
CMake comes with some convenience functions for FLEX and Bison https://cmake.org/cmake/help/latest/module/FindFLEX.html and OpenRV already requires a new enough CMake to depend on it.
Does the project want to eliminate custom macros and move to the off the shelf stuff? Requires a little elbow grease, but I think it will ultimately make it easier to deal with build issues because problems with it will be more googleable and allow deleting a bit of code. Relatedly and probably not worth asking in a separate issue, OpenRV uses custom types like "int32" would there be interest in moving that stuff to stdint types like uint32_t?
Not sure if this is a bug or if there's something I might be overlooking.
When I am trying to process a .exr image/sequence with rvio the resulting output only contains RGBA channels any additional channels included in the source image are removed.
Here is an example image.
example.zip
This is the command I am using to process the image
rvio example.exr -o example_out.exr -codec PIZ -outhalf
I would expect to get the same image with only changed compression.
CentOS Linux release 7.9.2009
N/A
No response
No response
No response
Have managed to google my way through majority of the errors I've encountered so far but this is one I can't seem to figure out. I have already installed the MSYS2 pacman qt5 package in addition to all the others listed in the directions which eliminated some other errors I was running into.
Additionally it appears that there was a missing step for invoking CMake which needs to happen from the OpenRV repo rather than root or c:/
Here is the error I'm currently experiencing as well as attaching the CMakeOutput.log:
CMake Error at C:/msys64/mingw64/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package):
Could not find a package configuration file provided by "Qt5WebEngineCore"
with any of the following names:
Qt5WebEngineCoreConfig.cmake
qt5webenginecore-config.cmake
Add the installation prefix of "Qt5WebEngineCore" to CMAKE_PREFIX_PATH or
set "Qt5WebEngineCore_DIR" to a directory containing one of the above
files. If "Qt5WebEngineCore" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
cmake/dependencies/qt5.cmake:50 (FIND_PACKAGE)
cmake/dependencies/CMakeLists.txt:36 (INCLUDE)
-- Configuring incomplete, errors occurred!
See also "C:/OpenRV/cmake-build/CMakeFiles/CMakeOutput.log".
Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
MSBUILD : error MSB1009: Project file does not exist.
Switch: rv.vcxproj
CMake Error: Error processing file: C:/OpenRV/cmake-build/cmake_install.cmake
Speaking as somebody who is a python developer primarily, and who has struggled trying to bring other tools like this into our pipeline, the compilation requirements/steps for c++ apps are pretty painful, and I imagine I'm not the only person to spend days trying to get everything set up on my machine to compile tools like these.
Forgive me if this is too difficult of an ask, I speak from complete ignorance of how most of this works, but it seems like it would be incredibly useful to leverage github actions to generate compiled binaries for Windows, MacOS, and Linux to more easily distribute.
Is this something at all possible?
Hello
I'm building under Centos 7.9, followed the build steps, just built opensource version of qt (qt-everywhere-src-5.15.2)
Build almost makes it, just hit this error. Any ideas?
/qt_build/include/QtNetwork/qnetworkaccessmanager.h:65:7: note: forward declaration of ‘class QSslError’
65 | class QSslError;
| ^~~~~~~~~
In file included from /qt_build/include/QtCore/qhash.h:46,
from /qt_build/include/QtCore/qshareddata.h:46,
from /qt_build/include/QtCore/QSharedDataPointer:1,
from /qt_build/include/QtNetwork/qnetworkrequest.h:44,
from /qt_build/include/QtNetwork/qnetworkaccessmanager.h:44,
from /qt_build/include/QtNetwork/QNetworkAccessManager:1,
from /OpenRV/src/lib/mu/MuQt5/MuQt5/RvNetworkAccessManager.h:9,
from /OpenRV/src/lib/mu/MuQt5/RvNetworkAccessManager.cpp:7:
/qt_build/include/QtCore/qlist.h:511:51: error: invalid use of incomplete type ‘class QSslError’
511 | (reinterpret_cast<T*>(current))->~T();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
In file included from /qt_build/include/QtNetwork/QNetworkAccessManager:1,
from /OpenRV/src/lib/mu/MuQt5/MuQt5/RvNetworkAccessManager.h:9,
from /OpenRV/src/lib/mu/MuQt5/RvNetworkAccessManager.cpp:7:
/qt_build/include/QtNetwork/qnetworkaccessmanager.h:65:7: note: forward declaration of ‘class QSslError’
65 | class QSslError;
| ^~~~~~~~~
make[2]: *** [src/lib/mu/MuQt5/CMakeFiles/MuQt5.dir/build.make:924: src/lib/mu/MuQt5/CMakeFiles/MuQt5.dir/RvNetworkAccessManager.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:8039: src/lib/mu/MuQt5/CMakeFiles/MuQt5.dir/all] Error 2
-- Using Boost: 1.76.0
-- Using Dav1d: 1.0.0
-- Using FFMPEG: n4.4.3
-- Using GC: 8.2.2
-- Using GLEW: 2.2.0
-- Using Imath: 3.1.5
-- Using OpenEXR: 3.1.5
-- Using Python3: 3.9.15
-- Using PySide2: 5.15.2.1
-- Using Qt5: 5.15.2
-- Using zlib: 1.2.13
Thank you
Hi, my name is Chris Horvath, and I am one of the original founders of Tweak Films, which became Tweak Software, which created RV, and which was eventually purchased by Autodesk.
This repository contains some code that is mostly unmodified from the original Twk libraries, which were written by Jim Hourihan, Mike Root, and me from the years 2001-2004. As an example, base/TwkMath/Vec3.h
is virtually unchanged from 2001, as are many parts of TwkMath, TwkUtil, TwkImage. There are dozens of talented artists and engineers who contributed to this codebase over the years, as part of Tweak or Autodesk. On one hand, I'm proud to see this work find its way into an ASWF proposal. On the other hand, it is plainly heartbreaking that none of the names of the many artists and programmers who made up Tweak over its years are attributed, and that Tweak is not attributed at all, except in copyright banners.
I don't in any way dispute the ownership of this code, it belongs to Autodesk as a result of their purchase of Tweak Software. I also don't claim authorship of RV, which was crafted into a product after my time at Tweak. However, please add the names of the many contributors to the Tweak codebase to the "Contributors.md" file, and some mention of the history of the code and product.
cmake -B cmake-build -DCMAKE_BUILD_TYPE=Release -DRV_DEPS_QT5_LOCATION=$HOME/Qt5.15.11/5.15.11/clang_64
readme tells me to install qt 5.15.2 which defaults installs to
/$HOME/Qt/5.15.2/
so the command should be
cmake -B cmake-build -DCMAKE_BUILD_TYPE=Release -DRV_DEPS_QT5_LOCATION=$HOME/Qt/5.15.2/clang_64
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.