Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bob bob
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bobbob
  • bobbob
  • Issues
  • #108
Closed
Open
Issue created Jan 29, 2013 by André Anjos@andre.anjos💬Owner

Libavutil PixelFormat C-style macro conflicts with bob daq PixelFormat enum

Created by: laurentes

This bug was initially reported on macports. The problem has occured after a libavutil update on macports, which now defines a C macro PixelFormat in /opt/local/include/libavutil/pixfmt.h:307:21

#define PixelFormat AVPixelFormat

As the macro seems to be used in src/io/cxx/VideoUtilities.cc, we can't undefine it just after the inclusion of the libavutil header. One solution would be to undefine it in the fundamental headers of the DAQ submodule, include/bob/daq/Camera.h and include/bob/daq/Controller.h

Assignee
Assign to
Time tracking