danielgtaylor / jpeg-archive

Utilities for archiving JPEGs for long term storage.
1.17k stars 121 forks source link

Made possible to compile on Windows with Visual C++ 2017 #106

Open tssajo opened 5 years ago

tssajo commented 5 years ago

Managed to compile jpeg-archive with Visual C++ 2017 on Windows. It would be nice if you can include the required files in the official source.

Regarding commit: https://github.com/danielgtaylor/jpeg-archive/commit/58c3e03b6c62984dffae14eb2dd670259c564a78 Please see: https://stackoverflow.com/questions/37460579/error-c2036-void-unknown-size

Regarding getopt.h file, please see: https://stackoverflow.com/questions/10404448/getopt-h-compiling-linux-c-code-in-windows and https://github.com/skandhurkat/Getopt-for-Visual-Studio

sylikc commented 1 year ago

Hey this is pretty cool @tssajo , I got it to compile on VS2019 thanks to this PR