osx-mountain-lion

Core Data, how do I open DataStore.sql in Mountain Lion Finder hidden Simulator folder w SQLite DB Browser?

一个人想着一个人 提交于 2019-12-13 03:38:39
问题 To bring some clearity to what's happening as I work with Core Data, I DL the free SQLLite Database Browser (SQLDBB). It worked fine to copy the db from the iOS simulators Documentsfolder into my desktop and then open it and browse db content just fine in SQLDBB. BUT Since the simulator library files are hidden in OSX Mountain Lion by default, I can't use the normal SQLDBBs Open-file dialog to open it. The file is here in my Mountain Lion Finder (used Finder > Go > "Go to folder" to get it);

C++ Hello World trouble on OSX10.8

前提是你 提交于 2019-12-13 02:23:16
问题 My profile is updated to point to what i think is the right location: PATH=${PATH}:/Applications/Xcode.app/Contents/Developer/usr/bin:${PATH} Compilers are found [11:39:32] ~: $ which g++ /Applications/Xcode.app/Contents/Developer/usr/bin//g++ [11:39:35] ~: $ which gcc /Applications/Xcode.app/Contents/Developer/usr/bin//gcc Hello world looks as follows #include <iostream> using namespace std; int main () { cout << "Hello World!"; return 0; } Fails to execute both from command line and

Installing rpy2 on Mac OSX 10.8.5

ε祈祈猫儿з 提交于 2019-12-13 00:43:32
问题 I'm trying to install rpy2 on Mac Mountain Lion (10.8.5) with pip: sudo pip install rpy2 and get the following error message: clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future] clang: note: this will be a hard error (cannot be downgraded to a warning) in the future error: command 'clang' failed with exit status 1 My python version is 2.7.2, R version is 3.2.1. In some posts I've read that I need to install Xcode and command line tools to

Get printf on Console.app

此生再无相见时 提交于 2019-12-12 17:36:31
问题 On Mac OS 10.7 I was able to see the printf of my application in Console.app. However it seems that it is not the case on 10.8. This SO answer is mentioning that Console can be sandboxed and that you can change this by editing the plist of syslod. However, the plist format seems to be different on 10.8 and I did not find anything relate to sandbox. Does anyone knows if there is a way to change this. Thanks in advance. Kevin 来源: https://stackoverflow.com/questions/17671299/get-printf-on

Getting Matlab's mex to work with xcode 4.4 on Mountain Lion

一个人想着一个人 提交于 2019-12-12 14:56:34
问题 I recently bought a new computer that came with Mountain Lion (OS 10.8). I'd like to start working with mex files on this machine, but I'm having a hard time getting 'mex -setup' to find any compilers. Specs: Mountain Lion 10.8 Matlab 2012a XCode 4.4 I noticed that matlab has released a patch for XCode 4.2, and 4.3. I also realize that XCode 4.4 (and Mountain lion, for that matter) is not officially supported by Matlab. As far as I can tell, there is not a way to install 4.3 on Mountain Lion.

pjsua: unable to import pjsua python module

旧时模样 提交于 2019-12-12 13:40:31
问题 I'm getting the below error while trying to import python module pjsua. I have Mac OS 10.8.1 version. I verified the solution provided in http://www.darrensessions.com/?p=292 and the solution seemed to have fixed this issue in MacOS-10.7. Seems like this is broken again for MacOS-10.8. I did not got any errors when compiling the code. Only get the below error when importing PJSUA module. >>> import pjsua Traceback (most recent call last): File "<stdin>", line 1, in <module> File "pjsua.py",

GCC-4.2 error on Mac OS-X Mountain Lion, unable to install some packages with pip / virtualenv

℡╲_俬逩灬. 提交于 2019-12-12 08:23:28
问题 I'm seeing a very annoying bug that I don't really know how to deal with. It seems to be pretty common, and I've tried nearly every solution that I could find to no avail. I'm trying to install libraries using pip. This problem was encountered with gevent, with psycopg2, and with greenlet. The issue seems to be that my computer can't find a particular C compiler that should come up with XCode 4: gcc-4.2. Here's an example (though attempts were made in a virtualenv as well). Last login: Sun

Sign java applet so that it works on OS X 10.8 Mountain Lion and Windows

℡╲_俬逩灬. 提交于 2019-12-12 06:37:16
问题 I develop an Java Applet that needs to break out of the sandbox so it is signed by a certificate from a trusted CA (Thwate). This has worked well on OS X, Windows and Linux. Now with OS X 10.8 (Mountain Lion) I have this issue: OS X 10.8 Gatekeeper and Java applets It seams like OS X 10.8 require a signed applet to be signed with an Apple Developer ID Certificate. My question is: If I change so that the applet is signed by a Apple Developer ID Certificate will this also work on windows/linux

Mountain Lion install rvm ree-1.8.7

一笑奈何 提交于 2019-12-12 05:48:57
问题 I tried following this other answer, but I get the following problems: $ export CPPFLAGS=-I/opt/X11/include $ CC=/usr/local/bin/gcc-4.2 rvm reinstall ree-1.8.7 /Users/username/.rvm/src/ree-1.8.7-2012.02 has already been removed. /Users/username/.rvm/rubies/ree-1.8.7-2012.02 has already been removed. No binary rubies available for: osx/10/x86_64/ree-1.8.7-2012.02. Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies. You requested building with '/usr

Virtualenv in Mac OSX -bash: command not found issue

家住魔仙堡 提交于 2019-12-12 03:29:33
问题 I'm having a really hard time trying to use virtualenv on Mac OSX Mountain Lion. I installed XCode, python2.7 with Homebrew and virtualenv + virtualenvwrapper using sudo PIP. I've added usr/local/share/python to my $PATH and also followed the advice given on this site: http://hackercodex.com/guide/python-virtualenv-on-mac-osx-mountain-lion-10.8/ and edited my ~/bashrc accordingly. But when I run virtualenv ENV I get: -bash: virtualenv: command not found I've been through steps outlined in a