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 95831 times)

Offline Mattn

  • CaveExpress
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4830
  • www.caveproductions.org
    • View Profile
    • CaveExpress
Re: All in one win32 build script
« Reply #75 on: February 14, 2010, 03:55:18 pm »
maybe you can integrate http://static.ufo.ludwigf.org/map-get_0.0.4.1.exe into your build scripts, too?

Offline Mattn

  • CaveExpress
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4830
  • www.caveproductions.org
    • View Profile
    • CaveExpress
Re: All in one win32 build script
« Reply #76 on: February 14, 2010, 03:56:30 pm »
A dev should start to fix the dll problem

it would be cool if you could post patches - svn diff file > patch.diff

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: All in one win32 build script
« Reply #77 on: February 15, 2010, 07:54:42 pm »
> escaping with \: isn't working, too? the : is part of the name
Windows/nsis remove : from the filename while creating the shortcut
but during uninstall windows is unable to find foo:bar.lnk
and the shortcut is still in place

> map-get_0.0.4.1
are these maps always up2date
I've seen a lot of changes on the ufo2map source lately

> it would be cool if you could post patches - svn diff file > patch.diff
copy

Offline Mattn

  • CaveExpress
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4830
  • www.caveproductions.org
    • View Profile
    • CaveExpress
Re: All in one win32 build script
« Reply #78 on: February 16, 2010, 06:59:27 am »
yes, they are up-to-date

Offline andyr2005

  • Rookie
  • ***
  • Posts: 29
    • View Profile
Re: All in one win32 build script
« Reply #79 on: February 16, 2010, 03:09:51 pm »
Hi,

Just thought I would download this and give the development builds a try out to try and bug-report etc.

Downloaded the source fine using this tool, SVN 28625.

On building I get the following message quite a distance through:

Quote
Error 16
C::B returned an error during G:\UFOAI Development\MinGW\ufoai\build\projects\ufo_ded.mod.cbp

I have pasted the following from the build log to see if it provides any information you guys might need:

Quote
Run:   "G:\UFOAI Development\codeblocks\codeblocks.exe" --rebuild --target=windows_debug "G:\UFOAI Development\MinGW\ufoai\build\projects\ufo_ded.mod.cbp"
   at:   G:\UFOAI Development
-------------- Clean: windows_debug in ufo_ded ---------------
-------------- Build: windows_debug in ufo_ded ---------------
Compiling: ..\..\src\common\cmd.c
Compiling: ..\..\src\common\cmodel.c
Compiling: ..\..\src\common\common.c
Compiling: ..\..\src\common\cvar.c
Compiling: ..\..\src\common\dbuffer.c
Compiling: ..\..\src\common\files.c
Compiling: ..\..\src\common\http.c
Compiling: ..\..\src\common\ioapi.c
Compiling: ..\..\src\common\md4.c
Compiling: ..\..\src\common\mem.c
Compiling: ..\..\src\common\msg.c
Compiling: ..\..\src\common\net.c
Compiling: ..\..\src\common\netpack.c
Compiling: ..\..\src\common\pqueue.c
Compiling: ..\..\src\common\routing.c
Compiling: ..\..\src\common\scripts.c
Compiling: ..\..\src\common\tracing.c
Compiling: ..\..\src\common\unzip.c
Compiling: ..\..\src\game\inv_shared.c
Compiling: ..\..\src\game\q_shared.c
Compiling: ..\..\src\ports\windows\ufo.rc
Compiling: ..\..\src\ports\windows\win_console.c
Compiling: ..\..\src\ports\windows\win_main.c
Compiling: ..\..\src\ports\windows\win_shared.c
Compiling: ..\..\src\server\sv_ccmds.c
Compiling: ..\..\src\server\sv_clientstub.c
Compiling: ..\..\src\server\sv_game.c
Compiling: ..\..\src\server\sv_init.c
Compiling: ..\..\src\server\sv_main.c
Compiling: ..\..\src\server\sv_rma.c
Compiling: ..\..\src\server\sv_send.c
Compiling: ..\..\src\server\sv_user.c
Compiling: ..\..\src\server\sv_world.c
Compiling: ..\..\src\shared\byte.c
Compiling: ..\..\src\shared\infostring.c
Compiling: ..\..\src\shared\mathlib.c
Compiling: ..\..\src\shared\parse.c
Compiling: ..\..\src\shared\shared.c
Linking executable: ..\..\ufo_ded.exe
G:\UFOAID~1\MinGW\lib/libcurl.a(ldap.o):ldap.c:(.text+0x455): undefined reference to `_imp__ldap_err2stringA'
G:\UFOAID~1\MinGW\lib/libcurl.a(ldap.o):ldap.c:(.text+0x4a7): undefined reference to `_imp__ldap_set_optionA'
G:\UFOAID~1\MinGW\lib/libcurl.a(ldap.o):ldap.c:(.text+0x4c6): undefined reference to `_imp__ldap_initA'
G:\UFOAID~1\MinGW\lib/libcurl.a(ldap.o):ldap.c:(.text+0x50b): undefined reference to `_imp__ldap_set_optionA'
G:\UFOAID~1\MinGW\lib/libcurl.a(ldap.o):ldap.c:(.text+0x538): undefined reference to `_imp__ldap_simple_bind_sA'
G:\UFOAID~1\MinGW\lib/libcurl.a(ldap.o):ldap.c:(.text+0x55d): undefined reference to `_imp__ldap_set_optionA'
G:\UFOAID~1\MinGW\lib/libcurl.a(ldap.o):ldap.c:(.text+0x58a): undefined reference to `_imp__ldap_simple_bind_sA'
G:\UFOAID~1\MinGW\lib/libcurl.a(ldap.o):ldap.c:(.text+0x5a7): undefined reference to `_imp__ldap_err2stringA'
G:\UFOAID~1\MinGW\lib/libcurl.a(ldap.o):ldap.c:(.text+0x5e0): undefined reference to `_imp__ldap_search_sA'
G:\UFOAID~1\MinGW\lib/libcurl.a(ldap.o):ldap.c:(.text+0x5fe): undefined reference to `_imp__ldap_err2stringA'
G:\UFOAID~1\MinGW\lib/libcurl.a(ldap.o):ldap.c:(.text+0x629): undefined reference to `_imp__ldap_first_entry'
G:\UFOAID~1\MinGW\lib/libcurl.a(ldap.o):ldap.c:(.text+0x650): undefined reference to `_imp__ldap_get_dnA'
G:\UFOAID~1\MinGW\lib/libcurl.a(ldap.o):ldap.c:(.text+0x697): undefined reference to `_imp__ldap_first_attributeA'
G:\UFOAID~1\MinGW\lib/libcurl.a(ldap.o):ldap.c:(.text+0x6aa): undefined reference to `_imp__ldap_get_values_lenA'
G:\UFOAID~1\MinGW\lib/libcurl.a(ldap.o):ldap.c:(.text+0x7aa): undefined reference to `_imp__ldap_value_free_len'
G:\UFOAID~1\MinGW\lib/libcurl.a(ldap.o):ldap.c:(.text+0x7c7): undefined reference to `_imp__ldap_memfreeA'
G:\UFOAID~1\MinGW\lib/libcurl.a(ldap.o):ldap.c:(.text+0x7d9): undefined reference to `_imp__ldap_next_attributeA'
G:\UFOAID~1\MinGW\lib/libcurl.a(ldap.o):ldap.c:(.text+0x7f2): undefined reference to `_imp__ldap_memfreeA'
G:\UFOAID~1\MinGW\lib/libcurl.a(ldap.o):ldap.c:(.text+0x807): undefined reference to `_imp__ber_free'
G:\UFOAID~1\MinGW\lib/libcurl.a(ldap.o):ldap.c:(.text+0x818): undefined reference to `_imp__ldap_next_entry'
G:\UFOAID~1\MinGW\lib/libcurl.a(ldap.o):ldap.c:(.text+0x83e): undefined reference to `_imp__ldap_msgfree'
G:\UFOAID~1\MinGW\lib/libcurl.a(ldap.o):ldap.c:(.text+0x87b): undefined reference to `_imp__ldap_unbind_s'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 21 seconds)
22 errors, 0 warnings
Endtime:   2010.02.16 14:02:31 3
Error 16
C::B returned an error during G:\UFOAI Development\MinGW\ufoai\build\projects\ufo_ded.mod.cbp

Any assistance is appreciated.

Offline andyr2005

  • Rookie
  • ***
  • Posts: 29
    • View Profile
Re: All in one win32 build script
« Reply #80 on: February 16, 2010, 05:04:26 pm »
Hi,

I tried again to run another build off using this tool, only to be greeted with the same error message as above.

I have attached this time, the log file from the previous and this attempt to see if that helps get the problem resolved.

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: All in one win32 build script
« Reply #81 on: February 16, 2010, 06:16:53 pm »
You tried to build a debug build
with "aggressive" gcc settings

try default or core2/O1/sse

<Target title="windows_debug">
<Add option="-Wall" /><Add option="-mtune=core2" /><Add option="-O3" /><Add option="-mssse3" /><Add option="-mfpmath=sse" /><Add option="-mieee-fp" /><Add option="-fno-strict-aliasing" />

Offline andyr2005

  • Rookie
  • ***
  • Posts: 29
    • View Profile
Re: All in one win32 build script
« Reply #82 on: February 16, 2010, 06:40:07 pm »
Hi,

Well, with me being new to this, what would be the best settings to use with the build tool?

Offline andyr2005

  • Rookie
  • ***
  • Posts: 29
    • View Profile
Re: All in one win32 build script
« Reply #83 on: February 16, 2010, 07:51:18 pm »
Hi,

I just tried again, but this time deleted and re-downloaded the tool etc so that the default settings are used, i.e. the ones that come from the package, without me changing any.

I get the same result as earlier

Added the log file again in case it is different.

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: All in one win32 build script
« Reply #84 on: February 17, 2010, 09:34:30 pm »

Offline andyr2005

  • Rookie
  • ***
  • Posts: 29
    • View Profile
Re: All in one win32 build script
« Reply #85 on: February 18, 2010, 12:20:19 am »
Hi,

Ok, I am becoming to get a little bit lost here, is there somewhere to download all the latest packages or software required to build the latest SVN's?

I will give the Codeblocks package update a try.

I have installed the Tortoise SVN to download the source code just in case it was something being caused by downloading using the script.

Thanks for the assistance so far.

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: All in one win32 build script
« Reply #86 on: March 14, 2010, 08:55:19 am »
== 2009.03.14 == 0.5.3 =====================================

Fixed a bug http://ufoai.ninex.info/forum/index.php?topic=2830.msg34927#msg34927
Autoupdate routine is working now!

added
  • splash screen
bug
  • installer script creating pk0 files


Offline Chiumanfu

  • Cannon Fodder
  • **
  • Posts: 7
    • View Profile
Re: All in one win32 build script
« Reply #87 on: March 17, 2010, 06:27:54 pm »
Thanks Muton!  It works perfectly.  I simply downloaded your package, configured it up and now I've got one click updates!

The only problem I had was missing dll files but I read the thread more carefully and realized you have to copy them out of \UFOAIwin32BUILDenv\MinGW\ufoai\contrib\dlls\ into the ufoai directory.

Fresh build with all the maps, no radiant, no installer took 1hr 18mins on a Core2Duo 2.4GHz w/optimized settings.

Thanks again! ;D

Offline Morpheas

  • Cannon Fodder
  • **
  • Posts: 9
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #88 on: March 24, 2010, 06:48:21 pm »
any1 knows?
i have this cpu
Processor   AMD Athlon™ X2                  any1 knows how to fix the settings in the program "make_UfoAI_win32"
Model   4200+                                     i want to know the sse the L1 L1 L2 settings.and i put athlon xp yes?
OPN Tray   ADA4200DAA5CD                  because im confused about the l2 and l1 count =2......pls help
OPN PIB   ADA4200BVBOX                      
Operating Mode 32 Bit   Yes                   p.s. i think sse2 because sse3 in emulators i used before in ps2(playstation2)
Operating Mode 64 Bit   Yes                   it crashed and i dont know if its the cpu or the emulator.
Revision   E6                                    
Core Speed (MHz)   2200
Virtualization   No
L1 Cache Size (KB)   128
L1 Cache Count   2
L2 Cache Size (KB)   512
L2 Cache Count   2
L3 Cache Size (KB)   0
CMOS   90nm SOI
Socket   939
AMD Business Class   No
Black Edition   No
« Last Edit: March 24, 2010, 06:50:06 pm by Morpheas »

Offline DiDiT

  • Squad Leader
  • ****
  • Posts: 149
  • Your local Flame-thrower wielding Furry.
    • View Profile
Re: make_UfoAI_win32 (all in one win32 build script)
« Reply #89 on: March 24, 2010, 07:04:56 pm »
oh, lordy. it sounds like your trying to get it... on a ps2?

* face-palm*