Last change
on this file since 31410 was 31410, checked in by ak19, 7 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.
|
File size:
1.5 KB
|
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 |
|
---|
4 | set 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
|
---|
6 | set PATH=%JAVA_HOME%\bin;C:\strawberry-perl32no64\perl\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;
|
---|
7 | :: REMOVING CMake from PATH:
|
---|
8 | rem 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
|
---|
9 | rem %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:
|
---|
13 | pushd "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin"
|
---|
14 | call "SetEnv.Cmd"
|
---|
15 | popd
|
---|
16 |
|
---|
17 | :: MS Visual Studio needed to compile GS2
|
---|
18 | pushd "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\"
|
---|
19 | call vsvars32.bat
|
---|
20 | popd
|
---|
21 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.