Author Topic: Can't build code blocks: Zip file structure invalid  (Read 29 times)

Online MadDavid

  • Single posting newcomer
  • *
  • Posts: 3
Can't build code blocks: Zip file structure invalid
« on: Yesterday at 10:30:48 pm »
I'm trying to build code::blocks from source to figure out how to fix a bug that prevents LLVM from linking windows executables together.

I built the zip.exe utility from source as well, put a path to it, and tried building the CodeBlocks_wx32_64.cbp

Everything seemed to run well until it got to the post-build steps, at which point it coughs up this error:

Quote
Running target post-build steps
cmd /c if not exist devel32_64\share\CodeBlocks mkdir devel32_64\share\CodeBlocks
zip -jq9 devel32_64\share\CodeBlocks\manager_resources.zip sdk\resources\*.xrc
cmd /c "cd sdk\resources & zip -0 -q ..\..\devel32_64\share\CodeBlocks\manager_resources.zip images\*.png images\8x8\*.png images\10x10\*.png images\12x12\*.png images\16x16\*.png images\20x20\*.png images\24x24\*.png images\28x28\*.png images\32x32\*.png images\40x40\*.png images\48x48\*.png images\56x56\*.png images\64x64\*.png images\svg\*.svg"
zip error: Zip file structure invalid (../../devel32_64/share/CodeBlocks/manager_resources.zip)
Process terminated with status 3 (0 minute(s), 53 second(s))
1 error(s), 30 warning(s) (0 minute(s), 53 second(s))

What do I do from here?

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1887
Re: Can't build code blocks: Zip file structure invalid
« Reply #1 on: Yesterday at 10:35:33 pm »
Use a precompiled zip.exe, some toolkits include one.

Online MadDavid

  • Single posting newcomer
  • *
  • Posts: 3
Re: Can't build code blocks: Zip file structure invalid
« Reply #2 on: Today at 12:06:50 am »
NONE of my toolkits (Code::Blocks 20, LLVM, Python310, TDM-GCC-64 MinGW, Visual Studio) contain a command-line zip tool.

When I click the link at the bottom of this page: https://wiki.codeblocks.org/index.php/MinGW_installation#Development_Tools, I get a message from Firefox that I need to select an application to open that link.

When I look online for how to open an FTP link, everything says that FTP is no longer supported in browsers, and you should use FileZilla or some such.

When I put the FTP site into FileZilla, the request to open the FTP size times out.

I'm not even sure that this is really a problem with my compiled Zip tool, because it created a zip file that Windows can open.

So, where do I get a valid precompiled zip.exe?