root/local/greenstone2/windows-64bit/devel64-in32mode.bat @ 31410

Revision 31410, 1.5 KB (checked in by ak19, 3 years ago)

Adding a devel bat file for compiling GS2 on Windows 64 bit. The race condition is still present, but with these env settings we can at least get it to compile the first time (now compiling works using makegs2x64.bat again). And after deleting gs2-svn\apache-httpd\windows\error folder, we can usually re-compile GS2 again, or just retry the compile script makegs2x64.bat.

Line 
1:: Get the strawberry perl we use for GS from http://trac.greenstone.org/browser/main/trunk/release-kits/shared/windows/perl.zip?rev=head
2:: this is referred to below as strawberry-perl32no64
3
4set JAVA_HOME=C:\Program Files\Java\jdk1.7.0_55
5::set PATH=%JAVA_HOME%\bin;C:\strawberry-perl32no64\perl\bin;C:\Program Files\SlikSvn\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\putty;C:\Program Files (x86)\linuxtools
6set PATH=%JAVA_HOME%\bin;C:\strawberry-perl32no64\perl\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;
7:: REMOVING CMake from PATH:
8rem C:\Program Files (x86)\Java\jdk1.8.0_65\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft Windows Performance Toolkit\;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\nodejs\;C:\Program Files\SlikSvn\bin;C:\Program Files\Git\cmd;C:\Users\Anupama\AppData\Roaming\npm
9rem %PATH%
10
11:: Microsoft SDK is needed only if compiling GS2 with debugging on,
12:: but regular compiling (without debugging on) will also work with MS SDK environment:
13pushd "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin"
14call "SetEnv.Cmd"
15popd
16
17:: MS Visual Studio needed to compile GS2
18pushd "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\"
19call vsvars32.bat
20popd
21
Note: See TracBrowser for help on using the browser.