Giter VIP home page Giter VIP logo

Comments (2)

sreimers avatar sreimers commented on June 3, 2024

You can add --debug-find, it should list all considered paths.

In general, -DFFMPEG_INCLUDE_DIRS= is defined and filled by module (FindFFMPEG.cmake) it should not be defined as param.
It may have worked by accident, but that's not the way cmake find_package system works.

Maybe you can use -DFFMPEG_PATH=, this variable is tried by the HINTS paths.

But a better approach for defining these paths is: https://cmake.org/cmake/help/latest/variable/CMAKE_FIND_ROOT_PATH.html#variable:CMAKE_FIND_ROOT_PATH

android/ndk#912 (comment)

from baresip.

juha-h avatar juha-h commented on June 3, 2024

I have already tried with

	-DFFMPEG_PATH="/usr/src/libbaresip-android/ffmpeg-kit/src/ffmpeg" \

where /usr/src/libbaresip-android/ffmpeg-kit/src/ffmpeg has

$ ls /usr/src/libbaresip-android/ffmpeg-kit/src/ffmpeg
Changelog	     COPYING.GPLv2     ffbuild/      libavformat/    MAINTAINERS    tests/
compat/		     COPYING.GPLv3     fftools/      libavutil/      Makefile	    tools/
config_components.h  COPYING.LGPLv2.1  INSTALL.md    libpostproc/    presets/
config.h	     COPYING.LGPLv3    libavcodec/   libswresample/  README.md
configure*	     CREDITS	       libavdevice/  libswscale/     RELEASE
CONTRIBUTING.md      doc/	       libavfilter/  LICENSE.md      RELEASE_NOTES

but still I get

-- Could NOT find FFMPEG (missing: FFMPEG_AVCODEC_LIBRARIES FFMPEG_AVCODEC_INCLUDE_DIRS avcodec avfilter avformat swscale swresample avdevice avutil)

I'll try with --debug-find tomorrow.

from baresip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.