User forums > Help

Code Blocks -- Mingw64 - run error -- CodeComSegmentation fault

<< < (6/6)

manugoswami:
Hi,

I have rectified the zip issue completely for resources. The correct command is below. Kindly modify your project file accordingly.

in D:\ons_codeblocks_msys\ons_codeblocks_2003_svn_master\src\src\resources
zip -rq resources.zip . -i \*.xrc \*.svg

and in D:\ons_codeblocks_msys\ons_codeblocks_2003_svn_master\src\plugins\codecompletion\resources
zip -rq codecompletion.zip . -i manifest.xml \*.xrc  \*.svg

Now codeblocks build is complete. This issue is closed
Many Thanks again to all for support.


Kind regards,
Manu



stahta01:

--- Quote from: manugoswami on November 11, 2023, 07:38:06 am ---Hi,

I have rectified the zip issue completely for resources. The correct command is below. Kindly modify your project file accordingly.

in D:\ons_codeblocks_msys\ons_codeblocks_2003_svn_master\src\src\resources
zip -rq resources.zip . -i \*.xrc \*.svg

and in D:\ons_codeblocks_msys\ons_codeblocks_2003_svn_master\src\plugins\codecompletion\resources
zip -rq codecompletion.zip . -i manifest.xml \*.xrc  \*.svg

Now codeblocks build is complete. This issue is closed
Many Thanks again to all for support.


Kind regards,
Manu

--- End quote ---

Please ignore this suggestion; the user is likely still using the bad zip command from MSys2.

Tim S.

manugoswami:
Hi Tim,

Kindly share meaning of bad zip command as it is standard msys2 and gnuwin32 zip exes.

Kindly regards,
Manu

stahta01:

--- Quote from: manugoswami on November 11, 2023, 10:19:05 am ---Hi Tim,

Kindly share meaning of bad zip command as it is standard msys2 and gnuwin32 zip exes.

Kindly regards,
Manu

--- End quote ---

The project works for several people that does not have MSys2 installed; it works for me with MSys2 installed; but, I have the path to a good zip in the CB toolchain setting as I already posted.

If the update batch is having zip problem you need to make sure the good zip is in the PATH of the cmd.exe
If CB is having problems with zips then you need to add the path to the zip command to the toolchain additional paths.
Edit: Link CB Wiki likely where I got my zip command https://wiki.codeblocks.org/index.php/MinGW_installation#ZIP

Tim S.

Navigation

[0] Message Index

[*] Previous page

Go to full version