Skip to content

fatal error: libavresample/avresample.h: No such file or directory #7

@Jgregor490

Description

@Jgregor490

Hi there,

I keep getting this error when attempting to build openlase

[ 39%] Building C object tools/CMakeFiles/playvid.dir/playvid.c.o
/home/julian/Desktop/openlase/tools/playvid.c:59:38: fatal error: libavresample/avresample.h: No such file or directory
compilation terminated.
make[2]: *** [tools/CMakeFiles/playvid.dir/playvid.c.o] Error 1
make[1]: *** [tools/CMakeFiles/playvid.dir/all] Error 2
make: *** [all] Error 2

most of it seems to build correctly except for playvid, any suggestions on what to do? I am running mint nadia v14 below is the cmake list if it helps.

julian@julian-R540-SA41-E452 ~/Desktop $ cd openlase
julian@julian-R540-SA41-E452 ~/Desktop/openlase $ mkdir build && cd build
julian@julian-R540-SA41-E452 ~/Desktop/openlase/build $ cmake ..
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found.
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found JACK
-- Found PythonInterp: /usr/bin/python (found version "2.7.3")
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt4: /usr/bin/qmake (found version "4.8.3")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- checking for module 'libavcodec'
-- found libavcodec, version 53.35.0
-- Found FFMPEG: /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libavdevice.so /usr/include
-- checking for module 'libswscale'
-- found libswscale, version 2.1.0
-- Found Swscale: /usr/lib/x86_64-linux-gnu/libswscale.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
-- Found GLUT: /usr/lib/x86_64-linux-gnu/libglut.so
-- Found ALSA: /usr/lib/x86_64-linux-gnu/libasound.so (found version "1.0.25")
-- Found Curses: /usr/lib/x86_64-linux-gnu/libcurses.so
-- Looking for include file malloc.h
-- Looking for include file malloc.h - found
-- Looking for memalign
-- Looking for memalign - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for _aligned_malloc
-- Looking for _aligned_malloc - not found
-- The ASM_YASM compiler identification is unknown
-- Found assembler: /usr/bin/yasm
-- Will build tracer (SSE2 version)
-- Found PythonLibs: /usr/lib/python3.2/config/libpython3.2.so (found version "2.7.3")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/julian/Desktop/openlase/build

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions