From: b99902019 Date: Mon, 2 Dec 2013 04:32:14 +0000 (+0800) Subject: Modify README so that user can build 64 bit windows binary X-Git-Tag: v195~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cfa2c387815ab9c467dd7894c9e5aac94f428a48;p=liblinear Modify README so that user can build 64 bit windows binary Fix a bug in Makefile.win: __WIN32__ should be _WIN32 --- diff --git a/Makefile.win b/Makefile.win index 84aa489..9f44d72 100644 --- a/Makefile.win +++ b/Makefile.win @@ -5,7 +5,7 @@ ########################################## CXX = cl.exe -CFLAGS = -nologo -O2 -EHsc -I. -D __WIN32__ -D _CRT_SECURE_NO_DEPRECATE +CFLAGS = /nologo /O2 /EHsc /I. /D _WIN32 /D _CRT_SECURE_NO_DEPRECATE TARGET = windows all: $(TARGET)\train.exe $(TARGET)\predict.exe diff --git a/README b/README index 3a659e0..3e8506a 100644 --- a/README +++ b/README @@ -504,6 +504,9 @@ VC++ or where it is installed. nmake -f Makefile.win clean all +2. (Optional) To build 64-bit windows binaries, you must + (1) Setup vcvars64.bat instead of vcvars32.bat + (2) Change CFLAGS in Makefile.win: /D _WIN32 to /D _WIN64 MATLAB/OCTAVE Interface =======================