Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
jami-project
jami-project
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 171
    • Issues 171
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Requirements
    • Requirements
    • List
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • savoirfairelinux
  • jami-projectjami-project
  • Issues
  • #377

Closed
Open
Opened Jul 04, 2017 by RingBot@RingBotOwner

ring-daemon build fails: can't find PIX\_FMT\_PLANAR and PIX\_FMT\_RGB

Issue generated from Tuleap's migration script. Originally submitted by: Yuri (yurivict)

Build of ring-daemon-2.2.0 on FreeBSD 11 fails:

video_scaler.cpp:95:28: error: use of undeclared identifier 'PIX_FMT_PLANAR'
if (not (desc->flags & PIX_FMT_PLANAR)
^
video_scaler.cpp:96:26: error: use of undeclared identifier 'PIX_FMT_RGB'
or desc->flags & PIX_FMT_RGB)
^

These values originate from libav. libav-11.8_2 has them, but some other version is bundled with the latest ffmpeg-3.3.2 that doesn't have them.

You need to make sure libav version is picked up first.

On my system libav instals this header as
/usr/local/include/libav/libavutil/pixdesc.h
and ffmpeg installs it as /usr/local/include/libav/libavutil/pixdesc.h

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: savoirfairelinux/ring-project#377