Technical support > Windows

make_UfoAI_win32 (all in one win32 build script)

<< < (9/62) > >>

Muton:
> huh? When I remove C::B the script won't run, since it doesn't download it (unlike the source)...

At %appdata%\codeblocks only the conf files are stored
if you remove them C::B will build up a new conf from scratch
Maybe thre is a error in your conf ???

If this doesnt help try to update your C::B ming environment

> The maps names run through in the script's window anyway, it's just the counter staying on 0 (some kind of cosmetics? ).
Thats ok, just to be shure everything is in place

> libstdc++
is part of gcc

> Just an idea...
yes i realy should add a bunch off checkboxes "update source" "build maps" "build installer" ....


During resaerch i've found this http://ufoai.ninex.info/forum/index.php?topic=3551.msg25913#msg25913

Borsti67:

--- Quote from: Muton on December 23, 2009, 06:06:53 pm ---> huh? When I remove C::B the script won't run, since it doesn't download it (unlike the source)...

At %appdata%\codeblocks only the conf files are stored
--- End quote ---
Sorry, I confused this with %PROGRAMFILES%


--- Quote ---> Just an idea...
yes i realy should add a bunch off checkboxes "update source" "build maps" "build installer" ....

--- End quote ---
and eventually Radiobuttons. ;D


--- Quote ---During resaerch i've found this http://ufoai.ninex.info/forum/index.php?topic=3551.msg25913#msg25913

--- End quote ---
YAY!

--- Code: ---Process terminated with status 0 (0 minutes, 11 seconds)
0 errors, 0 warnings
--- End code ---
Unfortunately it doesn't work by just adding the directory to the linker path; but copying (from 4.4.1) did it!

horza:
This is very embarassing to admit to as I do this for a living, but my problems were down to moving to Windows7 without understanding how MS "fixed" the security model.

Just in case anyone else runs into the same thing:

  If you don't set the configure_win32 program to run as Administrator Windows7 will, without telling you, create and use an alternate set of directories under %USERAPP% somewhere which will be empty and useless. For added joy those directories will be hidden, and you can only show hidden folders on a global basis.

I only worked this out after running into the same problems with other programs that wasted many hours of my life. Needless to say my hate for Windoze and M$ is at a peak right now.

Muton:
UfoAI.zip


added
[*]Checkbox for source update
[*]Checkbox for map compilation (incl. Benchmark)
[*]Selection for pk3 or 7z file creation
[*]Checkbox for Translation file generation
[*]Checkbox for UfoAI compilation
[*]Installer checkbox incl. small installer option
[*]A lot of GCC options for ufo2map and the whole UfoAI project
[*]Help included (select the GUI element to view the help on the edit field)
[/list]
changed
[*]map and ufo2map optimization
[*]ufoai optimization
[/list]
bug
[*]a few small bugs removed
[/list]

No Admin rights need (w2k XP [dont know NT 6.x])
You need to place all files in a folder with appropriate rights for the user
Users FULL acces

Run this as Admin

--- Code: ---cacls "C:\Program Files (x86)\my ufoai folder" /T /E /G Users:F

--- End code ---
replace Users with the name of the group correnspondig to your language
Run this and you'll se the groupname (here Benutzer)

--- Code: ---cacls "%ProgramFiles%"

C:\Programme VORDEFINIERT\Benutzer:R
             VORDEFINIERT\Benutzer:(OI)(CI)(IO)(Beschränkter Zugriff:)
                                               GENERIC_READ
                                               GENERIC_EXECUTE

             VORDEFINIERT\Hauptbenutzer:C
             VORDEFINIERT\Hauptbenutzer:(OI)(CI)(IO)C
             VORDEFINIERT\Administratoren:F
             VORDEFINIERT\Administratoren:(OI)(CI)(IO)F
             NT-AUTORITÄT\SYSTEM:F
             NT-AUTORITÄT\SYSTEM:(OI)(CI)(IO)F
             VORDEFINIERT\Administratoren:F
             ERSTELLER-BESITZER:(OI)(CI)(IO)F

--- End code ---

Borsti67:
Hey Muton,

now this looks VERY promising! Great work!

Unfortunately after updating the script runs into an error:

--- Code: ---Run: "C:\Programme\Codeblocks\codeblocks.exe" --rebuild --target=windows "C:\Programme\Spiele\ufoai-2.3_dev\build\projects\ufo2map.mod.cbp"
at: C:\Programme\Spiele\ufoai-2.3_dev\contrib\scripts
-------------- Clean: windows in ufo2map ---------------
-------------- Build: windows in ufo2map ---------------
Compiling: ..\..\src\common\files.c
mingw32-gcc.exe: unknown: No such file or directory
Process terminated with status 1 (0 minutes, 6 seconds)

--- End code ---
does this mean, gcc was not found, or is the file missing (I can't confirm either)?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version