Closed andresendo closed 11 years ago
/Users/andre/Downloads/iKenndac-Arduino-Dioder-Playground-ad1f02d/Xcode Projects/Dioder Screen Colours/Dioder Screen Colours/Dioder_Screen_ColoursAppDelegate.m:70:5: Use of undeclared identifier 'lastScreenUpdateReceived'
/Users/andre/Downloads/iKenndac-Arduino-Dioder-Playground-ad1f02d/Xcode Projects/Dioder Screen Colours/Dioder Screen Colours/Dioder_Screen_ColoursAppDelegate.m:48:54: Implicit conversion of Objective-C pointer type 'Dioder_Screen_ColoursAppDelegate ' to C pointer type 'void ' requires a bridged cast
/Users/andre/Downloads/iKenndac-Arduino-Dioder-Playground-ad1f02d/Xcode Projects/Dioder Screen Colours/Dioder Screen Colours/Dioder_Screen_ColoursAppDelegate.m:105:16: Redefinition of 'screenShot'
/Users/andre/Downloads/iKenndac-Arduino-Dioder-Playground-ad1f02d/Xcode Projects/Dioder Screen Colours/Dioder Screen Colours/Dioder_Screen_ColoursAppDelegate.m:106:6: 'release' is unavailable: not available in automatic reference counting mode
/Users/andre/Downloads/iKenndac-Arduino-Dioder-Playground-ad1f02d/Xcode Projects/Dioder Screen Colours/Dioder Screen Colours/Dioder_Screen_ColoursAppDelegate.m:106:6: ARC forbids explicit message send of 'release'
/Users/andre/Downloads/iKenndac-Arduino-Dioder-Playground-ad1f02d/Xcode Projects/Dioder Screen Colours/Dioder Screen Colours/Dioder_Screen_ColoursAppDelegate.m:200:91: Use of undeclared identifier 'ciImage'
Is it possible that you can fix the programm for Mountain Lion 10.8.2 ? :)
Ah good, I'm not alone with this :) I also tried to compile it. So far, some of the errors can be avoided by disabling ARC for this project but other will stay. My knowledge of objective c is too limited to get it running, so any help is appreciated :)
Yup, @rudelm I hit the same roadblock too. Don't know enough about Obj-C to fix the remaining issues for the Cocoa app to compile in the latest version of Xcode. I was about to give up on the project but have since found another similar project that uses Processing for the client app, and have adapted it to use the same Arduino sketch. I see you're going down a similar path using Java. Take a look at my fork and see if there's anything that might be useful to you, since Processing is very similar to Java.
I also have a modified version of the protocol used for sending the colour channels to the DIODER which is a bit more robust and has basic error checking. This is still on a branch while I work out all the kinks.
Unfortunately, I've using Processing (and I presume Java too) to take the screenshots and averaging out the colours seems to be rather CPU intensive, and I wish the native cocoa app worked so that it could hook into the native Mac OS X APIs which might be faster.
Ah very cool processing tool, at least from the code I can see :) I will try it later this day. Yesterday I got the Xcode project to compile and run. I had to comment out some of the code and switched with the Xcode assistant to ARC. However, it is still running very slow on my MBP5,5 even with enabled core image filter (which should run on the GPU instead of CPU).
Maybe your Processing version is fast enough. From what I've heard processing is often used for graphic manipulation in art projects, therefore it should be possible to run faster. I will upload the modified Xcode this evening so you can have a look at it. It was just crude testing and experimenting to see the app only once running ;)
I fixed the project so it builds. However, the Arduioder project is the one you should look it — it's better and compiles just fine.
That's awesome, thanks Daniel!
Can't compile Dioder Screen Colours i get with OS X 10.8 6 compiling Errors :(