View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0030965 | Open CASCADE | OCCT:Configuration | public | 2019-09-14 14:42 | 2023-09-29 17:47 |
Reporter | Assigned To | ||||
Priority | normal | Severity | minor | ||
Status | assigned | Resolution | open | ||
Product Version | 7.4.0 | ||||
Target Version | Unscheduled | ||||
Summary | 0030965: Configuration - compilation error when building with FFmpeg 2.8 | ||||
Description | When building OCCT (7.4.0.beta2) with Clang 6.0 on Ubuntu 16.04, I get these errors: [ 32%] Building CXX object src/TKService/CMakeFiles/TKService.dir/__/Media/Media_CodecContext.cxx.o /home/abv/occt/src/Media/Media_CodecContext.cxx:93:60: error: no member named 'codecpar' in 'AVStream' if (avcodec_parameters_to_context (myCodecCtx, theStream.codecpar) < 0) ~~~~~~~~~ ^ /home/abv/occt/src/Media/Media_CodecContext.cxx:104:98: error: no member named 'codecpar' in 'AVStream' const AVCodecID aCodecId = theCodecId != AV_CODEC_ID_NONE ? (AVCodecID )theCodecId : theStream.codecpar->code... ~~~~~~~~~ ^ /home/abv/occt/src/Media/Media_CodecContext.cxx:116:17: error: no member named 'codecpar' in 'AVStream' if (theStream.codecpar->codec_type == AVMEDIA_TYPE_VIDEO) ~~~~~~~~~ ^ /home/abv/occt/src/Media/Media_CodecContext.cxx:146:17: error: no member named 'codecpar' in 'AVStream' if (theStream.codecpar->codec_type == AVMEDIA_TYPE_VIDEO ~~~~~~~~~ ^ /home/abv/occt/src/Media/Media_CodecContext.cxx:241:20: error: use of undeclared identifier 'avcodec_send_packet' const int aRes = avcodec_send_packet (myCodecCtx, thePacket->Packet()); ^ /home/abv/occt/src/Media/Media_CodecContext.cxx:264:21: error: use of undeclared identifier 'avcodec_receive_frame' const int aRes2 = avcodec_receive_frame (myCodecCtx, theFrame->ChangeFrame()); ^ 6 errors generated. I have FFmpeg 2.8.15-0ubuntu0.16.04.1 | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
OCCT requires FFmpeg 3.1 or later, which is specified in requirements: https://dev.opencascade.org/doc/overview/html/index.html#OCCT_OVW_SECTION_5 |
|
I see; then I suppose CMake scripts should report error if older version is found |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-09-14 14:42 |
|
New Issue | |
2019-09-14 14:42 |
|
Assigned To | => kgv |
2019-09-16 14:42 | kgv | Note Added: 0087136 | |
2019-09-16 14:42 | kgv | Assigned To | kgv => abv |
2019-09-16 14:42 | kgv | Status | new => feedback |
2019-09-18 08:26 |
|
Note Added: 0087241 | |
2019-09-18 08:26 |
|
Assigned To | abv => apn |
2019-09-18 08:26 |
|
Status | feedback => assigned |
2019-09-18 08:26 |
|
Category | OCCT:Visualization => OCCT:Configuration |
2019-09-18 08:26 |
|
Summary | Visualization - compilation error when building with FFmpeg 2.8 => Configuration - compilation error when building with FFmpeg 2.8 |
2020-09-11 15:37 |
|
Assigned To | apn => inv |
2020-09-11 15:40 |
|
Target Version | 7.5.0 => 7.6.0 |
2020-09-11 16:01 | kgv | Product Version | => 7.4.0 |
2020-09-11 17:08 | bugmaster | Assigned To | inv => bugmaster |
2021-09-03 14:13 | bugmaster | Target Version | 7.6.0 => 7.7.0 |
2022-10-24 10:38 |
|
Target Version | 7.7.0 => 7.8.0 |
2023-08-01 15:09 | dpasukhi | Target Version | 7.8.0 => Unscheduled |
2023-09-29 17:47 | vglukhik | Assigned To | bugmaster => |