osx-yosemite

RNetLogo not working on Mac Yosemite

此生再无相见时 提交于 2019-11-30 16:19:18
问题 I just tried this, but I got this error message. Any ideas about how to fix it? I am using the R version 3.1.1, RNetLogo_1.0-1, the platform is x86_64-apple-darwin13.1.0 (64-bit), Java 7 update 60. Sys.setenv(NOAWT=1) library(JGR) Sys.unsetenv("NOAWT") JGR() library(RNetLogo) nl.path <- "/Applications/NetLogo 5.1.0" NLStart(nl.path) Error in .jnew("nlcon/Preprocess") : java.lang.UnsupportedClassVersionError: nlcon/Preprocess : Unsupported major.minor version 51.0 回答1: You need at least Java 7

Ruby errors with OS X Yosemite

只谈情不闲聊 提交于 2019-11-30 15:08:01
问题 I just upgraded to OS X Yosemite and am running into all sorts of issues running my Rails app. I'm constantly seeing the following error: ruby(11958,0x7fff7e430300) malloc: *** error for object 0x7f880b801808: incorrect checksum for freed object - object was probably modified after being freed. *** set a breakpoint in malloc_error_break to debug Abort trap: 6 Any ideas how to fix this? Edit I tried following the suggestions on this page: How to get Ruby / Homebrew / RVM to work on Yosemite?

XAMPP - Mysql stopped working on OS X Yosemite (10.10)

二次信任 提交于 2019-11-30 13:38:43
I Installed XAMPP 1.8.3-1 on OS X Maverick and all was well, until I upgraded to Yosemite last night, Now when I try to start MySQL in the manager it won't start. Activity monitor shows no other MySQL processes running. While in the error log I find this message: 2014-08-06 17:19:04 5277 mysqld_safe Starting mysqld daemon with databases from /Applications/XAMPP/xamppfiles/var/mysql dyld: Symbol not found: _sqlite3_intarray_bind Referenced from: /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData Expected in: /Applications/XAMPP/xamppfiles/lib/libsqlite3.dylib in /System/Library

Ruby errors with OS X Yosemite

拥有回忆 提交于 2019-11-30 13:26:41
I just upgraded to OS X Yosemite and am running into all sorts of issues running my Rails app. I'm constantly seeing the following error: ruby(11958,0x7fff7e430300) malloc: *** error for object 0x7f880b801808: incorrect checksum for freed object - object was probably modified after being freed. *** set a breakpoint in malloc_error_break to debug Abort trap: 6 Any ideas how to fix this? Edit I tried following the suggestions on this page: How to get Ruby / Homebrew / RVM to work on Yosemite? But when I edit brew.rb to change the path to "Current," I get the error: Homebrew requires Leopard or

How do you use the dark vibrancy on an NSWindow?

六眼飞鱼酱① 提交于 2019-11-30 12:21:17
问题 What is the correct way to use the Vibrant Dark ( NSAppearanceNameVibrantDark ) or Vibrant Light ( NSAppearanceNameVibrantLight ) modes with an NSWindow ? I'm building an application and would like to offer the new Vibrant Dark appearance as an option for the main application's NSWindow . The window itself is a pretty straight forward window with an NSToolbar across the top and a scroll view as the main content area. There's plenty of information from Apple on using the new vibrancy

How to install mod_perl 2.0.9 in Apache 2.4 on OS X Yosemite?

二次信任 提交于 2019-11-30 12:15:52
With the release of OS X 10.10 Yosemite, Apple upgraded its Apache server to version 2.4. At release time, mod_perl 2.0.8 was incompatible with Apache 2.4, and mod_perl 2.0.9 had not yet been officially released ( more info ). So, Apache was included without mod_perl. I work locally on a web site using perl and need to install mod_perl. I'm an experienced programmer, but I have never done anything like this before and have only my main machine to work on. I don't mind spending some time to figure this out, but I can't afford to bork my local server. How does one install mod_perl on OS X

LLDB Error: Unable to resolve breakpoint to any actual locations

谁都会走 提交于 2019-11-30 11:46:59
I'm trying to use LLDB (because I apparently can't use gdb anymore) to debug som of my code and each time I try to... (lldb) breakpoint set -f file.c -l 65 I get... Breakpoint 1: no locations (pending) WARNING: Unable to resolve breakpoint to any actual locations. I've tried different things like assigning the breakpoint to a function and such but I always get the same error. When running there's no break. Please help! lldb: resolving breakpoints to locations If your out file doesn't have debugging symbols enabled for Code Generation Options then breakpoints likely can't be resolved to

How can the context menu in WKWebView on the Mac be modified or overridden?

限于喜欢 提交于 2019-11-30 11:37:46
I'm using a WKWebView in a Mac OS X application. I want to override the contextual menu that appears when the user Control + clicks or right clicks in the WKWebView , but I cannot find a way to accomplish this. It should be noted that the context menu changes depending on the state of the WKWebView and what element is under the mouse when the context menu is invoked. For example, the context menu only has a single "Reload" item when the mouse is over an "empty" part of the content, whereas right clicking a link presents the options "Open Link", "Open Link In New Window", and so on. It would be

Intel X86 emulator accelerator (HAXM installer) VT/NX not enabled

时间秒杀一切 提交于 2019-11-30 10:25:40
问题 I`m asking how to enable my VT/NX for my MacBook, when I try to use X86 emulator, it appears to me that VT/NX NOT ENABLED, it had never seem this when I used 10.9 system, after I update my MacBook to Yosemite, it appears to me. When I try to start my x86 emulator, it tells me: Starting emulator for AVD 'X86' emulator: ERROR: x86 emulation currently requires hardware acceleration! Please ensure Intel HAXM is properly installed and usable. CPU acceleration status: HAX is not installed on this

Eclipse: The specified JRE installation does not exist

落花浮王杯 提交于 2019-11-30 08:02:19
I used to have Eclipse configured well and work fine before. But I just uninstalled it and installed Eclipse Juno again on my Mac OS 10.10 today. But I kept getting this error: "The specified JRE does not exist." I know it's a pretty simple and commonly seen problem, I just needed to install JRE and/or JDK into this clean Eclipse, however things didn't get work out. And I've searched extensively on Stack Overflow: The posts I've looked at including: How to install JRE 1.7 on Mac OS X and use it with Eclipse? I followed exactly what the accepted answer said, but after having downloaded the JDK