Skip to content
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

compilation error on ubuntu 24.04 #1731

Open
moefear85 opened this issue Aug 2, 2024 · 1 comment
Open

compilation error on ubuntu 24.04 #1731

moefear85 opened this issue Aug 2, 2024 · 1 comment

Comments

@moefear85
Copy link

moefear85 commented Aug 2, 2024

I'm following the instructions at https://github.com/alicevision/AliceVision/blob/develop/INSTALL.md. I think this is a dependency error? I ran cmake with cmake -DALICEVISION_BUILD_DEPENDENCIES=ON -DCMAKE_INSTALL_PREFIX=$PWD/../install ../AliceVision.

src/libavutil/hwcontext_vulkan.c:362:7: error: ‘VK_EXT_VIDEO_ENCODE_H264_EXTENSION_NAME’ undeclared here (not in a function); did you mean ‘VK_KHR_VIDEO_ENCODE_H264_EXTENSION_NAME’?
  362 |     { VK_EXT_VIDEO_ENCODE_H264_EXTENSION_NAME,                FF_VK_EXT_NO_FLAG                },
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |       VK_KHR_VIDEO_ENCODE_H264_EXTENSION_NAME
[ 29%] Built target draco_shared
src/libavutil/hwcontext_vulkan.c:363:7: error: ‘VK_EXT_VIDEO_DECODE_H264_EXTENSION_NAME’ undeclared here (not in a function); did you mean ‘VK_KHR_VIDEO_DECODE_H264_EXTENSION_NAME’?
  363 |     { VK_EXT_VIDEO_DECODE_H264_EXTENSION_NAME,                FF_VK_EXT_NO_FLAG                },
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |       VK_KHR_VIDEO_DECODE_H264_EXTENSION_NAME
src/libavutil/hwcontext_vulkan.c:364:7: error: ‘VK_EXT_VIDEO_DECODE_H265_EXTENSION_NAME’ undeclared here (not in a function); did you mean ‘VK_KHR_VIDEO_DECODE_H265_EXTENSION_NAME’?
  364 |     { VK_EXT_VIDEO_DECODE_H265_EXTENSION_NAME,                FF_VK_EXT_NO_FLAG                },
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |       VK_KHR_VIDEO_DECODE_H265_EXTENSION_NAME
make[3]: *** [/home/mofear/source/AliceVision/build/ffmpeg/ffbuild/common.mak:81: libavutil/hwcontext_vulkan.o] Error 1
make[2]: *** [CMakeFiles/ffmpeg.dir/build.make:86: external/src/ffmpeg-stamp/ffmpeg-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:542: CMakeFiles/ffmpeg.dir/all] Error 2

any idea how to resolve this? The error happens during Performing build step for 'ffmpeg'.
The following links might have more clues patch_ffmpeg_fix and issues/2345 and handbrake issue

also, gcc complains about missing #include <cstdint> in AliceVision/build/assimp/contrib/draco/src/draco/io/file_utils.h, but that is easily remedied.

@moefear85
Copy link
Author

btw is there perhaps a docker or AppImage available anywhere? Or an ubuntu repository one could add to make things easier?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant