snow-leopard

Building for Mac OS 10.6 results in error "In [..]/libZonicKRM.a, missing required architecture x86_64 in file"

I'm updating application for Mac OS X 10.6 and getting this error. I believe that means Kagi/Zonic KRM module doesn't support 64-bit? So I can't build my app as 64-bit, right? Is there anyone who use Zonic KRM under Snow Leopard?.. ...

CakePHP: Can't access MySQL database

I'm new to CakePHP and am just running through the configuration process, but am stumped why Cake can't access my MySQL database. The Cake info page says my tmp directory is writable, the FileEngine is being used for caching (don't know what this means), and my database configuration file is present, but that CakePHP cannot connect to th...

xcode clean failed

Both my iPhone projects are sometimes giving a "build failed" error with no explanation of what the error is, and then a "clean failed" when I try to do a clean. I tty emptying the xcode cache but that doesn't seen to help. What normally clears it is re-starting my Mac. However, that has just failed to work. Has anybody else experienced...

API for showing free/busy time in iCal (Apple guys?)

In Snow Leopard there is a possibility to show free/busy time in iCal event. I've searched the headers of CalStore.framework and couldn't find any property that describes this field. How can i retrieve free/busy property of calendar event? Thanks a lot, Nava ...

MySQL extremely slow under Snow Leopard

Hi. I've installed MySQL 5.1.40 Source distribution (64-bit executable x86_64) following these instructions by Hivelogic and the mysql (2.8.1) gem using ARCHFLAGS="-arch x86_64" . I'm using it for Ruby on Rails development and my problem is that even if MySQL is working in every way, it is extremely slow. Take this comparison with sql...

How to make a custom NSFormatter work correctly on Snow Leopard?

I have a custom NSFormatter attached to several NSTextFields who's only purpose is to uppercase the characters as they are typed into field. The entire code for my formatter is included below. The stringForObjectValue() and getObjectValue() implementations are no-ops and taken pretty much directly out of Apple's documentation. I'm usin...

How to get blocks/grand central dispatch working in Snow Leopard

How do I get blocks/grand central dispatch working in Snow Leopard? It appears that the library is not installed by default: when I try to do #include <dispatch/dispatch.h>, I get a library not found error. I have tried making the source I found here: http://libdispatch.macosforge.org/ but it generated an error (internal.h:99:27: error:...

postgis environments changed with macport selfupdate

Last month I've installed PostgresSql 8.4.1 and Postgis 1.4 via macports on my Mac with Leopard(10.5), and everything just worked fine. I then updated to Snow Leopard(10.6) and still everything was working fine. Yesterday I've tried to install Gimp with macports, the installation failed. So I did a "port selfupdate" which seemed to destr...

Finder Plugin in Snow Leopard

Hi, Since the Finder in Snow Leopard has been rewritten to use Cocoa instead of Carbon, I'd like to know if there's a new API to write Finder plugins. The old way involved writing a CFPlugin but this doesn't seem to work anymore. ...

Java Random Slowdowns on Mac OS

I have a Java program for doing a set of scientific calculations across multiple processors by breaking it into pieces and running each piece in a different thread. The problem is trivially partitionable so there's no contention or communication between the threads. The only common data they access are some shared static caches that don...

Change Screen Resolution in Snow Leopard

I've been plugging away at this for a few hours now, and haven't found a good answer. In Leopard, I can programmatically change the screen resolution using Quartz Display Services with CGConfigureDisplayMode. Unfortunately, this has been deprecated in 10.6. This seems like a simple task: how can I change the screen resolution with non-d...

how to install openVRML in Snow Leopard ?

I have tried macports: port install openvrml Also tried fink (with unstable tree configuration) fink install openvrml6-xembed-dev and both failed. Also tried downloading the source form Sourceforge and don't know what do with those sources. OpenVRML from sourceforge should I run just do this? : ./configure make Any help is ver...

"Launch Failed. Binary Not Found." Snow Leopard and Eclipse C/C++ IDE issue.

Not a question, I've just scoured the internet in search of a solution for this problem and thought I'd share it with the good folks of SO. I'll put it in plain terms so that it's accessible to newbs. :) (Apologies if this is the wrong place -- just trying to be helpful.) This issue occurs with almost any user OS X Snow Leopard who trie...

Menu of app in Status Bar wont work on Snow Leopard

I have an application that sits in the status bar on the Mac. It has a menu that lets you look at the app version, change some settings and quit the app. I built it on Leopard and it works fine on Leopard. On Snow Leopard, I can see the app in the status bar and clicking on it shows the menu items. But clicking items in the menu doesn'...

Compiling Bochs on Mac os x Snow Leopard

Hi there, Was someone able to compile the Bochs simulator under Snow Leopard. Leopard worked fine for me but under Snow Leopard I get alot of problems related to the Carbon library... Ok, some more information was request. I compile with make on the shell; stanard build process coming with the bochs sources I was successfully able to ...

mysql gem looking for an earlier version of libmysqlclient.16.dylib

I just upgraded to Mac OSX Snow Leopard, and recompiled mysql (5.1.39) with the Snow Leopard XCode. I also reinstalled the latest mysql gem. Now, when running rake db:migrate in a rails app, I get dyld: NSLinkModule() error dyld: Library not loaded: /usr/local/mysql/lib/libmysqlclient.15.dylib Referenced from: /usr/local/lib/ruby/...

SnowLeopard Xcode warning: "format not a string literal and no format arguments"

Since upgrading to the latest XCode 3.2.1 and SnowLeopard, I've been getting the warning, "format not a string literal and no format arguments" on the following: NSError *error = nil; if (![self.managedObjectContext save:&error]) { NSLog([NSString stringWithFormat:@"%@ %@, %@", errorMsgFormat, error, ...

Eclipse Doesn't Find Java On Snow Leopard

I have Cocoa 64-bit Galileo Eclipse installed on snow leopard. For some reason all my java is underlined in red, even standard java library functions. When i try to add a jre it tells me "Standard VM not supported on MacOS." I've even tried installing the 1.5 java sdk and still doesn't work. I also get Unhandled Loop Exceptions. I've tri...

OpenVRML in snow-leopard (from macports)

Hey, I just Downloaded openvrml from macports (port install openvrml) Now I have a Sample program (pretty_print.cpp from openvrml at sourceforge) that begins like this: # ifdef HAVE_CONFIG_H # include <config.h> # endif # include <openvrml/vrml97_grammar.h> # include <openvrml/browser.h> # include <fstream> ... then in Xcode, I add...

Setting the mosue tracking speed via applescript

...