User forums > Help

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

<< < (4/6) > >>

Miguel Gimenez:
The plugin is unable to find the images, hence the exceptions.

Does codecompletion.zip contain 50 SVG files in the images\svg folder?. I refer to the file in the 'share\Codeblocks' folder near the executable.

Thanks for the GDB report, I have just commited a fix for that exception, see r13391. If you update to current trunk the CodeCompletion plugin should work (or give a new exception).

manugoswami:
Hi,

Many Thanks. This worked and all plugins of codeblocks are enabled

2 problems remain. First is several image files are not loaded (one line i have mentioned below complete log is in attachment), and Second when i tried to build on another computer this line fails

zip -jq9 devel32_64\share\CodeBlocks\manager_resources.zip sdk\resources\*.xrc"




--- Code: ---cbLoadBitmapBundleFromSVG: Cannot load 'D:\ons_codeblocks_msys\ons_codeblocks_2003_svn_master\src\output32_64\share\codeblocks/resources.zip#zip:/images/svg/dbgstepi.svg'

--- End code ---

Kind regards,
Manu

Miguel Gimenez:
Looks like all images fail to load, That is a problem in your side, I still suspect of zip.exe not being found. Verify the zip files under output32_64\share\codeblocks are there (for example resources.zip) and have valid images in the svg folder.

stahta01:

--- Quote from: Miguel Gimenez on November 10, 2023, 12:03:55 pm ---Looks like all images fail to load, That is a problem in your side, I still suspect of zip.exe not being found. Verify the zip files under output32_64\share\codeblocks are there (for example resources.zip) and have valid images in the svg folder.

--- End quote ---

If the all zip files are missing, then verify you have a good zip command in the PATH.

manugoswami:
Hi,

Many thanks again for the reply. I am getting confused regarding setting zip file and its path. on 2nd computer i have set the path of zip.exe in environment variables.(path to C:\ons_msys64\usr\bin\zip.exe) and on running zip.exe i get below message. I dont know if this is the correct zip.exe. Build gets stuck up on 2nd computer at this level even when both computers have same zip.exe. Kindly help to resolve this. (zip.exe backslash problem)



--- Code: ---Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license.
Zip 3.0 (July 5th 2008). Usage:
zip [-options] [-b path] [-t mmddyyyy] [-n suffixes] [zipfile list] [-xi list]
  The default action is to add or replace zipfile entries from list, which
  can include the special name - to compress standard input.
  If zipfile and list are omitted, zip compresses stdin to stdout.
  -f   freshen: only changed files  -u   update: only changed or new files
  -d   delete entries in zipfile    -m   move into zipfile (delete OS files)
  -r   recurse into directories     -j   junk (don't record) directory names
  -0   store only                   -l   convert LF to CR LF (-ll CR LF to LF)
  -1   compress faster              -9   compress better
  -q   quiet operation              -v   verbose operation/print version info
  -c   add one-line comments        -z   add zipfile comment
  -@   read names from stdin        -o   make zipfile as old as latest entry
  -x   exclude the following names  -i   include only the following names
  -F   fix zipfile (-FF try harder) -D   do not add directory entries
  -A   adjust self-extracting exe   -J   junk zipfile prefix (unzipsfx)
  -T   test zipfile integrity       -X   eXclude eXtra file attributes
  -y   store symbolic links as the link instead of the referenced file
  -e   encrypt                      -n   don't compress these suffixes
  -h2  show more help

--- End code ---


--- Code: ---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: Nothing to do! (devel32_64\share\CodeBlocks\manager_resources.zip)


--- End code ---

Kind regards,
manu

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version