project-navigation
Personal tools

Poll

Are you interested in such a script

Yes
9 (100%)
No
0 (0%)
Don't care
0 (0%)

Total Members Voted: 5

Voting closed: August 12, 2009, 04:03:18 pm

Author Topic: make_UfoAI_win32 (all in one win32 build script)  (Read 153761 times)

odie

  • Guest
Re: All in one win32 build script
« Reply #15 on: July 15, 2009, 05:11:10 am »
> 7zan.exe

Is selfcompiled from 7zip source
optimized for P4 SSE2
its faster if you compress to 7z than 7za.exe

Nods, may i clarify what is SSE2 pls? Too mani abbreviations ard already. lol. Dual Core P4 isit?
If that is the case, why do we not change the /base/archives.bat script's contents to utilize it instead of 7za? Its currently using 7za.

If u wan to change, i can propose the amendments to the batch script (30 secs job) provided the switches are also identical to 7za. :D


> when you make instructions for it please assume we don't know nothing about nothing
;) I'll remember that

:P
If u need, i can help with the grammar and help with proof reading it. lol. :P


>if i am hearing this correctly,  all the needed files will be included in the SVN.
No, dev's made it already clear
They dont want unnecessary files stored on svn

>and when complete all you need to do is doubleclick 1 file ....
yes one double klick and you'r done

Nods, i can understand the dev's point of view.

If that is the case, this doubleclik file will be on...... ?? SVN (as in 1 file?)
Or will u upload somewhere with an instruction txt file in the SVN?


>u might need to get the dev team's approval
thats the reason why i've asked for it
i'll store only one textfile on svn
The starting executable and the script interpreter will be stores inside C::B package

Or does it mean it will be in the CB package? Cos i rmbr ur version is self compiled from source, whilst mine is not, i.e. our CB versions differ. (See other thread).

odie

  • Guest
Missing Mattn's Codeblocks
« Reply #16 on: July 15, 2009, 08:53:20 am »
Oh yar, mattn,

I went to your site to check your latest version of CB, and realised tat:
http://mattn.ninex.info/downloads/codeblocks.zip

This link is missing.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Missing Mattn's Codeblocks
« Reply #17 on: July 15, 2009, 09:53:03 am »

odie

  • Guest
Re: Missing Mattn's Codeblocks
« Reply #18 on: July 15, 2009, 10:07:54 am »
it's /download/, isn't it?

-geever

Yes it is. (At least i rmbr it was last time when i downloaded it....)

Now that i check, the link on the web is not [ url=correctly ] hence, with an s.

Check my 2 screenshots.
I thnk mattn got to fix it, before someone come across it and makes unnecessary noise. lol.

See my 2 links, note the paths (at the bottom of my firefox 3.5)

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: All in one win32 build script
« Reply #19 on: December 07, 2009, 03:29:43 pm »
After some absent time from UfoAI
I was shot by an armed civilian during a mission ;)
i'm back and continue my work on the script.

So far the script as a whole is working
and i hope debugged.
The iniztial script (the left) need some work to start from NUL
without C::B and MinGW
A website must be build up 4help ...

I think in the next view days i will start with a testrun waiting for some input

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: All in one win32 build script
« Reply #20 on: December 08, 2009, 03:17:56 pm »
updates always on the first post
add questions and error here

enjoy

Offline horza

  • Cannon Fodder
  • **
  • Posts: 6
    • View Profile
Re: All in one win32 build script
« Reply #21 on: December 16, 2009, 01:25:48 am »
Downloaded the zip, ran the script ok, found mingw and nsis ok, but the src fails to download via the script repeatedly. Mostly does nothing, sometimes downloads a lot of files, but then just prompts for me to try again.  ???

Links to mingw, script, NSIS, and src in OP would be nice.

Offline Borsti67

  • Squad Leader
  • ****
  • Posts: 164
    • View Profile
Re: All in one win32 build script
« Reply #22 on: December 16, 2009, 01:30:22 pm »
Not sure if it was explained somewhere (then I must have overseen it): why do I need NSIS, when I don't want to redistribute the generated package?

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: All in one win32 build script
« Reply #23 on: December 17, 2009, 07:25:21 pm »
> nsis
I can add a checkbox to build or not to build an installer

@horza
Be a little bit more specific
what gui gives you an error
what is the error
....

Offline Borsti67

  • Squad Leader
  • ****
  • Posts: 164
    • View Profile
Re: All in one win32 build script
« Reply #24 on: December 17, 2009, 07:44:12 pm »
> nsis
I can add a checkbox to build or not to build an installer
This would be nice, since I don't have NSIS (and I believe I don't need it) but currently it is required.

€dit: Just to be able to test, I made a dummy file makensis.exe.
The script starts by updating from SVN (skipping "trunk", displaying some wrong characters, but that's "cosmetics").
Now it sits on "preparing C::B" for 20 mins, this is not normal, is it?

€²: C::B doesn't run any more now: "Visual C++ runtime error - The application has requested the Runtime to terminate in an unusual way..." :(
Do I need a special version of C::B also?
« Last Edit: December 17, 2009, 08:10:39 pm by Borsti67 »

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: All in one win32 build script
« Reply #25 on: December 18, 2009, 05:38:29 pm »
Now it sits on "preparing C::B" for 20 mins, this is not normal, is it?

€²: C::B doesn't run any more now: "Visual C++ runtime error - The application has requested the Runtime to terminate in an unusual way..." :(
Do I need a special version of C::B also?

I modify "%APPDATA%\codeblocks\default.conf"
send me this default.conf
than remove it an restart C::B and it should be fine again
Let me know your C::B build

Offline horza

  • Cannon Fodder
  • **
  • Posts: 6
    • View Profile
Re: All in one win32 build script
« Reply #26 on: December 19, 2009, 03:47:59 pm »
> nsis
I can add a checkbox to build or not to build an installer

@horza
Be a little bit more specific
what gui gives you an error
what is the error
....

[/quote]

A picture tells a thousand words(and is attached), however the gui would be the make_win32 script and the error would be "I can't find the UFO AI Source" followed by some failed attempts to download it.

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: All in one win32 build script
« Reply #27 on: December 19, 2009, 07:48:25 pm »
ahh
ok now i know where the problem is
a bug

I generaly dont use spaces for names
so i've overlooked it

I'll fix that tomorrow (Europe)

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: All in one win32 build script
« Reply #28 on: December 20, 2009, 05:13:39 pm »
UfoAI.zip

added
  • noNSIS button in configure script
  • support for long filenames
  • "Lockcheck" for svn (dont update)
changed
  • the name of the initial script from make_win32.exe to configure_win32.exe
  • prepare routine for C::B (default.conf.bak stores your config, default.conf is changed during a run)
bug
  • The list inside map_last_build.md5 was appended and not replaced

Offline Borsti67

  • Squad Leader
  • ****
  • Posts: 164
    • View Profile
Re: All in one win32 build script
« Reply #29 on: December 20, 2009, 06:09:31 pm »
Thanks Muton,

this looks really good!
Also the current operation is better readable.
One thing I don't seem to understand: There is a separate run to compile ufo2map; but I believe this is also done while compiling the whole project? If this aint another file, why don't you compile all of the project first, and do the maps at last?

BTW, "radiant_brushexport" aborts with 6 errors (Revision 27518).