Building ST windows executable
Moderator: peterZ
Building ST windows executable
Hi,
Although windows binary is available, but i'd like to know how can I build a windows executable from source, has anyone done it yet, any guide available?
Thanks
Although windows binary is available, but i'd like to know how can I build a windows executable from source, has anyone done it yet, any guide available?
Thanks
Re: Building ST windows executable
There is a step by step guide in the source archive, in packaging/windows/readme.en.txt
To ensure smooth experience:
1. Use Visual Studio 2008 (express edition will do).
2. Don't use CMake 2.8.3 - use 2.8.2 instead.
3. Don't use Qt 4.6.3 - use 4.6.2 (preferable) or 4.7.x (should work, but less tested).
To ensure smooth experience:
1. Use Visual Studio 2008 (express edition will do).
2. Don't use CMake 2.8.3 - use 2.8.2 instead.
3. Don't use Qt 4.6.3 - use 4.6.2 (preferable) or 4.7.x (should work, but less tested).
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: Building ST windows executable
Awesome! Thanks.
Re: Building ST windows executable
I'm not sure if the stability between versions changes in Linux, but I've been using 4.7.0 with no problems. Maybe it's different for Windows, but at least it works in Linux...
Re: Building ST windows executable
It's not about stability. It's about build issues. On Linux, building any kind of program is much easier than on Windows. What's hard on Linux is avoiding building stuff
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: Building ST windows executable
Heh, it took me a while to figure out all this C++ building stuff. I'm hacking together the bounding box picture zone thing (it's almost done. Just have to get it to work ), and those compile errors are just driving me nuts!
This is why I like Python. If Python was as fast as C++, I would have no reason to even use C++.
This is why I like Python. If Python was as fast as C++, I would have no reason to even use C++.
Re: Building ST windows executable
Stuck on this:
Code: Select all
Error 13 error LNK1104: cannone open file '..\..\..\bin\moc.exe'
c:\build\scntailor-deps-build\LINK Qt
Re: Building ST windows executable
Which version of Qt are you using?
Try with a source-only rather than source+binaries distribution of Qt.
Try with a source-only rather than source+binaries distribution of Qt.
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.
-
- Posts: 596
- Joined: 06 Jun 2009, 23:57
Re: Building ST windows executable
I built from source several times last year on Windows, but then upgraded something and started running into problems. For the past couple of months, I haven't had time to try to track down what I broke. If you're doing this for the first time, I'd recommend trying to get the versions Tulon recommends in his readme file, even though most of them are a couple of years old at this point.
Re: Building ST windows executable
Used the version mentioned in the readme except jpeg (it couldn't find jaricom.c in the old version). Still some error, please see the attached log.
Many thanks for your help!
Many thanks for your help!
- Attachments
-
- log.txt
- (1.69 KiB) Downloaded 477 times