Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#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 by Carl Eugen Hoyos, 6 years ago

Resolution: invalid
Status: newclosed

This is missing version information / was fixed yesterday.

comment:2 by Carl Eugen Hoyos, 6 years ago

The version you tested is >24 hours old.

comment:3 by Carl Eugen Hoyos, 6 years ago

Component: undeterminedbuild system
Keywords: msvc added
Resolution: invalid
Status: closedreopened
Version: unspecifiedgit-master

Or maybe not.

in reply to:  3 comment:4 by KarenHuang, 6 years ago

Thanks for looking into this issue. I still hit this problem in latest master revision 29eb1c5.

comment:5 by Hendrik, 6 years ago

Resolution: fixed
Status: reopenedclosed

in reply to:  5 comment:6 by KarenHuang, 6 years ago

Thank you!

Note: See TracTickets for help on using tickets.