Skip to content

Build is broken for the Mac/x64, Xcode 4 #15

Description

@dchichkov

On the Snow Leopard / Xcode 4.03 the build is broken for the x86_64 architecture:

Scanning dependencies of target cam_iface_mega
[ 5%] Building C object src/CMakeFiles/cam_iface_mega.dir/cam_iface_quicktime.c.o
libcamiface/src/cam_iface_quicktime.c:95: error: expected specifier-qualifier-list before ‘SGChannel’
libcamiface/src/cam_iface_quicktime.c:337: error: expected ‘)’ before ‘chan’
libcamiface/src/cam_iface_quicktime.c:364: error: expected ‘)’ before ‘c’
libcamiface/src/cam_iface_quicktime.c: In function ‘quicktime_cam_iface_startup’:
libcamiface/src/cam_iface_quicktime.c:448: error: ‘SeqGrabComponentType’ undeclared (first use in this function)
libcamiface/src/cam_iface_quicktime.c:448: error: (Each undeclared identifier is reported only once

This is caused by using deprecated QuickTime APIs which are no longer available for the x64 QuickTime clients.
i386 build still works (can be selected by 'export CMAKE_OSX_ARCHITECTURES=i386' before running cmake).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions