News:

--

Main Menu

Libva "error" in configure (cmake)

Started by sl1pkn07, September 30, 2013, 07:02:50 PM

Previous topic - Next topic

sl1pkn07


-- Checking for LIBVA
-- *******************
-- Found va/va.h
-- Checking it is the right version...
-- Libva compile check failed
-- Change Dir: /home/sl1pkn07/aplicaciones/avidemux-2.6-git/src/avidemux/build_core/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec4051606182/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec4051606182.dir/build.make CMakeFiles/cmTryCompileExec4051606182.dir/build
make[1]: se ingresa al directorio `/home/sl1pkn07/aplicaciones/avidemux-2.6-git/src/avidemux/build_core/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/sl1pkn07/aplicaciones/avidemux-2.6-git/src/avidemux/build_core/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec4051606182.dir/libva.cpp.o
/usr/bin/c++    -march=x86-64 -mtune=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4     -o CMakeFiles/cmTryCompileExec4051606182.dir/libva.cpp.o -c /home/sl1pkn07/aplicaciones/avidemux-2.6-git/src/avidemux/cmake_compile_check/libva.cpp
/home/sl1pkn07/aplicaciones/avidemux-2.6-git/src/avidemux/cmake_compile_check/libva.cpp: En la función ââ,¬Ëœint main(int, char**)ââ,¬â,,¢:
/home/sl1pkn07/aplicaciones/avidemux-2.6-git/src/avidemux/cmake_compile_check/libva.cpp:11:46: error: conversión inválida de ââ,¬Ëœintââ,¬â,,¢ a ââ,¬ËœVASurfaceID* {aka unsigned int*}ââ,¬â,,¢ [-fpermissive]
         vaCreateSurfaces(dpy,w,h,format,1,&id);
                                              ^
/home/sl1pkn07/aplicaciones/avidemux-2.6-git/src/avidemux/cmake_compile_check/libva.cpp:11:46: error: conversión inválida de ââ,¬ËœVASurfaceID* {aka unsigned int*}ââ,¬â,,¢ a ââ,¬Ëœunsigned intââ,¬â,,¢ [-fpermissive]
/home/sl1pkn07/aplicaciones/avidemux-2.6-git/src/avidemux/cmake_compile_check/libva.cpp:11:46: error: faltan argumentos para la función ââ,¬ËœVAStatus vaCreateSurfaces(VADisplay, unsigned int, unsigned int, unsigned int, VASurfaceID*, unsigned int, VASurfaceAttrib*, unsigned int)ââ,¬â,,¢
In file included from /home/sl1pkn07/aplicaciones/avidemux-2.6-git/src/avidemux/cmake_compile_check/libva.cpp:3:0:
/usr/include/va/va.h:792:1: nota: se declara aquí
vaCreateSurfaces(
^
make[1]: *** [CMakeFiles/cmTryCompileExec4051606182.dir/libva.cpp.o] Error 1
make[1]: se sale del directorio `/home/sl1pkn07/aplicaciones/avidemux-2.6-git/src/avidemux/build_core/CMakeFiles/CMakeTmp'
make: *** [cmTryCompileExec4051606182/fast] Error 2

-- Found LIBVA


libva 1.2.1-1

archlinux 64bits

greetings

mean


sl1pkn07


sl1pkn07

a year is passed and this still happend, with libva 1.4.1 inclusive

any plans to fix it?

greetings

AQUAR


Jan Gruuthuse

$ vainfo
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.35 (libva 1.3.0)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.3
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG4Simple            : VAEntrypointVLD
      VAProfileMPEG4AdvancedSimple    : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD

AQUAR

Thanks Jan,

I was curious as I got this same Libva version check error (on the Virtualbox/Fedora build environment!).
It seems to get compiled if the version check fails.

Still getting used to the ways of Linux.
Some things are very strange for us spoon fed windows users.




sl1pkn07

#7
my vainfo


â””â”â,¬Ã¢â€â,¬Ã¢â€â,¬Ã¢â€¢Â¼  vainfo
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.37 (libva 1.5.0)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG4Simple            : VAEntrypointVLD
      VAProfileMPEG4AdvancedSimple    : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD


libva 1.5.0
libva-vdpau-driver 0.7.4