To install it++ from the src files contained in this directory
under the Mingw environment in Windows:


tar zxvf fftw-3.3.tar.gz
cd fftw-3.3
./configure --prefix=/c/CppSim/CppSimShared/CommonCode/itpp/itpp_win32
make
make install
cd ..
tar zxvf lapack-3.4.0.tgz
cd lapack-3.4.0
cp make.inc.example make.inc
make blaslib && make lapacklib
cp librefblas.a /c/CppSim/CppSimShared/CommonCode/itpp/itpp_win32/lib/libblas.a
cp liblapack.a /c/CppSim/CppSimShared/CommonCode/itpp/itpp_win32/lib/.
cp librefblas.a /c/CppSim/CppSimShared/Mingw/lib/libblas.a
cp liblapack.a /c/CppSim/CppSimShared/Mingw/lib/.
cd ..
tar zxvf itpp-4.2.tar.gz
cd itpp-4.2
./configure --prefix=/c/CppSim/CppSimShared/CommonCode/itpp/itpp_win32 --enable-static --disable-shared --with-fft=fftw
make && make install
make check


After the above is installed, note that file tcp_client_server.h within
directory itpp_win32/include/itpp/protocol 
needs some slight modifications when using within the Mingw environment:

** Line: 111
Original:
    void TCP_Client_Application::received_packet_indication(int label) {
Modified to:
    void received_packet_indication(int label) {
** Line: 140
Original:
    void TCP_Client_Application::save_to_file(string file) {
Modified to:
    void save_to_file(std::string file) {
**

Note that to use the it++ library, you need to link as follows:

g++ ... -Lc:/CppSim/CppSimShared/CommonCode/itpp/itpp_win32/lib -litpp -llapack -lblas -lgfortran