project-navigation
Personal tools

Author Topic: CodeBlocks Package Script Errors/Issues (From MinGW shell)  (Read 4491 times)

Offline Destructavator

  • Combination Multiple Specialty Developer
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1908
  • Creater of Scorchcrafter, knows the zarakites...
    • View Profile
CodeBlocks Package Script Errors/Issues (From MinGW shell)
« on: August 23, 2009, 03:18:58 am »
I started testing the Codeblocks packaging script so I could compile the game again, although it stopped and came to a halt on this one line, the last one in the screenshot here.

At this one point it stopped downloading, my Firewall shows that it is no longer sending or receiving from the Internet.  (Yes, it has permission from the firewall.)  I'm not sure if the server out there with the file is busy, the filename isn't right, or what.

Offline Destructavator

  • Combination Multiple Specialty Developer
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1908
  • Creater of Scorchcrafter, knows the zarakites...
    • View Profile
Re: CodeBlocks Package Script Errors/Issues (From MinGW shell)
« Reply #1 on: August 23, 2009, 03:25:27 am »
Wait, hang on - restarting the script got it a bit further...

OK, here is where it bombs now:
« Last Edit: August 23, 2009, 03:27:15 am by Destructavator »

Offline Destructavator

  • Combination Multiple Specialty Developer
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1908
  • Creater of Scorchcrafter, knows the zarakites...
    • View Profile
Re: CodeBlocks Package Script Errors/Issues (From MinGW shell)
« Reply #2 on: August 23, 2009, 03:28:32 am »
Update:  I'll keep playing with it to see what I can do to make it work...

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: CodeBlocks Package Script Errors/Issues (From MinGW shell)
« Reply #3 on: August 23, 2009, 10:14:06 am »
remove libcurl.zip and rerun the script - it will only try to download missing files - but if files are only half-downloaded, this can't be detected

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: CodeBlocks Package Script Errors/Issues (From MinGW shell)
« Reply #4 on: August 23, 2009, 11:30:37 am »
remove libcurl.zip and rerun the script - it will only try to download missing files - but if files are only half-downloaded, this can't be detected

Download a file with MD5 checksums first?

-geever

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: CodeBlocks Package Script Errors/Issues (From MinGW shell)
« Reply #5 on: August 23, 2009, 12:10:22 pm »
not every url has a md5 checksum for the file we are trying to download - and uploading them somewhere else is also no option as new versions would also require to upload new md5 files to our own mirror.

it would be an option to mirror all the files we need - then we could provide md5 checksums and also ensure that none of the files we need is offline.

odie

  • Guest
Re: CodeBlocks Package Script Errors/Issues (From MinGW shell)
« Reply #6 on: August 23, 2009, 12:22:36 pm »
I started testing the Codeblocks packaging script so I could compile the game again, although it stopped and came to a halt on this one line, the last one in the screenshot here.

At this one point it stopped downloading, my Firewall shows that it is no longer sending or receiving from the Internet.  (Yes, it has permission from the firewall.)  I'm not sure if the server out there with the file is busy, the filename isn't right, or what.

Hi, Destructavator,

U compiled this under MingGW? Does that means that CB script in windows is broken again for u, and possibly me when i am back in office tml? :(

Offline Destructavator

  • Combination Multiple Specialty Developer
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1908
  • Creater of Scorchcrafter, knows the zarakites...
    • View Profile
Re: CodeBlocks Package Script Errors/Issues (From MinGW shell)
« Reply #7 on: August 23, 2009, 01:31:47 pm »
remove libcurl.zip and rerun the script - it will only try to download missing files - but if files are only half-downloaded, this can't be detected

I did the "clean" option and this error happened again - it can't seem to download that one library.

Where does it store the downloaded files?  I've looked in hidden folders, temporary folders, and the UFO: AI folder, I can't find where to manually delete anything.

Offline Destructavator

  • Combination Multiple Specialty Developer
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1908
  • Creater of Scorchcrafter, knows the zarakites...
    • View Profile
Re: CodeBlocks Package Script Errors/Issues (From MinGW shell)
« Reply #8 on: August 23, 2009, 02:12:44 pm »
Success!

I deleted the whole codeblocks folder (after backing it up of course), started over, and was able to create a "codeblocks.zip" in the "contrib/scripts" directory in my SVN copy.

Now to see if the newly created package will compile the game...

Offline Destructavator

  • Combination Multiple Specialty Developer
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1908
  • Creater of Scorchcrafter, knows the zarakites...
    • View Profile
Re: CodeBlocks Package Script Errors/Issues (From MinGW shell)
« Reply #9 on: August 23, 2009, 03:45:59 pm »
Yes! Yay! Terrific! Wunderbar! Geil!   ;D

It works and it compiles the game as well as radiant, no errors!

Here's the new package:

http://destructavator.com/92dl/Codeblocks.zip


odie

  • Guest
Re: CodeBlocks Package Script Errors/Issues (From MinGW shell)
« Reply #10 on: August 24, 2009, 07:29:54 am »
Rowar!

I ma gonna try your version of CB. lol. My CB has been outdated for a while at 5456 (haha), though it still compiles. lol.

Do u have the same 18 warnings as i do??