I just did some test with JUCE Demo (Camera Capture), it seems CameraDevice works fine on Windows, but it can't capture the right image on OSX, it just showed a whole black thing... When compile the project, Xcode gave 64 warnings. The last one I noticed was:
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks//QuickTime.framework/QuickTime, file was built for i386 which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks//QuickTime.framework/QuickTime
The most strangest thing is: I remembered clearly it can capture the right image and show it below the cameraPreviewComp the other day (on OSX). I spent a lot of time play with it happily. Now, it suddenly abnormality. I suspected maybe my Xcode had some problem, then I unload it and reinstall, no luck. Then I update the whole OSX, 10.9.5 -> 10.10.3, then unload Xcode and install the lastest version... then adjust the settings in Introjucer, again and again... after all of these, I've still no any luck, the Camera Capture page still showed nothing (actually a big black image) below the cameraPreviewComp after I clicked 'Take a snapshot'.
What a bad day!
I think I must missing something. Anybody who tells me how to solve this problem would be appreciate!