From my testing on Ubuntu 18.04, a shared library in the qtwayland5 package is required for CMake to succeed, so I'm adding it to the dependency install command.
I successfully built OT, but ran into some problems. Thanks to @turtletooth, I got back on track! Here are some changes to make it easier for others to build OT on Windows.
- Use $ prefix consistently
- Include Clang as a working compiler.
- Reference CentOS instead of Mageia (there are _many_ rpm based distros, no need to get too spesific).
* Small changes, for some reason VS 2015 can't link cprintf and they added a second function std::map::count and bind couldn't resolve the function. Substituted with a lambda-expression.
* Created all 64bit version of the 3rd party libs.
* Cleanup popup opens CleanupSettings instead of CleanupSettingsPane. Not finished, panel is wrong now (also uses CleanupSettings).
* Tried to get Twain working, failed.
* When there are more then 3 peg holes create additional holes.
* When a hole touches the boundary it should still be considered a hole.
* Do not compare dot size against fixed size. Will not work in some scan resolutions. Used the same value (PERCENT * max dot size) as later in the code in compare_dots.
* When there are more than three peg holes the code looked for the best fit and used that. The problem was, that the middle hole was used as center for auto center. For three peg holes that is correct, but does not work for more than three. Now the best fit is calculated and from there the offset of the middle of the three best fit holes is calculated and applied.
* One of the last changes broke VS2015 compatibility, it chocked on a missing include.
* fix for msvs2013
* revert autopos.cpp
* apply clang-format
* use GIT-LFS
This allows for running opentoonz without having to manually write ini files or copy the 'stuff' directory.
By default it installs to `/opt/opentoonz`.