-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build is broken for the Mac/x64, Xcode 4 #15
Comments
Yes, the QuickTime backend needs to be re-written using Objective C. I don't know that language and can't justify spending the time to learn it for this right now. I'm happy to accept patches, of course. |
I had a similar problem with the 0.8.0 source. Luckily, I had the 0.5.5 version around which still worked. If there is a workaround as suggested above, this should be indicated in the installation howto. I hope there will be time for the obj-c rewrite as this is the only program with the camera readout capability as far as I know! Good luck and thanks for the useful package! |
@toqduj are you saying that you can compile 0.5.5 from source on Mac or that you have the binary installer and it still works? Because if compiling from source still works on OS X 10.8.4 and 64 bit, that'd allow us to keep using Carbon without any Cocoa/Obj-C work. But I'm hitting the kind of compilation errors I'd expect if the Carbon headers are removed. I'd guess by now there must be some open source library that opens cameras and streams frames (without necessarily showing them on screen) using the Cocoa framework. We could use their code as inspiration. Know of any such thing? |
This looks interesting. |
The ofQTKitGrabber component of openFrameworks also looks interesting. |
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).
The text was updated successfully, but these errors were encountered: