Hi guys,
I'd like to implement some requested features, that is nice for me. But i have problems with CodeBlocks build.
Steps that I was do:
- Checked out latest SVN 9660
- unpacked precompiled wxmsw 2.8.12
- correctly set global vars wx and cb_release_type
- executed update.bat (as seen on some forum that this can fix this problem)
- run rebuild in current nightly CodeBlocks
After above steps, following is printed in build log:
Running target pre-build steps
build_tools\autorevision\autorevision +wx +int +t . include/autorevision.h
-------------- Build: sdk in Code::Blocks wx2.8.x (compiler: GNU GCC Compiler)---------------
Target is up to date.
Running target post-build steps
cmd /c if not exist devel\share\CodeBlocks mkdir devel\share\CodeBlocks
zip -jq9 devel\share\CodeBlocks\manager_resources.zip sdk\resources\*.xrc
cmd /c "cd sdk\resources & zip -0 -q ..\..\devel\share\CodeBlocks\manager_resources.zip images\*.png images\12x12\*.png images\16x16\*.png"
zip error: Nothing to do! (devel\share\CodeBlocks\manager_resources.zip)
Process terminated with status 12 (0 minute(s), 0 second(s))
1 error(s), 0 warning(s) (0 minute(s), 0 second(s))
When I execute command
cd sdk\resources & zip -0 -q ..\..\devel\share\CodeBlocks\manager_resources.zip images\*.png images\12x12\*.png images\16x16\*.png
from the top-level subversion directory, it prints "zip error: nothing to do !", but if I cd to src dir (the one with codeblocks project dirs), the above zip command succeeds.
Seems that I have somewhere wrong configuration of project root folder, but i cannot find where :-(
When I tried to remove all zip commands from all post-build steps, build succeeds, but C::B cannot run (Error 0xC6000005) as this can be expected.
Could anyone help me please ?
Regards,
Frantisek
Yeah I had run update.bat before test. I am new so I don't know if this was working before.
>zip --version
Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license.
This is Zip 3.0 (July 5th 2008), by Cygwin. Original by Info-ZIP.
Currently maintained by E. Gordon. Please send bug reports to
the authors using the web page at www.info-zip.org; see README for details.
Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip,
as of above date; see http://www.info-zip.org/ for other sites.
Compiled with gcc 3.4.4 (msys special) for Unix (Cygwin) on May 27 2010.
Zip special compilation options:
ASM_CRC
ASMV
USE_EF_UT_TIME (store Universal Time)
BZIP2_SUPPORT (bzip2 library version 1.0.5, 10-Dec-2007)
bzip2 code and library copyright (c) Julian R Seward
(See the bzip2 license for terms of use)
SYMLINK_SUPPORT (symbolic links supported)
STORE_UNIX_UIDs_GIDs (store UID/GID sizes/values using new extra field)
UIDGID_16BIT (old Unix 16-bit UID/GID extra field also used)
[encryption, version 2.91 of 05 Jan 2007] (modified for Zip 3)
Encryption notice:
The encryption code of this program is not copyrighted and is
put in the public domain. It was originally written in Europe
and, to the best of our knowledge, can be freely distributed
in both source and object forms from any country, including
the USA under License Exception TSU of the U.S. Export
Administration Regulations (section 740.13(e)) of 6 June 2002.
Zip environment options:
ZIP: [none]
ZIPOPT: [none]
Is this zip the right one ? (I am running Mingw/MSYS)