Technical support > Windows

make_UfoAI_win32 (all in one win32 build script)

<< < (52/62) > >>

Muton:
That

--- Code: ---If @OSVersion = "WIN_2000" Then
$Process_array = ProcessList(StringLeft(@ScriptName, 15))
If $Process_array[0][0] > 1 Then
MsgBox(270352, "Error 000", @CRLF & "An instance of " & @ScriptName & " is already running!" )
Exit
EndIf
Else
$Process_array = ProcessList(@ScriptName)
If $Process_array[0][0] > 1 Then
MsgBox(270352, "Error 000", @CRLF & "An instance of " & @ScriptName & " is already running!" )
Exit
EndIf
EndIf

--- End code ---

was added @ 0.9.3

Because you are the only one with this problem
its hard 4me to debug.

Try this one
i've compiled it using autoit 3.3.6.1

bucata:
Nope, its same error.

If its not too much bother can you just put in comment all this section... or just give me the script i will recompile myself.

Muton:
The problem is on your side
you should find out why this problem occur.
Possibly a virus scanner who run the program internally to check the behavior ...
File emulation ....

There is a reason for this check
if you run it twice you would screw up the whole setup

The source is always extracted as soon as you start the program
its called make_UfoAI_win32.au3

bucata:
Well something is wrong for sure.. prolly have to preinstall windows next time to fix it.
But anyway I bypassed the process check as result now IT WORKS.
Thanks a lot of your help.

Muton:
== 2012.04.09 == 1.1.1 =====================================
You are now able to select the branch you want to build
Be careful with it because youll switch to the selected branch
and than you likely need to compile maps again



best practice if you switch often

--- Code: (open cmd) ---md D:\UFOAIwin32BUILDenv\2.4
md D:\UFOAIwin32BUILDenv\2.5
copy /y D:\UFOAIwin32BUILDenv\make_UfoAI_win32.exe D:\UFOAIwin32BUILDenv\2.4
copy /y D:\UFOAIwin32BUILDenv\make_UfoAI_win32.exe D:\UFOAIwin32BUILDenv\2.5
md D:\UFOAIwin32BUILDenv\MinGW\ufoai_2.4\.git
md D:\UFOAIwin32BUILDenv\MinGW\ufoai_2.5\.git
@echo \objects\>"%tmp%\exclude.txt"
xcopy D:\UFOAIwin32BUILDenv\MinGW\ufoai\.git D:\UFOAIwin32BUILDenv\MinGW\ufoai_2.4\.git /E /V /H /R /Y /EXCLUDE:%tmp%\exclude.txt
xcopy D:\UFOAIwin32BUILDenv\MinGW\ufoai\.git D:\UFOAIwin32BUILDenv\MinGW\ufoai_2.4\.git /E /V /H /R /Y /EXCLUDE:%tmp%\exclude.txt
del "%tmp%\exclude.txt"
linkd D:\UFOAIwin32BUILDenv\MinGW\ufoai_2.4\.git\objects D:\UFOAIwin32BUILDenv\MinGW\ufoai\.git\objects
linkd D:\UFOAIwin32BUILDenv\MinGW\ufoai_2.5\.git\objects D:\UFOAIwin32BUILDenv\MinGW\ufoai\.git\objects

--- End code ---
This will hardlink
D:\UFOAIwin32BUILDenv\MinGW\ufoai\.git\objects
and save you a lot of space

start D:\UFOAIwin32BUILDenv\MinGW\msys.bat

--- Code: (msys.bat) ---cd /ufoai_2.4
git checkout .
cd /ufoai_2.5
git checkout .

--- End code ---

Now run D:\UFOAIwin32BUILDenv\2.4\make_UfoAI_win32.exe
point to the directories and dont forget to use ufoai_2.4 or ufoai_2.5 as the source directory

start compiling

add
[*]branch selector
[/list]
bug
[*]make install directory reset to default at each start
[/list]

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version