7.3. Setting up Zlib SourceΒΆ
A small Hello World program is not enough to know all features of CDT. We need something substantially more. Something little complex. Some independent existing piece of software. For this the Zlib version 1.2.3 source code has been used in this book.
If you wish, you can also learn by practice and see exactly similar screen shots in your environment.
Setup the necessary toolchains (if required). The version of ZLib used in this project can be downloaded from http://sourceforge.net/projects/libpng/files/zlib/1.2.3/
Note
As of 2010.04.19, latest version of ZLib is 1.2.5. Use 1.2.3 version for testing purpose only.
Try to build Zlib on Windows command line, with MinGW.
Descend to C:\sw\src\zlib\1.2.3\zlib-1.2.3 directory.
Run
make -f win32/Makefile.gcc allFor debug builds, run
make -f win32/Makefile.gcc LOC="-DDEBUG -g" allTo clean the project, run
make -f win32/Makefile.gcc clean
If that is successful, follow steps in Externally Managed Build. If it fails, have a word with the author.
Buy eBook
