Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Merge pull request #549 from turtletooth/windowsbuild

Shinya Kitaoka887b7540463b
diff --cc doc/how_to_build_win.md
index 158acaaae,bbc59a34a..f77bace48
--- a/doc/how_to_build_win.md
+++ b/doc/how_to_build_win.md
@@@ -57,15 -57,9 +57,16 @@@ Rename the following files
- `$opentoonz/thirdparty/LibJPEG/jpeg-9/jconfig.vc` → `$opentoonz/thirdparty/LibJPEG/jpeg-9/jconfig.h`
- `$opentoonz/thirdparty/tiff-4.0.3/libtiff/tif_config.vc.h` → `$opentoonz/thirdparty/tiff-4.0.3/libtiff/tif_config.h`
- `$opentoonz/thirdparty/tiff-4.0.3/libtiff/tiffconf.vc.h` → `$opentoonz/thirdparty/tiff-4.0.3/libtiff/tiffconf.h`
- - `$opentoonz/thirdparty/libpng-1.6.21/scripts/pnglibconf.h.prebuilt` → `$opentoonz/thirdparty/libpng-1.6.21/pnglibconf.h`
+ - `$opentoonz/thirdparty/libpng-1.6.21/scripts/pnglibconf.h.prebuilt` → `$opentoonz/thirdparty/libpng-1.6.21/pnglibconf.h`
+ - Note that the destination is a different folder for the last file.
+Add a guard for snprintf at tif_config.h(50):
+```
++#if _MSC_VER < 1900
+#define snprintf _snprintf
++#endif
+```
+
## Building
1. Open `$opentoonz/toonz/build/OpenToonz.sln` and change to `Release`
2. The output will be in `$opentoonz/toonz/build/Release`