Building Scan Tailor on OSX

Scan Tailor specific announcements, releases, workflows, tips, etc. NO FEATURE REQUESTS IN THIS FORUM, please.

Re: Building Scan Tailor on OSX

Postby Tulon » 09 Mar 2011, 15:42

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.
When Scan Tailor asks you to enter DPIs manually, never enter arbitrary values. The video tutorial shows how to estimate the real DPI.
Tulon
 
Posts: 551
Joined: 03 Oct 2009, 06:13
Location: London, UK

Re: Building Scan Tailor on OSX

Postby jimboh » 09 Mar 2011, 21:53

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 1745 times


There must be a bug somewhere when the Windows version is created. Unfortunately, I have no idea where that might be.
User avatar
jimboh
 
Posts: 82
Joined: 06 Jan 2011, 00:55

Re: Building Scan Tailor on OSX

Postby Tulon » 10 Mar 2011, 00:58

On Windows, text next to checkboxes is 8pt, which is the default value. So no, you can't get away without platform-dependent code.
When Scan Tailor asks you to enter DPIs manually, never enter arbitrary values. The video tutorial shows how to estimate the real DPI.
Tulon
 
Posts: 551
Joined: 03 Oct 2009, 06:13
Location: London, UK

Re: Building Scan Tailor on OSX

Postby rob » 10 Mar 2011, 13:08

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 1731 times
The Singularity is Near. ~ http://halfbakedmaker.org ~ Follow me as I build the world's first all-mechanical steam-powered computer.
User avatar
rob
 
Posts: 773
Joined: 03 Jun 2009, 13:50
Location: Maryland, United States

Re: Building Scan Tailor on OSX

Postby ibr4him » 28 Mar 2011, 15:06

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!
ibr4him
 
Posts: 102
Joined: 18 Oct 2010, 10:36

Re: Building Scan Tailor on OSX

Postby knappen » 12 May 2011, 22:52

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?
knappen
 
Posts: 35
Joined: 29 Jul 2010, 20:21

Re: Building Scan Tailor on OSX

Postby jimboh » 30 May 2011, 04:16

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.
Attachments
scantailor.zip
(1.21 MiB) Downloaded 95 times
User avatar
jimboh
 
Posts: 82
Joined: 06 Jan 2011, 00:55

Re: Building Scan Tailor on OSX

Postby rob » 30 May 2011, 11:38

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
The Singularity is Near. ~ http://halfbakedmaker.org ~ Follow me as I build the world's first all-mechanical steam-powered computer.
User avatar
rob
 
Posts: 773
Joined: 03 Jun 2009, 13:50
Location: Maryland, United States

Re: Building Scan Tailor on OSX

Postby jimboh » 30 May 2011, 15:08

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:
User avatar
jimboh
 
Posts: 82
Joined: 06 Jan 2011, 00:55

Re: Building Scan Tailor on OSX

Postby knappen » 30 May 2011, 19:19

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"
Last edited by knappen on 30 May 2011, 19:26, edited 1 time in total.
knappen
 
Posts: 35
Joined: 29 Jul 2010, 20:21

PreviousNext

Return to Scan Tailor

Who is online

Users browsing this forum: No registered users and 0 guests