51
Help / Can't build code blocks: Zip file structure invalid
« Last post by MadDavid on July 22, 2026, 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:
What do I do from here?
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?
Recent Posts