#7192 closed defect (fixed)
FFmpeg failed with error C2065 when build with MSVC
Reported by: | KarenHuang | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | build system |
Version: | git-master | Keywords: | msvc |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
FFmpeg failed to build due to the error C2065: 'R_OK': undeclared identifier when build with VS2017 Update 5 on Windows. This issue can be reproduced from master revision 0803233. Could you please help take a look at this? Thank you!
Actual result:
libavfilter/vf_srcnn.c(148): warning C4013: 'access' undefined; assuming extern returning int
libavfilter/vf_srcnn.c(148): error C2065: 'R_OK': undeclared identifier
libavfilter/vf_srcnn.c(205): warning C4133: 'function': incompatible types - from 'const AVPixelFormat [7]' to 'const int *'
make: * [ffbuild/common.mak:60: libavfilter/vf_srcnn.o] Error 2
make: * Waiting for unfinished jobs....
Change History (6)
comment:1 Changed 10 months ago by cehoyos
- Resolution set to invalid
- Status changed from new to closed
comment:2 Changed 10 months ago by cehoyos
The version you tested is >24 hours old.
comment:3 follow-up: ↓ 4 Changed 9 months ago by cehoyos
- Component changed from undetermined to build system
- Keywords msvc added
- Resolution invalid deleted
- Status changed from closed to reopened
- Version changed from unspecified to git-master
Or maybe not.
comment:4 in reply to: ↑ 3 Changed 9 months ago by KarenHuang
Thanks for looking into this issue. I still hit this problem in latest master revision 29eb1c5.
comment:5 follow-up: ↓ 6 Changed 9 months ago by heleppkes
- Resolution set to fixed
- Status changed from reopened to closed
comment:6 in reply to: ↑ 5 Changed 9 months ago by KarenHuang
Thank you!
This is missing version information / was fixed yesterday.