kornelski / dssim

Image similarity comparison simulating human perception (multiscale SSIM in Rust)
https://kornel.ski/dssim
GNU Affero General Public License v3.0
1.09k stars 70 forks source link

Create a new windows exe #26

Closed JosePineiro closed 7 years ago

JosePineiro commented 8 years ago

The compiled version for windows is very old. Please, give a compile of the last verision or give a makefile.vc (makefile for microsoft visual C)

kornelski commented 8 years ago

Sorry, I can't provide the binaries. I find Visual Studio impossible to use.

There's nothing special about compiling dssim: you need to build all .c files and link with libpng.

ghost commented 8 years ago

just in case, this 1.3.2 should work : http://css-ig.net/tools/public/dssim.zip

kornelski commented 8 years ago

Thanks @cssignet! Can you share your project files, so that I can build these tools myself?

ghost commented 8 years ago

i did this from mingw. perhaps the most simple solution is to create a batch file that will be used as makefile. you should have to set the path first. basic is like this:

set PATH=c:\mingw\bin;%PATH% gcc -std=c99 -DNDEBUG -O3 (...) -c *.c gcc main.o dssim.o rwpng.o libpng.a libz.a -s -o dssim

ghost commented 7 years ago

1.3.2 with jpg support : http://css-ig.net/tools/public/dssim.zip

shtse8 commented 7 years ago

Hi everyone, I need windows version too. Any updates? The download link above doesn't work.

shtse8 commented 7 years ago

How to build it for windows using Visual Studio?

kornelski commented 7 years ago

Done. The new 2.8.0 works on Windows out of the box thanks to Rust being portable.