Mac OS X binary #6

merged 5 commits into from Oct 23, 2012


None yet
6 participants

gibbonweb commented Oct 21, 2012

Only tested on 10.7.4, requires prior installation of fftw3 via Terminal. Still better than nothing I guess ;)

I tried the Mac OS Binary on 10.8 after installing FFTW with MacPort but it will crash at startup.

root$ ./SmartDeblur
dyld: Library not loaded: /Applications/QtSDK/Desktop/Qt/474/gcc/lib/QtXml.framework/Versions/4/QtXml
Referenced from: /Applications/
Reason: image not found
Trace/BPT trap: 5

Is the installation of QtSDK required to launch it ?


gibbonweb commented Oct 22, 2012

@lucdg yeah, I guess that's the case. As I said, this is a "quick&dirty" solution, I just compiled it on my computer, it worked, so I dropped it in a DMG and uploaded it.
Thanks @reidab, I will look into that! Do you know if it's possible to bundle fftw3 with that automatically?

It's actually quite easy to make it work, just install Macports and run: sudo port install fftw-3

Then download and install

And launch and it's done and working perfectly !

Ugh, not a fan of macports, alternatively a person can just download the fftw source and compile: (assuming a person has xcode installed).

Then install QT as suggested above.


Y-Vladimir commented Oct 22, 2012

In order to run SmartDeblur without QtSDK necessary to compile executable file and add libraries into folder where executable file located. See windows distrib as example - it contains both exe and dll files, for the mac version you need to add mac-libraries with the same name (OtXml, OtCore and so on).


gibbonweb commented Oct 23, 2012

@gorgejeff if you don't like macports, give homebrew a chance! It's a bit less intrusive, doesn't require sudo, installs in your /usr/local and doesn't mess up your general configuration.
Using homebrew, installing FFTW is easy:

brew update
brew install fftw

gibbonweb commented Oct 23, 2012

@Y-Vladimir I'm currently compiling a deployable 1.27 Mac OS X image.


gibbonweb commented Oct 23, 2012

So this pull request contains a Mac OS X disk image with the 1.27 binary:

disk image

which contains all necessary Qt framework components. It looks like this on Mac OS X:

splash screen

main window

FFTW still needs to be installed separately and I'm not experienced enough to figure out how to include it in a stable way. I could write an installation instruction for FFTW if needed though!

Y-Vladimir merged commit 2e6c176 into Y-Vladimir:master Oct 23, 2012


Y-Vladimir commented Oct 23, 2012

I could write an installation instruction for FFTW if needed though!

It will be good!

не могу скачать версию для Mac. Для Win скачивается. В чем проблема?


Y-Vladimir replied Mar 17, 2013

Because it's too big for http download.
But you can download all repository at
And get mac distrib there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment