Page 9 of 11

Re: Building Scan Tailor on OSX

Posted: 09 Mar 2011, 15:42
by Tulon
I checked it on Windows and 9pt is not acceptable there - it actually makes it bigger than the text directly above it. This means in order for it to get fixed, someone would have to write a patch that applies different values depending on the platform.

Re: Building Scan Tailor on OSX

Posted: 09 Mar 2011, 21:53
by jimboh
Strange. The text above it is 13 pts.

This is how the dialog appears when I change the font from 7 to 9 pts and recompile for OS X:
9pt.jpg
9pt.jpg (141.15 KiB) Viewed 9996 times
There must be a bug somewhere when the Windows version is created. Unfortunately, I have no idea where that might be.

Re: Building Scan Tailor on OSX

Posted: 10 Mar 2011, 00:58
by Tulon
On Windows, text next to checkboxes is 8pt, which is the default value. So no, you can't get away without platform-dependent code.

Re: Building Scan Tailor on OSX

Posted: 10 Mar 2011, 13:08
by rob
I just built 1.0.0beta10, and it looks OK to me. A bit on the small side, but I can read it. But jimboh's looks nicer!
scant.jpg
scant.jpg (13.1 KiB) Viewed 9982 times

Re: Building Scan Tailor on OSX

Posted: 28 Mar 2011, 15:06
by ibr4him
rob wrote:I just built 1.0.0beta10, and it looks OK to me. A bit on the small side, but I can read it. But jimboh's looks nicer!
scant.jpg
Can you please share the binary that you've built from the latest source?

Thanks!

Re: Building Scan Tailor on OSX

Posted: 12 May 2011, 22:52
by knappen
Thanks for the builds, guys.

Which one is the one to grab now, btw? I remember having trouble with the latest build I tried and having to choose an older one some months ago.

Something new coming soon, perhaps?

Will a Mac version be linked to the official page, Tulon?

Re: Building Scan Tailor on OSX

Posted: 30 May 2011, 04:16
by jimboh
Here is my build with the snapshot as of Sun, 29 May 2011 08:01:34 +0000. This one includes the patch that fixes the crash when we use the right mouse button to invoke the context menu over a picture zone. (That may not describe it perfectly, but that is what I have been doing when I see the crash.)

I forgot to increase the font size for this one. I will do so for the next one I build, after the next interesting snapshot.

Re: Building Scan Tailor on OSX

Posted: 30 May 2011, 11:38
by rob
Hey jimboh,

Questions: Does your build link to external libraries, or is it statically linked? Also, is it PPC, Intel or universal? 32-bit or 64-bit? I'm wondering if we can come up with a script that will build a universal, statically linked binary that will work no matter what on anyone's OSX box...

--Rob

Re: Building Scan Tailor on OSX

Posted: 30 May 2011, 15:08
by jimboh
rob, I cannot answer any of your questions because I am not a programmer. I simply follow the instructions for building on OS X with Xcode and MacPorts at http://sourceforge.net/apps/mediawiki/s ... d_Mac_OS_X

I don't know if this is relevant, but I have the following in my environment.plist:

-DCMAKE_LIBRARY_PATH=/opt/local/lib
-DCMAKE_INCLUDE_PATH=/opt/local/include
-DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac-devel/bin/qmake

With those settings, this is all I do:

cmake .
make
sudo make install

If it works for others, it works; if not, oh well. :roll:

Re: Building Scan Tailor on OSX

Posted: 30 May 2011, 19:19
by knappen
Thanks for this.

Forgive this stupid question: Is this not a build of the actual program?

I get a Terminal message when I open this saying:

"dyld: Library not loaded: /opt/local/libexec/qt4-mac-devel/lib/QtGui.framework/Versions/4/QtGui
Referenced from: /Applications/scantailor
Reason: image not found
Trace/BPT trap
logout"