fraunhoferhhi / vvdec

VVdeC, the Fraunhofer Versatile Video Decoder
https://www.hhi.fraunhofer.de/en/departments/vca/technologies-and-solutions/h266-vvc.html
BSD 3-Clause Clear License
428 stars 85 forks source link

Build failure with profiling enabled #139

Closed 1div0 closed 1 year ago

1div0 commented 1 year ago

In file included from /2TB/usr/src/github.com/1div0/vvdec/source/Lib/vvdec/../CommonLib/CommonDef.h:583, from /2TB/usr/src/github.com/1div0/vvdec/source/Lib/DecoderLib/DecLibParser.h:45, from /2TB/usr/src/github.com/1div0/vvdec/source/Lib/DecoderLib/DecLib.h:49, from /2TB/usr/src/github.com/1div0/vvdec/source/Lib/DecoderLib/DecLibRecon.cpp:47: /2TB/usr/src/github.com/1div0/vvdec/source/Lib/DecoderLib/DecLibRecon.cpp: In lambda function: /2TB/usr/src/github.com/1div0/vvdec/source/Lib/DecoderLib/DecLibRecon.cpp:686:27: error: ‘picture’ was not declared in this scope; did you mean ‘Picture’? 686 | itt_frame_end_v3( picture->m_itt_decLibInst, nullptr ); | ^~~ /2TB/usr/src/github.com/intel/ittapi/include/ittnotify.h:247:39: note: in definition of macro ‘ITTNOTIFY_VOID_D1’ 247 | #define ITTNOTIFY_VOID_D1(n,d,x) (d == NULL) ? (void)0 : (!(d)->flags) ? (void)0 : (!ITTNOTIFY_NAME(n)) ? (void)0 : ITTNOTIFY_NAME(n)(d,x) | ^ /2TB/usr/src/github.com/1div0/vvdec/source/Lib/DecoderLib/DecLibRecon.cpp:686:7: note: in expansion of macro ‘__itt_frame_end_v3’ 686 | itt_frame_end_v3( picture->m_itt_decLibInst, nullptr ); | ^~~~~~ make[2]: [source/Lib/vvdec/CMakeFiles/vvdec.dir/build.make:636: source/Lib/vvdec/CMakeFiles/vvdec.dir/__/DecoderLib/DecLibRecon.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... make[1]: [CMakeFiles/Makefile2:198: source/Lib/vvdec/CMakeFiles/vvdec.dir/all] Error 2 make: [Makefile:146: all] Error 2

Attached CMake cache file for reference. CMakeCache.txt

K-os commented 1 year ago

Oh thanks. I'll fix it.