osx-mavericks

Eclipse not Launching in OS X Mavericks? (Not a single bounce or error message!)

拜拜、爱过 提交于 2019-12-06 17:24:00
问题 When I try launching Eclipse in Mavericks it does nothing. Neither activity monitor nor console reflect my attempt to launch it in anyway. The icon doesn't bounce. No errors show up. No error sound. Just nothing. I have a few other programs exhibiting these same symptoms, such as NetExtender. This is on a 2012 MBP (non Retina) with the version of Mavericks that was released to everyone through the MAS on October 22nd, 2013 (build 13A603... OS X 10.9.0). Eclipse is version 4.3 NetExtender is

lldb: Couldn't materialize: couldn't get the value of variable

半腔热情 提交于 2019-12-06 16:36:53
问题 I have compiled a cpp file with this command line: g++ -g test.cpp It throws an exception at line 28. I want to investigate the cause by inspecting the variables in lldb. I set a break point at line 28 and run the a.out in lldb. (lldb) n Process 84233 stopped * thread #1: tid = 0xa44b86, 0x00000001000017fb a.out`say(s=<unavailable>) + 987 at so.cpp:28, queue = 'com.apple.main-thread', stop reason = step over frame #0: 0x00000001000017fb a.out`say(s=<unavailable>) + 987 at so.cpp:28 25 } 26

RVM requirements error

拥有回忆 提交于 2019-12-06 12:04:21
I have OS X Mavericks installed and I'm trying to run rvm requirements in terminal and it gives me this error. Installing required packages: autoconf, automake, libtool, pkgconfig, libyaml, libffi, readline, libksba, curl-ca-bundle, gdbm............. Error running 'requirements_osx_port_libs_install autoconf automake libtool pkgconfig libyaml libffi readline libksba curl-ca-bundle gdbm', please read /Users/Alex/.rvm/log/ruby-1.9.3-p448/1374263757_package_install_autoconf_automake_libtool_pkgconfig_libyaml_libffi_readline_libksba_curl-ca-bundle_gdbm.log Requirements installation failed with

Getting SSL error when attempting to clone a Stash repository

血红的双手。 提交于 2019-12-06 12:00:26
问题 I'm attempting to clone a git repository hosted in Stash, but having no luck. I get the following error: fatal: unable to access 'https://xxx@stash.xxx.com/scm/yyy/yyy.git/': SSL certificate problem: Invalid certificate chain I confirmed that I have access to the repository by logging into Stash and viewing it through my browser. I also loaded the private key for that repository using ssh-add . 回答1: Solved it! (With a little help from this question, but a slightly different solution.) Browse

Eclipse does not recognize Java 7 on Mavericks, can't find jdk.1.7.0_51 to fix issue

前提是你 提交于 2019-12-06 11:17:33
Now, the problem of not being able to use Java Development Kit 7 with eclipse on Mac computers seems to be a problem a lot of people have. After digging around, I found what seemed to be a widely accepted solution here: Eclipse Kepler for OS X Mavericks request Java SE 6 The problem is, there are no files in /Library/Java/JavaVirtualMachines. I enabled hidden files but still found nothing. I looked around for more solutions, but they all seem to involve the jdk.1.7.0_xx file. I have tried reinstalling java (downloaded from the java site) multiple times but no files appear. Now, I could try

Matlab on macbook pro, retina

耗尽温柔 提交于 2019-12-06 11:06:55
Hi I recently bought a macbook pro and just installed matlab 2013b. I have a retina display, but the resolution of matlab itself when I run it, it does not look very nice, it's almost blurry and pixelated. Does anyone else have a similar issue and is there a way to fix this? Matlab 2013b uses it's own version of Java, rather than the OS X version (which is not installed by default). If you install the latest version of Java for the OS, and then replace Matlab's version, it should fix some of the problem: the text will be optimized for Retina, but the image still won't be. The commands to

C++ Parse Binary plist

折月煮酒 提交于 2019-12-06 10:53:31
问题 I am writing a program in c++ that will need to parse binary plists. XML parsing is not a problem, so I was thinking I could convert the binary plist to XML and then parse that. Is there a way to do this natively in c++? I know that apple's plutil has this capability but executing that from within the program seems like bad practice. I am running the latest version of OS X (10.9) 回答1: Assuming you want to do this on an apple platform You can use CFPropertyListCreateFromStream,

Mamp 3 - apache won't start on port 8888

依然范特西╮ 提交于 2019-12-06 09:17:42
问题 Running Mavericks and I just upgraded to Mamp 3. I can't get apache to start using the default port of 8888. Runs fine on port 80, and all ran smoothly using Mamp 2. Restarting Apache using SUDO doesn't work. I used "sudo apachectl stop" but this had no effect. Error logs show nothing. when I switch to port 80 and MySQL port 3306, it all starts, but I don't want it to use port 80. Thanks. 回答1: i have found this solution it worked for me i hope it helps you : Just navigate to /Applications

How to suppress / automatically dismiss error dialog in AppleScript

落花浮王杯 提交于 2019-12-06 07:49:44
问题 I have background process running as the logged on user that frequently tries to mount an AFP share to backup some data. If the share cannot be mounted this should just be ignored. In my script (bash, actually) I am mounting the share via an AppleScript mount volume snippet. In contrast to the mount or mount_afp commands, this appears to be the only way to automatically authenticate the user at the respective server with credentials from the Kerberos ticket or the user's keychain. In

What can make nanosleep drift with exactly 10 sec on mac OS X 10.9

南笙酒味 提交于 2019-12-06 07:06:59
问题 A part of my program need to sleep for 10 milliseconds. Normally I use the boost lib for this, but it sometimes sleep for 10010 milliseconds, so I tried replacing boost::this_thread::sleep_for(boost::chrono::milliseconds(read_delay_ms)); with struct timespec a; a.tv_sec = 0; a.tv_nsec = read_delay_ms * 1000000; int rc = nanosleep( &a, NULL ); Not surprisingly the use of nanosleep also sometimes sleep for 10010 milliseconds (sleep_for is implemented using nanosleep() on mac). My program is