project-navigation
Personal tools

Author Topic: R23237 - Compile_maps Error  (Read 7401 times)

odie

  • Guest
R23237 - Compile_maps Error
« on: March 03, 2009, 05:04:39 am »
Hi,

I am back after a couple of days' being sick.....

TSVN the R23237 this morning, and wanted to build the maps again, as i noticed quite some maps are being updated.

The CB Rebuild Workspace command works fine. Only some 16 warnings.... which i believe are ok.

However, \contrib\scripts\Compile_maps.bat gave some wierd errors like: <See attached file>

Let me know if its the developer's issue (maybe new changes made to the way maps is being compiled) or mine ok? :)

Thanks.

[attachment deleted by admin]
« Last Edit: March 20, 2009, 06:13:02 am by odie »

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: R23237 - Compile_maps Error
« Reply #1 on: March 03, 2009, 08:57:01 am »
ufo2map is no longer called with base/maps/bunker as parameter but only with maps/bunker as parameter - the map compilation scripts must be fixed to be useable again.

odie

  • Guest
Re: R23237 - Compile_maps Error
« Reply #2 on: March 04, 2009, 02:29:47 am »
ufo2map is no longer called with base/maps/bunker as parameter but only with maps/bunker as parameter - the map compilation scripts must be fixed to be useable again.

Oh! Thanks Mattn!

Ok then, i guess will have to wait for the scripts to be updated.

Do post a sticky and let the testers know when this be up again ok? :)

Offline Kaz

  • Rookie
  • ***
  • Posts: 54
    • View Profile
Re: R23237 - Compile_maps Error
« Reply #3 on: March 04, 2009, 03:11:43 pm »
Oh! Thanks Mattn!

Ok then, i guess will have to wait for the scripts to be updated.

Do post a sticky and let the testers know when this be up again ok? :)

As I get home this evening, I will be uploading a patch for this issue.

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Re: R23237 - Compile_maps Error
« Reply #4 on: March 04, 2009, 07:14:46 pm »
I hope you can do something about Makefile.win, because I'm stumped.

Offline Kaz

  • Rookie
  • ***
  • Posts: 54
    • View Profile
Re: R23237 - Compile_maps Error
« Reply #5 on: March 05, 2009, 12:20:50 am »
Patch is uploaded. If you want to try it out before it's commited, get it from https://sourceforge.net/tracker/index.php?func=detail&aid=2663458&group_id=157793&atid=805244

I hope you can do something about Makefile.win, because I'm stumped.

What's up with Makefile.win? I really just started contributing to the project.

Cheers!

odie

  • Guest
Re: R23237 - Compile_maps Error
« Reply #6 on: March 06, 2009, 11:33:02 am »
Patch is uploaded. If you want to try it out before it's commited, get it from https://sourceforge.net/tracker/index.php?func=detail&aid=2663458&group_id=157793&atid=805244

What's up with Makefile.win? I really just started contributing to the project.

Cheers!

Hi Kaz,

I juz finished updating the R23302.

I am done with the compilation of the CB and is now on the compile_maps scripts.
Looking very good so far. will finish and try to rig out an installer and see how things go..... :)

Looks like its compiling (maps) nicely again.

Thanks to all who have worked on it.

Btw, BTAxis, wats up with the Makefile.win ??
I din see anithing abt it along my compilation process so far.... and din recall seeing it previously....

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Re: R23237 - Compile_maps Error
« Reply #7 on: March 06, 2009, 12:03:37 pm »
Well, it's the makefile for Windows. I used a modified version of it, but I can't right now because of the paths issue. I could use the batch file, but then compiling would be slower, because I call make with -j 2 to run two jobs at the same time.

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: R23237 - Compile_maps Error
« Reply #8 on: March 07, 2009, 10:56:37 am »
ufo2map, during map compilation
as debug or release build
Assertion failed: pool->blockCount == 0, file V:\MinGW\ufoai\src\common\mem.c, line 275

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: R23237 - Compile_maps Error
« Reply #9 on: March 07, 2009, 04:32:37 pm »
should not happen with the latest trunk revision - please retry

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: R23237 - Compile_maps Error
« Reply #10 on: March 07, 2009, 07:31:16 pm »
Ahh
it was a bugged map file
deleting and SVN fixed that problem

But i've encountered a problem with compile_maps.bat (the new one)
This error i had
did NOT stop the script
i've ended up with "return 0" but without the bsp file
'couse the script deleted it and moved on

Code: [Select]
if not "%~n1" == "maps" (
echo ufo2map.exe -v 2 %ufo2mapparameters% %curpath%\%~n1\%%~nxj
ufo2map.exe -v 4 %ufo2mapparameters% %curpath%\%~n1\%%~nxj || (
echo.
echo interrupt or ufo2map returned nonzero, deleting .bsp
Del %%~dpnj.bsp
)
)
if "%~n1" == "maps" (
echo ufo2map.exe -v 2 %ufo2mapparameters% %curpath%\%%~nxj
ufo2map.exe -v 4 %ufo2mapparameters% %curpath%\%%~nxj || (
echo.
echo interrupt or ufo2map returned nonzero, deleting .bsp
Del %%~dpnj.bsp
)
)
)

after
Code: [Select]
Del %%~dpnj.bsp
a error should be called or whatever

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: R23237 - Compile_maps Error
« Reply #11 on: March 07, 2009, 10:39:45 pm »
sorry - i don't really understand - another bug in ufo2map (wrong return value) or a bug in the script. please send a diff patch in the latter case.

odie

  • Guest
Re: R23237 - Compile_maps Error
« Reply #12 on: March 09, 2009, 06:53:21 am »
Hi,

I just wanted to update us that this is solved.

The unnecessary old commands have been commented out (echoed out) as of R23000+-.

Even as of today's R23386, the CB compiler, compile_maps and the NSIS script - they all works nice and good.

Thanks for the attention to the matter.

And thanks to the person resolving the batch file for the maps. :)

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: R23237 - Compile_maps Error
« Reply #13 on: March 09, 2009, 06:28:29 pm »
sorry - i don't really understand - another bug in ufo2map (wrong return value) or a bug in the script. please send a diff patch in the latter case.

The script is the problem
ufo2map is working well now

odie

  • Guest
Re: R23237 - Compile_maps Error
« Reply #14 on: March 12, 2009, 06:13:13 am »
The script is the problem
ufo2map is working well now

Thanks muton!
Its working like a breeze now. I love the new interface (i am a dos freak. lol. I love the good o' drdos though, if u know tat. :P)

*case closed*.