Comments (8)
Yes, there is a workaround to the path limit, but unfortunately is it opt-in (ie off by default) and not everyone knows it needs to be enabled. The other problem is a lot of the third-party dependencies still enforce the character limit since they pre-date Windows 10.
from openrv.
from openrv.
I think I fell into same situation.
I ran command cmake --trace-expand -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=/e/Qt/5.15.2/msvc2019_64
in MSYS2 MINGW64 shell as described in document.
Here is verbose output log
E:/projects/programming/OpenRV/cmake/macros/rv_stage.cmake(402): IF(NOT EXISTS E:/projects/programming/OpenRV/src/plugins/rv-packages/additional_nodes/PACKAGE )
E:/projects/programming/OpenRV/cmake/macros/rv_stage.cmake(406): EXECUTE_PROCESS(COMMAND bash -c cat PACKAGE | grep version: | grep --only-matching -e '[0-9.]*' RESULT_VARIABLE _result OUTPUT_VARIABLE _pkg_version OUTPUT_STRIP_TRAILING_WHITESPACE COMMAND_ERROR_IS_FATAL ANY WORKING_DIRECTORY E:/projects/programming/OpenRV/src/plugins/rv-packages/additional_nodes )
grep: unrecognized option: only-matching
BusyBox v1.29.3 (2019-01-24 07:45:07 UTC) multi-call binary.
Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...
Search for PATTERN in FILEs (or stdin)
-n Add 'line_no:' prefix
-l Show only names of files that match
-L Show only names of files that don't match
-c Show only count of matching lines
-o Show only the matching part of line
-q Quiet. Return 0 if PATTERN is found, 1 otherwise
-v Select non-matching lines
-s Suppress open and read errors
-r Recurse
-i Ignore case
-w Match whole words only
-x Match whole lines only
-F PATTERN is a literal (not regexp)
-E PATTERN is an extended regexp
-m N Match up to N times per file
-A N Print N lines of trailing context
-B N Print N lines of leading context
-C N Same as '-A N -B N'
-e PTRN Pattern to match
-f FILE Read pattern from file
CMake Error at cmake/macros/rv_stage.cmake:406 (EXECUTE_PROCESS):
EXECUTE_PROCESS failed command indexes:
1: "Child return code: 2"
Call Stack (most recent call first):
src/plugins/rv-packages/additional_nodes/CMakeLists.txt:11 (RV_STAGE)
-- Configuring incomplete, errors occurred!
See also "E:/projects/programming/OpenRV/cmake-build/CMakeFiles/CMakeOutput.log".
hope this could help
from openrv.
Just recognize on my own log.
there is BusyBox v1.29.3 (2019-01-24 07:45:07 UTC) multi-call binary.
appear in the lines.
and grep
command look different from normal grep
in MSYS2 shell.
That mean WSL is enabled on my machine (this had been told in the doc already )
You might have to disable it ENTIRELY, that mean if your machine have wsl and wsl2 installed like me, you have to remove both.
then it will work.
recommend guide: https://www.elevenforum.com/t/uninstall-windows-subsystem-for-linux-wsl-in-windows-11.10802/
from openrv.
Hi @Shayen I was going to ask you the same thing. If you type which grep
in the CMake shell it should tell you which it is using. You want the one from /usr/bin
. You could also try listing that path in you PATH environment variable to make sure it becomes before any other grep
that might be found on your machine.
Hi @haggi -- Is there any more information in the log file D:/UserDatenHaggi/Documents/coding/OpenRV/cmake-build/CMakeFiles/CMakeOutput.log
?
One general tip that burned me a lot building on Windows is to use a path that is short as possible. Windows has a file path limit of 260 characters, and some of the pyside paths get quite long and once that is appended on to your build root, the paths can sometimes exceed 260 characters and all sort messages about files not being found will result.
Hope that helps!
from openrv.
@rogernelson I heard about disable Windows's path limit once ago.
But I never try it myself.
https://knowledge.autodesk.com/support/autocad/learn-explore/caas/sfdcarticles/sfdcarticles/The-Windows-10-default-path-length-limitation-MAX-PATH-is-256-characters.html
from openrv.
@haggi, by "now it works better", do you mean that we can close this issue?
from openrv.
Indeed, this issuse can be closed.
from openrv.
Related Issues (20)
- `_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
- [Bug]: inputImage.size() not working in merge and combine custom glsl nodes
- [Bug]: Crashes when stressing the timeline since the FFmpeg 6.0 update
- [Bug]: rvio segmentation fault when using threads to encode image sequences
- [Bug]: Unable to load shotgrid_login package
- [Bug]: Issue loading rotation metadata using FFMPEG 6.0
- [Bug]: incorrect aspect ratio when using Replace with pixel aspect ratio not 1
- [Bug]: QT_HOME hardcoded by rvcmds.sh leads to Open RV build configuration error when calling rvcfg
- [Bug]: Open RV crashes on launch on Windows since the OpenTimelineIO python package was updated to 0.17.0
- [Bug]: otio_reader.py using deprecated method
- Apple Silicon Native Support HOT 1
- [Bug]: Failed to build on windows 11 HOT 5
- [Bug]: Build/Configuration Failed on Windows 11 : RV_STAGE HOT 11
- [Bug]: RvConsoleWindow Missing All Output
- [Bug]: PySide + Python errors HOT 3
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.