-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error occurred when execute make #21
Comments
Kyridiculous2
changed the title
Error occurred when execute make -j8
Error occurred when execute make
Jun 4, 2019
I have the same issue, did you fix this or have a workaround it? |
I have the same issue here, when i look at the file tree there is no file ffmpeg.cpp.o and there is no directory all! |
I'm having the same error, how do I solve this error? |
same story |
I meet a same story |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, thanks for your work!
when I execute the make -j8, it gives me these ....
data_1/codes/pangolin/src/video/drivers/ffmpeg.cpp: In function ‘std::__cxx11::string pangolin::FfmpegFmtToString(AVPixelFormat)’:
/data_1/codes/pangolin/src/video/drivers/ffmpeg.cpp:47:41: error: ‘AV_PIX_FMT_XVMC_MPEG2_MC’ was not declared in this scope
define TEST_PIX_FMT_RETURN(fmt) case AV_PIX_FMT_##fmt: return #fmt;
/data_1/codes/pangolin/src/video/drivers/ffmpeg.cpp:83:5: note: in expansion of macro ‘TEST_PIX_FMT_RETURN’
TEST_PIX_FMT_RETURN(XVMC_MPEG2_MC);
^
/data_1/codes/pangolin/src/video/drivers/ffmpeg.cpp:47:41: error: ‘AV_PIX_FMT_XVMC_MPEG2_IDCT’ was not declared in this scope
define TEST_PIX_FMT_RETURN(fmt) case AV_PIX_FMT_##fmt: return #fmt;
/data_1/codes/pangolin/src/video/drivers/ffmpeg.cpp:84:5: note: in expansion of macro ‘TEST_PIX_FMT_RETURN’
TEST_PIX_FMT_RETURN(XVMC_MPEG2_IDCT);
^
/data_1/codes/pangolin/src/video/drivers/ffmpeg.cpp:47:41: error: ‘AV_PIX_FMT_VDPAU_H264’ was not declared in this scope
define TEST_PIX_FMT_RETURN(fmt) case AV_PIX_FMT_##fmt: return #fmt;
/data_1/codes/pangolin/src/video/drivers/ffmpeg.cpp:104:5: note: in expansion of macro ‘TEST_PIX_FMT_RETURN’
TEST_PIX_FMT_RETURN(VDPAU_H264);
^
/data_1/codes/pangolin/src/video/drivers/ffmpeg.cpp:47:41: error: ‘AV_PIX_FMT_VDPAU_MPEG1’ was not declared in this scope
define TEST_PIX_FMT_RETURN(fmt) case AV_PIX_FMT_##fmt: return #fmt;
/data_1/codes/pangolin/src/video/drivers/ffmpeg.cpp:105:5: note: in expansion of macro ‘TEST_PIX_FMT_RETURN’
TEST_PIX_FMT_RETURN(VDPAU_MPEG1);
^
/data_1/codes/pangolin/src/video/drivers/ffmpeg.cpp:47:41: error: ‘AV_PIX_FMT_VDPAU_MPEG2’ was not declared in this scope
define TEST_PIX_FMT_RETURN(fmt) case AV_PIX_FMT_##fmt: return #fmt;
/data_1/codes/pangolin/src/video/drivers/ffmpeg.cpp:106:5: note: in expansion of macro ‘TEST_PIX_FMT_RETURN’
TEST_PIX_FMT_RETURN(VDPAU_MPEG2);
^
/data_1/codes/pangolin/src/video/drivers/ffmpeg.cpp:47:41: error: ‘AV_PIX_FMT_VDPAU_WMV3’ was not declared in this scope
define TEST_PIX_FMT_RETURN(fmt) case AV_PIX_FMT_##fmt: return #fmt;
/data_1/codes/pangolin/src/video/drivers/ffmpeg.cpp:107:5: note: in expansion of macro ‘TEST_PIX_FMT_RETURN’
TEST_PIX_FMT_RETURN(VDPAU_WMV3);
^
/data_1/codes/pangolin/src/video/drivers/ffmpeg.cpp:47:41: error: ‘AV_PIX_FMT_VDPAU_VC1’ was not declared in this scope
define TEST_PIX_FMT_RETURN(fmt) case AV_PIX_FMT_##fmt: return #fmt;
/data_1/codes/pangolin/src/video/drivers/ffmpeg.cpp:108:5: note: in expansion of macro ‘TEST_PIX_FMT_RETURN’
TEST_PIX_FMT_RETURN(VDPAU_VC1);
^
/data_1/codes/pangolin/src/video/drivers/ffmpeg.cpp:47:41: error: ‘AV_PIX_FMT_VDPAU_MPEG4’ was not declared in this scope
define TEST_PIX_FMT_RETURN(fmt) case AV_PIX_FMT_##fmt: return #fmt;
/data_1/codes/pangolin/src/video/drivers/ffmpeg.cpp:128:5: note: in expansion of macro ‘TEST_PIX_FMT_RETURN’
TEST_PIX_FMT_RETURN(VDPAU_MPEG4);
^
/data_1/codes/pangolin/src/video/drivers/ffmpeg.cpp: In function ‘AVStream* pangolin::CreateStream(AVFormatContext*, pangolin::CodecID, uint64_t, int, AVPixelFormat, int, int)’:
/data_1/codes/pangolin/src/video/drivers/ffmpeg.cpp:519:33: error: ‘CODEC_FLAG_GLOBAL_HEADER’ was not declared in this scope
stream->codec->flags |= CODEC_FLAG_GLOBAL_HEADER;
^
/data_1/codes/pangolin/src/video/drivers/ffmpeg.cpp: In member function ‘void pangolin::FfmpegVideoOutputStream::WriteFrame(AVFrame*)’:
/data_1/codes/pangolin/src/video/drivers/ffmpeg.cpp:582:39: error: ‘AVFMT_RAWPICTURE’ was not declared in this scope
if (recorder.oc->oformat->flags & AVFMT_RAWPICTURE) {
^
src/CMakeFiles/_pangolin.dir/build.make:1790: recipe for target 'src/CMakeFiles/_pangolin.dir/video/drivers/ffmpeg.cpp.o' failed
make[2]: *** [src/CMakeFiles/_pangolin.dir/video/drivers/ffmpeg.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:136: recipe for target 'src/CMakeFiles/_pangolin.dir/all' failed
make[1]: *** [src/CMakeFiles/_pangolin.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: