User forums > Help

Compiling Code::Blocks with wxWidgets 3.0.0 -- Execution of 'zip -jq9 failed

(1/2) > >>

craigger:
Hey guys,
tried to compile Codeblocks sourcecode and this error came up.


--- Code: ---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.

--- End code ---

zip.exe is in the PATH variable


--- Code: ---C:\Program Files (x86)\Sophos\Sophos SSL VPN Client\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;C:\zip300xn-x64\zip.exe
--- End code ---

Can you help me please?

stahta01:

--- Quote from: craigger on November 08, 2016, 02:48:59 pm ---
zip.exe is in the PATH variable


--- Code: ---C:\Program Files (x86)\Sophos\Sophos SSL VPN Client\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;C:\zip300xn-x64\zip.exe
--- End code ---

Can you help me please?

--- End quote ---

If that is what you set the PATH to then you did it wrong!


--- Code: ---C:\Program Files (x86)\Sophos\Sophos SSL VPN Client\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;C:\zip300xn-x64
--- End code ---

The above might be right.

Tim S.

craigger:
Thank you for the answer but the same error popped up.

Is it possible that the global compiler variables cause the error?

stahta01:

--- 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?

--- End quote ---

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.

stahta01:
Does this command work on the command line (cmd.exe)


--- Code: ---where zip

--- End code ---

This is what happens if zip is NOT in your PATH

--- Code: ---INFO: Could not find files for the given pattern(s).

--- End code ---

Tim S.

Navigation

[0] Message Index

[#] Next page

Go to full version