snow-leopard

Using openCV staticly on Snow Leoaprd

I am using snow leopard and I am trying to build my app with static libraries... I was able to build opencv with static libraries by changing build_shared_libs to "no" This generated a bunch of .a files (including pch_dephelp.a" files) First off, I don't know what pch_dephelp.a files are (e.g. libcv_pch_dephelp.a) When I tried to com...

How to get started with D on Mac OS X 10.6 (Snow Leopard)

I've been more or less interested in "D" for a couple years now and recently decided to start actually playing with it. I've been able to grasp the basics quite easily and I completely love the basic feature set of the language and the more I read about it, tho more impressed I get. Now, I'm very interested in writing a custom web appli...

What's the perror() equivalent for error codes in OpenCL?

If I have something like: err = clEnqueueReadBuffer(cmdQueue, output, CL_TRUE, 0, sizeof(float) * data_sz, &results, 0, NULL, NULL); I'd like to do: if (err != CL_SUCCESS){ perror("Read Failed!"); } But the error constants like "CL_HOST_OUT_OF_MEMORY" and the like are (understandably) not known to perror(). I could go around g...

iPhone team dev, do we all need the same OS?

I´m just starting iPhone development with a small team of (really young and naive) colleagues, we all are fairly new to OS X, my question is: If we are planning to develop for every iPod Touch/iPhone out there (not the iPad, I read that thing requires Snow Leopard), what problems will we encounter when sharing code (and making commits) ...

Detecting when a space changes in Spaces in Mac OS X

Let's say I want to write a simple Cocoa app to make the Spaces feature of Leopard more useful. I would like to configure each space to have, say, different *screen resolutions *keyboard layouts *volume (for audio) So there are two parts to my question: 1) I suppose there are ways to modify these three things independently of Spaces, r...

How should I use a help: URL in a Snow Leopard .help bundle?

I'm writing the help book for my application. As required, I have the CFBundleHelpBookName and CFBundleHelpBookFolder keys in my app's info.plist, and I'm using the new Snow Leopard .help bundle format for the help book. The various keys in Rehearsals.help/Contents/Info.plist are all populated as per the Apple Help Programming Guide. As ...

How to get path to the installed GIT in Python?

I need to get a path to the GIT on Max OS X 10.6 using Python 2.6.1 into script variables. I use this code for that: r = subprocess.Popen(shlex.split("which git"), stdout=subprocess.PIPE) print r.stdout.read() but the problem is that output is empty (I tried stderr too). It works fine with another commands such as pwd or ls. Can any...

Is there a simple way to get image dimensions in Ruby?

I'm looking for an easy way to get width and height dimensions for image files in Ruby without having to use ImageMagick or ImageScience (running Snow Leapard). ...

Snow Leopard sqlite3-ruby install problem

UPDATE 3/20/10 I'm running Mac OSX Snow Leopard, this problem is caused by a recent train wreck in which I updated ruby without RVM. I've attempted to properly install/run RVM, however I can't get it to work. I am unable to install the sqlite3-ruby gem. I get the following ERROR: Error installing sqlite3-ruby: ERROR: Failed to bui...

Programmatically Installing Fonts

How could I programmatically install a font on the Mac platform (Snow Leopard)? What steps would I need to follow? I would like for the user to input a font file, then my software installs it. ...

Installing unpacked ruby gem.

Hey there, I am trying to install the cairo ruby gem on OSX 10.6. There seems to be a bug in the extconf.rb, which I've patched, but now I don't know how to create a gem, so I can install it... gem build folder won't work because there is no gemspec file or whatever (I've got absolutely no experience with gems^^), and gem install wants ...

Problem running gems in OS X

I'm running Snow Leopard, and installed a custom built Ruby according to the guide here: http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard . My ruby binary lives in usr/local/bin/ruby and my gems are installed in /usr/local/bin/gem . My gem env looks like so: RUBY VERSION: 1.8.7 (2008-08-11 patchlevel ...

Anyone realize success using Apple Mac OS 10.6 and Parallels 5 for a Visual Studio Dev machine?

Greetings my wonderful StackOverflow family :) I grew up using Windows and switched to OSX as a Computer Science major in College. I've recently started my first real software developer job, and have a ThinkPad and Windows XP for developing ASP.NET / MS SQL applications (Visual Studio 2008). Question: Basically, I am wondering if any...

Which Scheme for Mac OS X Snow Leopard has the best support?

There are a bunch of different Scheme interpreters available for the Mac: http://www.dmoz.org/Computers/Programming/Languages/Lisp/Scheme/Implementations/ Which one is generally supported the best? I'm also interested in 64-bit support and multi-core/processor support. ...

Invalid Memory Acess for JavaFX ScrollBar on Snow-Leopard

I created the following JavaFX script, which when run, generates an Invalid memory access on Snow-Leopard. What is it about javafx.scene.control.ScrollBar that is causing a memory failure? Stage { title: "Scroll View" scene: Scene { content: [ ScrollBar { min: 0 max: 100 ...

ImageMagick on Mac OSX Snow Leopard. Is there any way to get it to compile and run?

It seems that I have more trouble getting standard Unix things to run on Snow Leopard than any other platform--including Windows cygwin For the past couple of days, I've been trying to get ImageMagick to run on Snow Leopard. The most obvious way, Mac Ports, fails: tppllc-Mac-Pro:ImageMagick-sl swirsky$ sudo port install imagemagick --...

VisualVM can't connect to any PID on Snow Leopard?

No matter what I start up, Visual VM just gives me "Unknown Application" and "Not supported for this JVM" on my Mac. I've tried JBoss, Jetty, Eclipse - just to see if it would be able to identify / profile anything, and so far, nada. $ java -version java version "1.6.0_17" Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-10M302...

Howto: install JOGL for Eclipse in Mac OSX 10.6?

I got Snow Leopard 64 bit, and I'm wondering how I am to install JOGL in order to develop with Eclipse. A nice tut from A-Z would have been nice, since I'm suspecting some of my steps are very wrong. ...

SIMBL Plugin problem in Snow Leopard

Hi all I am trying to develop a Sagari plugin using SIMBL. I need to detect the page load event in order to block some website. I started from a PithHelmet 0.7.2. source code (http://www.culater.net/software/PithHelmet/PithHelmet.php). My plugin works fine in Leopard, but i have this error in snow leopard (the plugin is already compiled...

Using XAMPP Install of MySQL with Netbeans 6.8/MySQL Workbench

All, For all of this I am using Mac OSX Snow Leopard. I have happily used XAMPP to develop PHP backed sites in the past with no problems(as you'd expect for such a simple to set up package). I am now trying to set up this MySQL install in Netbeans 6.8 (for now just trying to get a sample database backed webapp to run). My issue is tha...