User forums > Help
Code Blocks -- Mingw64 - run error -- CodeComSegmentation fault
Miguel Gimenez:
When zip says "Nothing to do" means "I did not find any file to compress". Check if this files
--- Code: ---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
--- End code ---
are in src\sdk\resources. My 'images' folder contains 69 files and 13 folders.
stahta01:
--- Quote from: Miguel Gimenez on November 10, 2023, 05:54:13 pm ---When zip says "Nothing to do" means "I did not find any file to compress". Check if this files
--- Code: ---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
--- End code ---
are in src\sdk\resources. My 'images' folder contains 69 files and 13 folders.
--- End quote ---
I think I had this problem when using a bad zip command; example the zip command from MSys2 had an issue like this.
Edit: The MSys2 zip expects to be ran under sh.exe instead of cmd.exe; therefore it has issuses with backslash and wildcards "\*".
Tim S.
manugoswami:
Hi,
Many Many thanks for your support. I have finally understood and resolved the zip issue though the some images are still not loading.
There need to be TWO versions of gnuwin32 zip.exe on the persons computers. The first is the windows version in C or D drive and second is the gnuwin32 of MSYS2.
The zip of c or d drive should be in PATH but MSYS2 zip.exe should NOT be in path. Everything will work fine then.
codeblocks is a nice IDE. I was very much impressed by emacs-w32 also. Hope we can integrate both and make more wonderful codeblocks + emacs w32 combined ! 8)
Only image problem is remaining.
Kind regards,
Manu
Miguel Gimenez:
You must rebuild the whole workspace so the correct zip is called. Afterwards, change to 'src' and run 'update32_64.bat' again.
stahta01:
In my CB toolchain setting additional paths I have this entry first to fix issues with zip.
--- Code: ---C:\misctools\zip
--- End code ---
The above is where I extracted an zip command that works with cmd.exe.
Edit: The batch file and some CB projects both need a good zip command.
Tim S.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version