osx-yosemite

gcc 4.9.1 in OS X Yosemite - gcc: warning: couldn’t understand kern.osversion ‘14.0.0'

本秂侑毒 提交于 2019-11-28 18:39:53
I install OS X Yosemite and now i have a huge problem with gcc 4.9.1 compiler. I hope some one can help me please. I try to compile my program and i have the warning message: gcc: warning: couldn’t understand kern.osversion ‘14.0.0' I search on google and i find https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61407 I try to apply the patch doing: sudo patch -p1 < /usr/local/bin/00-darwin-10.10.patch in gcc folder: /usr/local/bin/gcc and i received the message: can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: ---------------

Eclipse won't start after installing Mac OS X Yosemite (Mac OS 10.10)

我怕爱的太早我们不能终老 提交于 2019-11-28 18:28:33
问题 Right after upgrading to Mac OS Yosemite (10.10), my Eclipse won't start anymore. Instead I get The JVM shared library /Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/bin/../jre/lib/server/libjvm.dylib" does not contain the JNI_CreateJavaVM symbol. I checked java -version and get java version "1.8.0_05" Java(TM) SE Runtime Environment (build 1.8.0_05-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode) I search and have found one similar problem Reinstalling

Can't run Android Studio on Yosemite

风流意气都作罢 提交于 2019-11-28 16:58:16
Can't install Java 7 (installer refuses). Can install Java 8. But then starting Android Studio, it says it needs to install the legacy JDK 6, which is not going to work for me because our projects are already 1.7. We now have an official page describing what to do: http://tools.android.com/tech-docs/configuration/osx-jdk Please, please don't edit Info.plist; that has many downsides (including broken patches and application signatures breaking etc). As of Android Studio 1.0 we have a different way of setting the JDK to be used by the IDE. UPDATE 2014.12.10 This should be the final update on

How can I use NSVisualEffectView in window's title bar?

一世执手 提交于 2019-11-28 16:35:20
In OS X Yosemite, Apple introduced a new class NSVisualEffectView . Currently, this class is undocumented, but we can use it in Interface Builder. How can I use NSVisualEffectView in the window's title bar? Here's example: in Safari, when you scroll, the content appears under the toolbar and titlebar with a vibrance and blur effect. Nikolai Nagornyi @sgonzalez's answer forced me to explore NSWindow.h file where i found titlebarAppearsTransparent property. So we get: class BluredWindow: NSWindow { override func awakeFromNib() { let visualEffectView = NSVisualEffectView(frame: NSMakeRect(0, 0,

Mac OS X 10.10 Yosemite Postfix SASL authentication failed

守給你的承諾、 提交于 2019-11-28 16:23:10
I followed the step described in the link below to setup my mac to send out email. http://www.anujgakhar.com/2011/12/09/using-macosx-lion-command-line-mail-with-gmail-as-smtp/ It was working fine on my Mac OS X 10.9. But after I upgraded to OS X 10.10. The mail.log showed the following error. What is the problem? Oct 19 00:28:22 paullam-macbook-pro.local postfix/smtp[30383]: 6B47B8AD4E8: SASL authentication failed; cannot authenticate to server smtp.gmail.com[74.125.68.109]: generic failure Oct 19 00:28:24 paullam-macbook-pro.local postfix/smtp[30383]: 6B47B8AD4E8: to=<zzpaul@gmail.com>, relay

NSStatusItem change image for dark tint

纵饮孤独 提交于 2019-11-28 16:01:06
With OSX 10.10 beta 3, Apple released their dark tint option. Unfortunately, it also means that pretty much all status bar icons (with the exception of Apple's and Path Finder's that I've seen), including mine, remain dark on a dark background. How can I provide an alternate image for when dark tint is applied? I don't see an API change on NSStatusBar or NSStatusItem that shows me a change, I'm assuming it's a notification or something reactive to easily make the change as the user alters the tint. Current code to draw the image is encased within an NSView : - (void)drawRect:(NSRect)dirtyRect

After upgrade, PHP no longer supports PNG operations

↘锁芯ラ 提交于 2019-11-28 15:52:35
问题 After updating to Mac OS X 10.10 (Yosemite) and starting Apache with PHP support, everything works as before except for any image operations on PNG files. I get a Call to undefined function imagecreatefrompng() , while any operation on JPEG files work. So GD is present, but not for PNG. There is one line in the phpinfo() that looks like the problem: '--with-png-dir=no' The GD section from phpinfo() : How do I get the included PHP to work with PNG files? 回答1: Here's another option, from the

OSX 10.10 yosemite beta on git pull: git-sh-setup: No such file or directory

谁说胖子不能爱 提交于 2019-11-28 14:04:21
问题 After upgrading to OSX 10.10 Yosemite Beta, running git pull is returning the following error: /Library/Developer/CommandLineTools/usr/libexec/git-core/git-pull: line 11: git-sh-setup: No such file or directory I've checked the referenced git-core directory and the git-sh-setup.sh is there. Other git commands are working exactly as expected 回答1: I think the cleanest solution for this for now is to change the initial command in your iTerm session to be /usr/bin/login -f <your user name> This

Troubleshooting SSL certificates, Ruby, Mac OS X Yosemite

岁酱吖の 提交于 2019-11-28 12:56:37
问题 On OS X Mavericks, I am getting the following error from my Ruby programs when I try to connect to various APIs: Seahorse::Client::NetworkingError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed What is the recommended solution to this? 回答1: In my case the problem was the following: Ruby installed as a binary with RVM assumed OpenSSL is in /etc/openssl OpenSSL had been installed with Homebrew to /usr/local/etc/openssl => Mismatch; and

Java 8u40 on OS X Yosemite

妖精的绣舞 提交于 2019-11-28 11:37:16
Since the update of Java 8u40 our OSX users have not been able to type anything into the application and the application also does not even gain focus. I have tried other Web Start examples and I have the same issue, so it isn’t just us. I went to http://docs.oracle.com/javase/tutorial/deployment/webstart/examplesIndex.html and launched both Web Start demo’s on that page. I can double-click in the fields and it appears it wants to rename or edit text but the caret doesn’t show up and typing doesn’t work. Also, Finder (or whatever app I had touched last) is still on the Mac title/tool bar. Is