You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using with a video file that is larger than 2GB, ExistingFileValidator always fails even if the file actually exists.
From the code, it's using stat to check file stats. According to Microsoft document, it seems that function only support up to 32bit file length, which I assume is the cause for this problem.
I think using _stat64 on Windows should fix it, but not sure about other operating system.
The text was updated successfully, but these errors were encountered:
Since it is a CMAKE-define (CLI11_CXX_STD) would it not be an option to use std::filesystem::* if CLI11 is/was compiled using c++17 and/or a Feature Testing Macro indicates it is available?
When using with a video file that is larger than 2GB,
ExistingFileValidator
always fails even if the file actually exists.From the code, it's using
stat
to check file stats. According to Microsoft document, it seems that function only support up to 32bit file length, which I assume is the cause for this problem.I think using
_stat64
on Windows should fix it, but not sure about other operating system.The text was updated successfully, but these errors were encountered: