according to this page http://wiki.videolan.org/Mac%5FOS%5FX%5FFramework
i build the core components complete but when i try to build framework it have an error
How could i fix it?
Build VLCKit of project VLCKit with configuration Debug
PhaseScriptExecution "Run Script" build/VLCKit.build/Debug/VLCKit.build/Script-EF78BD2E0CAEEF95003...
I am trying to trap drag and drop events from the standard Apple address book app to my Qt app. This code works fine with Qt 4.4. on Mac OS X 10.4:
void
MyView::contentsDropEvent( QDropEvent* e )
{
QList<QUrl> urls = e->mimeData()->urls();
...
I can then use the URL to get the vCard. Marvellous.
But from Mac OS X 10.5 the ap...
Hi,
I would like to be able to change the OSX services that my application provides based on the current user's preferences (like adding more, changing the name,...). This basically means modifying the Info.plist (NSService key), but I don't think it is a good practice when an application modifies its own Info.plist while running, right...
When I evaluate (use 'hello) to load hello.clj, the REPL complains with the following error:
java.io.FileNotFoundException: Could not locate hello__init.class or hello.clj on classpath: (NO_SOURCE_FILE:0)
I'm invoking the REPL like this:
java -cp "/Library/Java/Extensions/servlet-api-2.5-20081211.jar:... lots of jarfiles ...:/Librar...
I am learning mysql and ran into a problem with 'mysql.proc' missing when trying to create a stored procedure. mysql version 5.1.41.
I read that running the script 'mysql_fix_privilege_tables' is supposed to fix the previous error. I am getting a strange side effect... my root password is no longer good anymore when I run this script ...
I've tried two different ways to return a list of network interfaces in OS X:
SCNetworkInterfaceCopyAll()
and the other way was to grab everything in the dynamic store key "Setup:/Network/Service/.*/Interface" and then return the interfaces that have a kSCPropNetInterfaceDeviceName key.
Each way returns slightly different interfaces....
I have an IKImageBrowserView that I want to be able to pinch-zoom using a multi-touch trackpad on a recent Mac laptop.
The Cocoa Event Handling Guide, in the section Handling Gesture Events says:
The magnification accessor method returns a floating-point (CGFloat) value representing a factor of magnification
..and goes on to show ...
The project is developed using ASP.NET MVC framework and heavily relies on .NET 3.5.
What would be the best solution to allow a web designer, who is using OSX, to develop the site's UI? Basically he would just need to edit the aspx, css and js files, but also run the web application locally.
I've thought of some possibilites:
Install...
On my Mac OS X computer, I am trying to setup a script that will open a particular program ( Visual Studio ) that resides within VMWare.
More specifically, when I run the script, I want Visual Studio application to open a specific file that would passed in as a parameter to the script. This file would be shared and accessible to VS.
A...
I have installed the developer tools. I can compile code via Xcode and according to the docs /usr/bin/gcc & /usr/bin/cc should point to /usr/bin/gcc-4.0. Neither the symlinks or gcc-4.0 exist on my system (Snow Leopard). All I wish to do is compile some C on the terminal! I'm amazed by how complicated this task is. The command GCC is uns...
I'm trying to hide the Terminal when I launch a GUI Tkinter based app, but when I double click the app.py file on OSX, the Terminal window appears. I've tried changing the extension to .pyw and tried launching it with /usr/bin/pythonw, but no matter what, the Terminal window still appears.
I've even tried adding the try/except below,...
This is the first time I've ever touched python, I'm trying to use a library 'cairo', but have been unable to import it getting the message
Python 2.6.4 (r264:75821M, Oct 27 2009, 19:48:32)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import cairo
Traceback (mo...
This makes debugging incredibly difficult.
For example:
Nov 25 14:32:34 Joseph-Rodriguezs-MacBook rails[5167]: NoMethodError (You have a nil object when you didn't expect it!You might have expected an instance of Array.The error occurred while evaluating nil.replace): app/models/service_item.rb:560:in `send_proposal_email' app/model...
I am using QuickTime for Java to display video within a Java desktop application. Everything works fine when this application is built as a jar file, but for some reason when I use this maven plugin to package the application to look like a native OSX application bundle, the following code:
try {
QTSession.open();
} catch (Throwable t...
Hi,
My client has given me a custom TTF font only for English. So my intention is to load that TTF only for English and for other languages it should fallback to the available System font.
I am doing the following steps:
Registering fonts with my app.
Copying into Resources folder and add to my project.
Loading the font with name.
N...
I'm looking for an API (or some information as to where to look/start) that will ultimately allow me to monitor sound being played by the computer.
My end goal (well, certain to eventually be a stepping-stone) is an oscilloscope.
Where should I begin to look (aside from Google, which has yielded unsatisfactory results) to learn more a...
I love the GPL as much as the next guy, but it should help to share code, not prevent to do it.
I am currently in a situation where I have to provide a python free from GNU readline, which is GPL, otherwise it would turn all my python GPL, something I don't want (I'm going BSD here).
I tried to look around for both mac and linux. On mac...
when i'm calling the below function in a time interval of 1 second, it would cause Not Responding in Activity Monitor, anyone can tell me why and suggest a solution?
NSWorkspace* workspace = [NSWorkspace sharedWorkspace];
NSDictionary* currentAppInfo = [workspace activeApplication];
//get the PSN of the current app
UInt32 lowLon...
I've been building a basic Cocoa application with Core Data and Interface Builder, and no extra coding, frameworks, or header files. I sent it to someone to test on their machine (a last-gen G5 iMac), and they got a message saying that their machine couldn't run it. I discovered the switch to compile for PPC, so I built a PPC version o...
How do you check if a process on Mac OS X is running using the process's name in a Bash script?
I am trying to write a Bash script that will restart a process if it has stopped but do nothing if it is still running.
...