Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: pramaykaruley on June 08, 2018, 10:22:23 am

Title: Execution of zip failed while installing the codeblocks in Windows 10
Post by: pramaykaruley on June 08, 2018, 10:22:23 am
Hello all,

I am trying to compile the codeblocks using source code with the help of http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_Windows (http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_Windows).

I followed every step as mentioned on this page, but while compiling, I am getting the following error:
Target is up to date.
Running target post-build steps
Code
cmd /c if not exist devel\share\CodeBlocks mkdir devel\share\CodeBlocks
zip -jq9 devel\share\CodeBlocks\manager_resources.zip sdk\resources\*.xrc
Execution of 'zip -jq9 devel\share\CodeBlocks\manager_resources.zip sdk\resources\*.xrc' in '\Projects\codeblocks-code-11414-trunk\src' failed.


I have also set the path of zip.exe in the environment variable.

I checked it using cmd to zip a sample file, then it worked fine.

Please help me to resolve this issue.

Pramay
Title: Re: Execution of zip failed while installing the codeblocks in Windows 10
Post by: stahta01 on June 08, 2018, 02:18:54 pm
You have to re-start Code::Blocks after changing the PATH environmental variable!

Tim S.
Title: Re: Execution of zip failed while installing the codeblocks in Windows 10
Post by: pramaykaruley on June 14, 2018, 08:05:51 am
Sorry, I thought I replied to this thread. Thanks, it works,

Pramay