jmacd / xdelta

open-source binary diff, delta/differential compression tools, VCDIFF/RFC 3284 delta compression
http://xdelta.org
1.1k stars 184 forks source link

Compile error on windows with VS2015 #222

Open OscarKing888 opened 8 years ago

OscarKing888 commented 8 years ago

I'm using VS2015. When open xdelta3.vcxproj and compile will get: xdelta3.h(243): fatal error C1189: #error: Bad configure script

I checked the compile options in Debug|Win32 C/C++ -> General -> Additional Include Direcories, there is ../xz/include.

Is some file missed in the github? Also I can't find the config.h :(

The version I used is xdelta-release3_1_apl.

hurda commented 7 years ago

You need the compiled windows-version of xz for the include-files. http://tukaani.org/xz/ http://tukaani.org/xz/xz-5.2.1-windows.zip

shkarface commented 7 years ago

same problem here, already got XZ, but where do i put them? :/

hurda commented 7 years ago

Where the include-path points to.

mkranga commented 7 years ago

same problem. all above done. still #error: Bad configure script

zmsoft commented 7 years ago

same problem. all above done. still #error: Bad configure script

ClayBorkholm commented 7 years ago

SIZEOF_SIZE_xxxx are not in the xz headers - at least not in the xz-5.2.1-windows.zip I did find them in the xz git repository.