[FFmpeg-trac] #7192(undetermined:new): FFmpeg failed with error C2065 when build with MSVC

FFmpeg trac at avcodec.org
Mon May 7 12:34:18 EEST 2018


#7192: FFmpeg failed with error C2065 when build with MSVC
-------------------------------------+-------------------------------------
             Reporter:  KarenHuang   |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 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....

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7192>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list