Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install latest cppunit in windows

I am trying to install CppUnit on Windows.

I have downloaded it from here, decompressed it, and noticed that all files have ,v in their name, and no extension.

The instructions for installation (in included files, as well as on every site I found that suggests installation for Windows, are for Linux. (example installing CppUnit for Windows Instructions).

Others, just to build: (example: installing CppUnit for Visual Studio Instructions or Second answer on same topic).

The accepted answer on the above link has a comment saying that the person who accepted it "Sorted it, I downloaded another version" - after he had exactly the same problem as I did - but did not specify what version or from where...

The link I have above is the latest version.

I was able to find a very old version, 1.12.1, from 2008, that would almost build (with lots of errors), on Windows. I am using it now to learn how to implement CppUnit. Still, it is 4 years old... I would like to be able to use the latest build...

Please, can someone give me some suggestion that I can implement, and works, in Windows, to install the latest cppUnit ?

Thank you.

like image 405
Thalia Avatar asked Oct 18 '12 00:10

Thalia


1 Answers

The first download you made is an archive of the CVS repository. This explains the strange ,v "extensions" you see on the files. It is not what you should download. And indeed, the correct download you made (version 1.12.1) is 4 years old. It was the latest stable version though, so it should normally build. I don't know what the exact problems were you encountered.

There are however two newer options. There is CppUnit2, which is available here. And there is an independent fork of the original project available here.

Perhaps you can check either of those out and see if they are less problematic for you.

like image 138
Bart Avatar answered Sep 21 '22 02:09

Bart