No RV executable #67
Replies: 48 comments 17 replies
-
Same Problem here, with exactly the same setup and procedure. |
Beta Was this translation helpful? Give feedback.
-
I have a similar problem here. The build seems to finish, but no RV executable got created. However it seems that some targets were not built successfully (i.e. boost). Still trying to figure out why. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the comments. I get three errors during the build, but it still continues and finishes. There are also a ton of warnings about variable types and such, but I assume that doesn't matter. I attached the full wall o' text if it helps.
|
Beta Was this translation helpful? Give feedback.
-
How did you write the whole msys2 output to a file? Or is there a cmake log with the complete output? |
Beta Was this translation helpful? Give feedback.
-
I set the max scrollback to like 100 billion lines, right click select all, copy and paste into a text document. |
Beta Was this translation helpful? Give feedback.
-
Hi @BrianHanke The build doesn't actually finish, but it can be hard to tell when it's building multi-threaded since the log does not always contain the errors necessarily at the end. From looking at your log it seems the errors were building pyside. Pyside unfortunately will only build on Windows with VS 2017, so we recommend installing both 2017 and 2019. Do you have VS 2017 installed as well? |
Beta Was this translation helpful? Give feedback.
-
Also if you don't want to capture all the output from your shell, you can redirect the output to a file by doing something like
If you want to see that log while its build you can also do |
Beta Was this translation helpful? Give feedback.
-
Thanks @rogernelson. Yes, I have VS Community 2017 installed (15.9.51). Maybe the build process doesn't know where to find it? |
Beta Was this translation helpful? Give feedback.
-
It should find it automatically. Let me build it on my Windows machine and capture the log and compare it to yours to hopefully give us some idea of what is going on. |
Beta Was this translation helpful? Give feedback.
-
Cool, looking forward to your results. |
Beta Was this translation helpful? Give feedback.
-
I had a few minutes to look and one definite difference between your output and mine is the aclocal error. For some reason on your system it's looking for the m4 file at |
Beta Was this translation helpful? Give feedback.
-
The strange thing about that error is that tcl.m4 IS located in C:\msys64\usr\share\aclocal but it still says it can't find it. Running No, I don't have any files there, assuming /usr/... translates to C:\usr. There is no folder there. |
Beta Was this translation helpful? Give feedback.
-
The paths are close, but not exactly the same the msys equivalent of That said alocal should be looking in the directory given by |
Beta Was this translation helpful? Give feedback.
-
No I've never had wsl or cygwin or similar on this PC. This does remind me that I wanted to ask about my environment variables being a potential source of problems. I've got some Maya/Houdini/Nuke/Python stuff although not sure those are picked up by MSYS2. Here is printenv from there. I notice some /usr/ references in PATH which point to nothing I assume since there is no folder at /c/usr
|
Beta Was this translation helpful? Give feedback.
-
Oh! There are two aclocal paths, just noticed. Is that a problem? |
Beta Was this translation helpful? Give feedback.
-
Hi @rajiv-hqvfx. I would recommend stick with your first build command. To build pyside, you need to have VS2017 installed, but it will find it automatically. You should still keep VS2019 for building everything else. If there is no executable, there likely was an error somewhere. Since RV is building multi-threaded (the -j8 parameter) it might not be the last line of output that contains the error. You may have to scroll up to see it, or you can redirect your build output to a log file (by adding |
Beta Was this translation helpful? Give feedback.
-
Hey all, I've been having similar issues, I've setup a VM of Windows 10 and followed the build instructions with VS17+19 etc and still no luck.. Here are some snippets of my build log with error in it They all seem to be related too: warning C4996: 'QXmlDefaultHandler::fatalError': 'QXmlSimpleReader::setErrorHandler'` Not really sure where to go from here |
Beta Was this translation helpful? Give feedback.
-
I Did follow all instructions given on this documentation: |
Beta Was this translation helpful? Give feedback.
-
I think a number of people have build successfully on Win11, yes. There are a number of traps that people have fallen into. We know there are incompatibilities with wsl and VS2022, so we recommend not having those installed. Also if your root path to the build is too long, you can run into problems with some third-parties generating paths over the Windows limit of 260 characters. If all those things are okay, could you please try the following and send us the resulting
|
Beta Was this translation helpful? Give feedback.
-
Hi @johnperrigo-vfx -- you seem to be getting Qt errors, perhaps due to a wrong version being installed? Have you downloaded and installed Qt5.15.2? |
Beta Was this translation helpful? Give feedback.
-
One thing that might help people is having download links to VS Community 2017 and 2019 and Qt. They are all rather difficult to find. I'll include them here: https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&rel=15 You'll need a Qt account to install. Also carefully note their licensing agreement for open source/non-commercial software. |
Beta Was this translation helpful? Give feedback.
-
Hi Roger, thanks and yes that seems likely the culprit, I'll try a fresh install of Qt and see if it fixes it. In the meantime I did manage to get it to compile under a version of CentOS I got running in WSL, copied it over to Ubuntu 22.04 and its running fairly well passing the GUI back into Windows! |
Beta Was this translation helpful? Give feedback.
-
Oh wow, that is quite the setup! I never would have expected that to work, so max points for creativty! Please let us know if a fresh Qt fixes the problem. |
Beta Was this translation helpful? Give feedback.
-
haha thanks, I had very little expectation it would work but its quite amazing that it is, and for my use case it might actually be the best way to run it as part of the Ubuntu WSL. Performance seems totally fine within RV, 4K exr playback without issues, just moving the window around can be a little tricky sometimes, probably something todo with Windows deciding where the focus of the cursor is. |
Beta Was this translation helpful? Give feedback.
-
PREP before buildingThis tutorial referencing the oficial Windows build tutorial After 1. StepInstall Visual Studio Build Tools 2019 if your VS installation does not have it (check this path: After 4. Step
After 5. Step
BUILD
|
Beta Was this translation helpful? Give feedback.
-
after doing all stuff mentioned here , and in other threads, May you can help me? |
Beta Was this translation helpful? Give feedback.
-
Hey - I have followed the Windows instructions and have tried the various things in this thread but I am having no luck.
|
Beta Was this translation helpful? Give feedback.
-
I built with VS2022 and seems pyside is not built successfully. I attach my build log. "E:\OpenRV_build\main_executable.vcxproj" (default target) (1) ->
|
Beta Was this translation helpful? Give feedback.
-
Thanks so much! I had to add |
Beta Was this translation helpful? Give feedback.
-
i have the same errror,have you solved it ? |
Beta Was this translation helpful? Give feedback.
-
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!
Beta Was this translation helpful? Give feedback.
All reactions