Hey guys,
tried to compile Codeblocks sourcecode and this error came up.
cmd /c if not exist devel30\share\CodeBlocks mkdir devel30\share\CodeBlocks
zip -jq9 devel30\share\CodeBlocks\manager_resources.zip sdk\resources\*.xrc
Execution of 'zip -jq9 devel30\share\CodeBlocks\manager_resources.zip sdk\resources\*.xrc' in 'C:\Users\domin\Documents\clean code\src' failed.
zip.exe is in the PATH variable
C:\Program Files (x86)\Sophos\Sophos SSL VPN Client\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;C:\zip300xn-x64\zip.exe
Can you help me please?
Quote from: craigger on November 08, 2016, 02:48:59 PM
zip.exe is in the PATH variable
C:\Program Files (x86)\Sophos\Sophos SSL VPN Client\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;C:\zip300xn-x64\zip.exe
Can you help me please?
If that is what you set the PATH to then you did it wrong!
C:\Program Files (x86)\Sophos\Sophos SSL VPN Client\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;C:\zip300xn-x64The above might be right.
Tim S.
Thank you for the answer but the same error popped up.
Is it possible that the global compiler variables cause the error?
Quote from: craigger on November 08, 2016, 04:16:04 PM
Thank you for the answer but the same error popped up.
Is it possible that the global compiler variables cause the error?
You NEED to exit and restart CB to see the changes to work.
And, you might need to reboot the computer to see the changes to PATH to work.
Tim S.
Does this command work on the command line (cmd.exe)
where zip
This is what happens if zip is NOT in your PATH
INFO: Could not find files for the given pattern(s).
Tim S.
thanks again for your help but restarting codeblocks and pc didn't change anything.
it shows the same errormessage
cmd /c if not exist devel30\share\CodeBlocks mkdir devel30\share\CodeBlocks
zip -jq9 devel30\share\CodeBlocks\manager_resources.zip sdk\resources\*.xrc
Execution of 'zip -jq9 devel30\share\CodeBlocks\manager_resources.zip sdk\resources\*.xrc' in 'C:\Users\domin\Documents\clean code\src' failed.
Sorry for my bad English ;)
Quote from: craigger on November 09, 2016, 02:36:12 PM
thanks again for your help but restarting codeblocks and pc didn't change anything.
it shows the same errormessage
cmd /c if not exist devel30\share\CodeBlocks mkdir devel30\share\CodeBlocks
zip -jq9 devel30\share\CodeBlocks\manager_resources.zip sdk\resources\*.xrc
Execution of 'zip -jq9 devel30\share\CodeBlocks\manager_resources.zip sdk\resources\*.xrc' in 'C:\Users\domin\Documents\clean code\src' failed.
Sorry for my bad English ;)
Try to use a file path that does NOT have spaces in it. No idea if zip has problems with this or not.
Verify that zip command is in the path; I posted how to do that in my last post.
Tim S.
How to see a real error message run in a cmd.exe window.
cd "C:\Users\domin\Documents\clean code\src"
zip -jq9 devel30\share\CodeBlocks\manager_resources.zip sdk\resources\*.xrc
Tim S.
try to set PATH C:\Program Files (x86)\Sophos\Sophos SSL VPN Client\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;D:\zip300xn-x64
not C:\zip300xn-x64. I had the same problem with you ,so I changed,it did work for me.