I just liked to mention dat I managed to compile the CppTest sources on MinGW for Windows. I ran the testcases in Eclipse as mentioned in the tutorial succesfully.
Details are as follows:
System: Medion MD 6100 'The heater' laptop ;)
OS: Windows XP Prof. v2002 SP1 and some SP2 updates
Compiler: Minimalist GNU for Windows (mingw.org)
Package: MinGW-3.2.0-rc-3
GCC Core: 3.4.2
Unix/Linux emulating tools for Windows: MSYS-1.0.10 and msysDTK-1.0.1 both from mingw.org.
To compile and install the libraries do the following instructions:
- Install the MinGW package, MSYS-1.0.10 and
msysDTK-1.0.1 packages. (newer or older version
might also work)
- Download doxygen from doxygen.org and unpack it in
your mingw\bin folder
- Put the bin folders of MinGW and the above mentioned
packages on your path
- Download and unpack the newest version of cpptest
(mine was cpptest-1.0.2)
- In windows command line go to the folder where
cpptest has been unpacked
- From there start the 'sh' shell that comes with the
installed msys packages by typing sh on the command
line
- Type ./configure on the sh command line, then a whole
list of config. properties appears on the screen
- When not exited with an error the configure process
has been succesful
- Type make on the sh command line
- After that the libraries are compiled in the src subfolder
- Copy all files in the src\.libs folder to the mingw\lib
folder
- Copy all files starting with cpptest from the src
subfolder to the mingw\include folder
- Now everything should be installed, open your favourite
C++ editor and compile your own sources with the
-lcpptest parameter
Happy cpptesting!
MaGaM
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I just liked to mention dat I managed to compile the CppTest sources on MinGW for Windows. I ran the testcases in Eclipse as mentioned in the tutorial succesfully.
Details are as follows:
System: Medion MD 6100 'The heater' laptop ;)
OS: Windows XP Prof. v2002 SP1 and some SP2 updates
Compiler: Minimalist GNU for Windows (mingw.org)
Package: MinGW-3.2.0-rc-3
GCC Core: 3.4.2
Unix/Linux emulating tools for Windows: MSYS-1.0.10 and msysDTK-1.0.1 both from mingw.org.
To compile and install the libraries do the following instructions:
- Install the MinGW package, MSYS-1.0.10 and
msysDTK-1.0.1 packages. (newer or older version
might also work)
- Download doxygen from doxygen.org and unpack it in
your mingw\bin folder
- Put the bin folders of MinGW and the above mentioned
packages on your path
- Download and unpack the newest version of cpptest
(mine was cpptest-1.0.2)
- In windows command line go to the folder where
cpptest has been unpacked
- From there start the 'sh' shell that comes with the
installed msys packages by typing sh on the command
line
- Type ./configure on the sh command line, then a whole
list of config. properties appears on the screen
- When not exited with an error the configure process
has been succesful
- Type make on the sh command line
- After that the libraries are compiled in the src subfolder
- Copy all files in the src\.libs folder to the mingw\lib
folder
- Copy all files starting with cpptest from the src
subfolder to the mingw\include folder
- Now everything should be installed, open your favourite
C++ editor and compile your own sources with the
-lcpptest parameter
Happy cpptesting!
MaGaM