Windows 11 Build Error #396
-
I followed the Windows build guide carefully but i am getting error with RV_DEPS_FFMPEG dependencie. But RV_DEPS_DAV1D build successfully.
RV_DEPS_FFMPEG Error `
` rvcfg -- Using atomic_ops: 7.7.0 |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 4 replies
-
Hello @A6i8! There's a in-progress PR that will fix that issue. |
Beta Was this translation helpful? Give feedback.
-
The PR has been merged. Please try again with the latest main branch and let me know if it is resolved. @A6i8 |
Beta Was this translation helpful? Give feedback.
-
Hi @cedrik-fuoco-adsk I have the latest code and am getting a similar error: C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for 'E:\OpenRV\_build\CMakeFiles\ba9056a2e12bbb280c19368b23728de1\RV_DEPS_PYTHON3-requ
irements-flag.rule;E:\OpenRV\_build\CMakeFiles\ba9056a2e12bbb280c19368b23728de1\RV_DEPS_PYSIDE2-build-flag.rule;E:\OpenRV\_build\CMakeFiles\ed214e5487734762d00e67784b1bbf86\python310.dll.rule;E:\OpenRV\_build\CMakeFiles\b2670343e3e6d1
3858c550f7afcec460\RV_DEPS_PYTHON3-stage-target.rule;E:\OpenRV\cmake\dependencies\CMakeLists.txt' exited with code 9009. [E:\OpenRV\_build\cmake\dependencies\RV_DEPS_PYTHON3-stage-target.vcxproj] I had six errors prior to this one and used this answer to get down to just the 1 error. tl/dr I edited my python3.cmake to point to my windows python 3.10 install instead of using the msys python: p.s. these are the 6 errors I get when I use the msys python: (CustomBuild target) ->
CUSTOMBUILD : error : Invalid license key ()! [E:\OpenRV\_build\cmake\dependencies\RV_DEPS_PYTHON3-stage-target.vcxproj]
CUSTOMBUILD : error : Licensee info missing! [E:\OpenRV\_build\cmake\dependencies\RV_DEPS_PYTHON3-stage-target.vcxproj]
CUSTOMBUILD : error : Licensed product not known ()! [E:\OpenRV\_build\cmake\dependencies\RV_DEPS_PYTHON3-stage-target.vcxproj]
CUSTOMBUILD : Project error : License check failed! Giving up ... [E:\OpenRV\_build\cmake\dependencies\RV_DEPS_PYTHON3-stage-target.vcxproj]
CUSTOMBUILD : error : Option --jobs can only be used with 'jom' on Windows. [E:\OpenRV\_build\cmake\dependencies\RV_DEPS_PYTHON3-stage-target.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for 'E:\OpenRV\_build\CMakeFiles\ba9056a2e12bbb280c19368b23728de1\RV_DEPS_PYSIDE2-buil
d-flag.rule;E:\OpenRV\_build\CMakeFiles\ed214e5487734762d00e67784b1bbf86\python310.dll.rule;E:\OpenRV\_build\CMakeFiles\b2670343e3e6d13858c550f7afcec460\RV_DEPS_PYTHON3-stage-target.rule' exited with code 1. [E:\OpenRV\_build\cmake\de
pendencies\RV_DEPS_PYTHON3-stage-target.vcxproj]
|
Beta Was this translation helpful? Give feedback.
-
@yeoldebrian Could you provide the full log? Sometime the actual errors are buried in the middle of the logs. Also, instead of modifying the python3.cmake, you could add the correct python location to the beginning of the PATH env. variable (that's what I am doing). And for those 6 errors, those errors normally come up when it is picking up an incompatible license (or missing) for Qt when building pyside2. |
Beta Was this translation helpful? Give feedback.
-
@cedrik-fuoco-adsk Thanks so much for responding. I thought the license error might have something to do with QT. I have a .qt-license wiht a key in it but maybe it's expired? Should I be using the qt for open source or can I just acquire another trial license? Here's everything that happened after I typed "rvbootstrap" if that's what you're asking for? |
Beta Was this translation helpful? Give feedback.
-
Is that the log that has the error above (and not using msys python)? I don't see it in the log. If you installed Qt with the qt online installer, you can try to just open it up to the download page. When the installer starts, I think it will refresh the license if possible. |
Beta Was this translation helpful? Give feedback.
-
You can find the OpenRV executable in Yes, Open source Qt should work with OpenRV. |
Beta Was this translation helpful? Give feedback.
-
Oh wow, yes it works, thank you! What files do I need just to run rv.exe, everything in the app folder? |
Beta Was this translation helpful? Give feedback.
-
Thanks again for all your help! I know this is the wrong place to ask about this but I'd love some guidance on getting Apple prores to work. I tried commenting out the disallowedCodecsArray in init.cpp but that didn't have any impact: // static const char* disallowedCodecsArray[] = {
// "ac3",
// "hevc",
// "mpeg2video",
// "prores",
// "prores_aw",
// "prores_ks",
// "prores_lgpl",
// "svq1",
// "svq3",
// 0 };
static const char* disallowedCodecsArray[] = {0}; |
Beta Was this translation helpful? Give feedback.
-
That did it, thank you so much @bernie-laberge! |
Beta Was this translation helpful? Give feedback.
The PR has been merged. Please try again with the latest main branch and let me know if it is resolved. @A6i8