Openframeworks downloaded app doesnt work mac
You can't account for everything, so don't beat yourself up if something does eventually happen, but this list will hopefully alleviate a little bit of frustration. Good luck! If you have an installation that runs for weeks or months, you might want a way to keep tabs on it that doesn't involve remotely logging in and checking on it. A good thing to have would be to have something on the system that writes certain info to a text file kept on a linked Dropbox , or better write that file to a web server that you can then check.
There are a couple things you can do depending on what you want to know about the state of your installation. There is a terminal command you can use to get a list of all of the currently running processes on your computer:. Now we just need to make this an executable shell script and set it up as a launch daemon or cron job — see above at Step 3 to learn how to run the shell script at a regular interval using Lingon and launchd.
If the app isn't running, it will only return the "grep YourAppName" process which is a good thing to log because if your app isn't open you won't know how long it's been out nothing will be logged , but having the grep process logged will at least tell you it was checking for it.
Grep will also more accurately tell you what time it checked — the other app will only give you a start time and up time. Let's also take this one step further and say, hypothetically, that the Triplehead2Go display adapter you have is fairly wonky and you don't always get the displays or projectors to connect after reboot — or maybe a projector is shutting itself off and disrupting things.
Well we can log the currently available resolutions too! Try entering the line below in your own terminal:. This will return a list of connected displays and some metadata about them including resolution and names. You would do something like:.
So here would be your shell script file if you wanted to record the currently running processes and the current resolutions:. And now you're feeling excited, maybe you want to grab a fullscreen screenshot at a regular interval too, just to make sure there is no funkiness happening that you can't see…well you could add this line to the above as well:. This will save a screenshot to the desktop specify your own file path with a formatted date and time. You may want to do this every hour instead of every 5 minutes since it's a big chunk of data and it may cause some issue with your screens.
As usual — test before deploying! Bonus points would be to create an auto-generated table and webpage that takes all of this info and puts it into a nice view that you can use to check all of your installations at a glance. If the process logger isn't enough, we can use what we learned in that process to actually set up a system to email you if something is amiss so you don't have to manually check it.
We can do this all with the command line and internal tools, it's just a more involved setup. This is going to be fairly general and will need some tuning in your specific case. First you will need to configure postfix so you can easily send emails from the terminal — follow the instructions here as closely as possible. The line in the passwd file mentioned in the article would be: smtp.
Now send a test email to yourself by running: echo "Hello" mail -s "test" "InstallationSupport gmail. Second step is to combine this new found ability to send emails from the Terminal with a process to check if your application is still running…something like the below would work with some tweaking for what you're looking to do:. Now you just need to follow the instructions from Step 3 above to set this shell script up to run with launchd — you can check it every 5 minutes and have it email you if it crashed.
You could also adapt the If statement to email you if the resolution isn't right or some other process condition. See this article about combining the above process with something that kills and restarts an app if it crosses a memory usage threshold. Bonus — if using MadMapper — see this link for an AppleScript that will open MadMapper and have it enter fullscreen — and enter "OK" on a pesky dialog box.
Nick Hardeman's utility for setting all of these from one location. Nick Hardeman's ofxMacUtils. If you're looking for help with this task with Windows, check out this awesome script StayUp from Stephen Schieberl. Work in progress! This is a preliminary version of ofBook, a collaboratively written book about openFrameworks. Please post any issues, suggestions, comments on our repo.
About This Book Credits. Look Alive! Just got the update from the mac store, having issues with glew as well, tried to make an alias in Xcode. I'm seeing this when deployment target is set to iOS 7. Works on 6. Newly installed Xcode 5. I have a Maverick OSX installation I do have it setted up as you say, but still have the same troubles. One more thing: I'm being able to compile the openFrameworks Xcode project, but when I try to compile something else, I get an error with ld:.
Ok, getting deeper in the analysis I found that the cairo. I replaced it with the one in the 0. I can compile with Now, did somebody was able to compile with I still have some code that need to be compiled with that version :.
Skip to content. Star 8. New issue. Jump to bottom. OF won't compile under Xcode 5. Labels bug section-internals xcode. At the bottom of the window, you'll see multiple options under Allow apps to be downloaded from.
Select Anywhere to allow your Mac to download any and all apps. If you later decide that you'd like to return to your Mac's default settings and no longer allow apps to be downloaded from anywhere, just follow these steps: Launch Terminal.
Wait for 30 seconds; Restart your Mac and sign back in using the steps above; Now try and sign in into the Mac App Store. Learn more. Asked 10 years, 6 months ago. Active 10 years, 6 months ago. Viewed times. I have downloaded latest openframeworks library from github. Is it problem with existing code or I have to do some settings?
Update: These are list of few errors:. Improve this question. Tariq Tariq 9, 11 11 gold badges 56 56 silver badges 97 97 bronze badges. Can you specify what went wrong in more detail, i. Can you please post the first few errors from build output to get an idea what might be wrong? Please refer attached screenshot in this thread. So, these are list of some errors out of 97 errors. Add a comment.
0コメント