ScanTailor for OSX is here
Moderator: peterZ
Re: ScanTailor for OSX is here
Here's the terminal output when run from the brew version:
"Assertion failed: (m_outRect.contains(m_contentRect.topLeft()) && m_outRect.contains(m_contentRect.bottomRight())), function OutputGenerator, file /tmp/homebrew-scantailor-0.9.11-Q5RW/scantailor-0.9.11/filters/output/OutputGenerator.cpp, line 253.
Abort trap: 6"
-F...
"Assertion failed: (m_outRect.contains(m_contentRect.topLeft()) && m_outRect.contains(m_contentRect.bottomRight())), function OutputGenerator, file /tmp/homebrew-scantailor-0.9.11-Q5RW/scantailor-0.9.11/filters/output/OutputGenerator.cpp, line 253.
Abort trap: 6"
-F...
Re: ScanTailor for OSX is here
Let's start from the project file - that might be anough. So, zip up the *.ScanTailor project file (don't zip any images), put it on depositfiles.com or a similar site, post the link here. Also tell me which page this happens on.
Scan Tailor experimental doesn't output 96 DPI images. It's just what your software shows when DPI information is missing. Usually what you get is input DPI times the resolution enhancement factor.
Re: ScanTailor for OSX is here
Here's the link:
http://depositfiles.com/files/ffs40o9sf
Included are several saves of the same project.
To give more detail:
Everything works up until I try to generate output in the last step. The moment I click the "play" button to automate, it pauses and then crashes, always giving this result in the terminal:
Assertion failed: (m_outRect.contains(m_contentRect.topLeft()) && m_outRect.contains(m_contentRect.bottomRight())), function OutputGenerator, file /tmp/homebrew-scantailor-0.9.11-Q5RW/scantailor-0.9.11/filters/output/OutputGenerator.cpp, line 253.
Abort trap: 6
silverbox:~ feliks$
Thanks,
-F...
http://depositfiles.com/files/ffs40o9sf
Included are several saves of the same project.
To give more detail:
Everything works up until I try to generate output in the last step. The moment I click the "play" button to automate, it pauses and then crashes, always giving this result in the terminal:
Assertion failed: (m_outRect.contains(m_contentRect.topLeft()) && m_outRect.contains(m_contentRect.bottomRight())), function OutputGenerator, file /tmp/homebrew-scantailor-0.9.11-Q5RW/scantailor-0.9.11/filters/output/OutputGenerator.cpp, line 253.
Abort trap: 6
silverbox:~ feliks$
Thanks,
-F...
Re: ScanTailor for OSX is here
Can you also post the original file corresponding to a page where it crashes?
Scan Tailor experimental doesn't output 96 DPI images. It's just what your software shows when DPI information is missing. Usually what you get is input DPI times the resolution enhancement factor.
Re: ScanTailor for OSX is here
Hi, I am using Lion with the Feb 2012 command line tools for Xcode. I installed homebrew today and typed "brew install scantailor" and got the following message:
I tried 0.9.11 and 0.9.10 and both produce the same error. Probably just have to update some library to do with matrix calculations but I don't know how? Can anybody help me? Thanks!
Code: Select all
In file included from /tmp/homebrew-scantailor-0.9.10-CGMP/scantailor-0.9.10/math/HomographicTransform.h:23:
/tmp/homebrew-scantailor-0.9.10-CGMP/scantailor-0.9.10/math/MatrixCalc.h:127:10: error: calling a private constructor of class 'mcalc::Mat<double>'
return mcalc::Mat<T>(&m_alloc, data, rows, cols);
^
/tmp/homebrew-scantailor-0.9.10-CGMP/scantailor-0.9.10/dewarping/DistortionModelBuilder.cpp:516:5: note: in instantiation of member function 'MatrixCalc<double, mcalc::DynamicPoolAllocator<double> >::operator()' requested here
mc(&At[0], 2, polyline_size).transWrite(&A[0]);
^
/tmp/homebrew-scantailor-0.9.10-CGMP/scantailor-0.9.10/math/MatrixCalc.h:107:2: note: declared private here
Mat(AbstractAllocator<T>* alloc, T const* data, int rows, int cols)
^
1 error generated.
Re: ScanTailor for OSX is here
Ok I managed to get it to compile. If anyone else has the same problem, here is what I did to fix it. In matrixCalc.h line 107, I moved the "private:" down a few lines under the Mat declaration thingy.... so Mat becomes public. Anyway it compiled and works, so..... I'm happy for now. Maybe I'm just using the wrong compiler or something but at least it works for me.
-
- Posts: 97
- Joined: 18 Oct 2011, 16:05
Re: ScanTailor for OSX is here
Scan Tailor compiled 100% fine for me yesterday, but I'm using GCC 4.6.2 on Linux. What compiler were you using?
Re: ScanTailor for OSX is here
The way errors are formatted suggests it's not gcc but clang. If true, I have to say I am quite impressed with the progress clang made over the last year. Still, it did misinterpret a template friend declaration.
I believe Xcode ships both gcc and clang and there should be a way to switch between the two.
I believe Xcode ships both gcc and clang and there should be a way to switch between the two.
Scan Tailor experimental doesn't output 96 DPI images. It's just what your software shows when DPI information is missing. Usually what you get is input DPI times the resolution enhancement factor.
Re: ScanTailor for OSX is here
gcc --version shows "i686-apple-darwin11-llvm-gcc-4.2" This seems to be what comes with Xcode command line tools, which is what homebrew says to install..... Should I be using something else?
-
- Posts: 97
- Joined: 18 Oct 2011, 16:05
Re: ScanTailor for OSX is here
Sorry, my bad. I didn't realize you were using Clang. I tried it with Clang 3.0 and got the same errors.
Tulon, is it a problem to change those matrix class properties from Private to Public in the source code?
Tulon, is it a problem to change those matrix class properties from Private to Public in the source code?