Question on cppUnit Test Framework
Markus Mohrhard
markus.mohrhard at googlemail.com
Tue May 17 08:35:34 UTC 2016
Hey,
somehow your mail landed in my spam folder.
On Fri, Apr 29, 2016 at 10:57 AM, Yogesh Deshpande <
yogeshbdeshpande at yahoo.co.uk> wrote:
> Hello,
>
> I am trying to use cppUnit with Microsoft Visual Studio 2015.
>
> Few questions:
>
> (1) Is this tool compatible with Visual Studio 2015?
>
Yes. We are for example using cppunit in the LibreOffice build with VS
2015. But you should use version 1.13.2 if you want to use VS2015 as that
contains fixes for many newer VS versions . Have a look at
https://freedesktop.org/wiki/Software/cppunit/
>
> (2) The reason for Question 1, is that I ccould make it work with 2005,
> however, the source code does not link properly? Is there a compatibility
> issue?
>
No. YOu are just using an outdated version.
Regards,
Markus
>
>
> Below are the Errors:
> =========================================================
>
>
> Can some one please help understand the issues?
>
> Best Regards,
> Yogesh Deshpande
>
> Severity
> Code
> Description
> Project
> File
> Line
> Suppression State
> Error
> MSB3073
> The command "copy
> "C:\NGC\CPP_Unit_Test\UTF\cppunit-1.12.1.tar\cppunit-1.12.1\src\cppunit\.\Debug\cppunit.lib"
> ..\..\lib\cppunit.lib:VCEnd" exited with code 1.
> cppunit
> C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets
> 133
>
> Error
> MSB3073
> The command "copy
> "C:\NGC\CPP_Unit_Test\UTF\cppunit-1.12.1.tar\cppunit-1.12.1\src\cppunit\.\Debug\cppunit.lib"
> ..\..\lib\cppunit.lib:VCEnd" exited with code 1.
> cppunit
> C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets
> 133
>
> Error
> MSB3073
> The command "copy
> "C:\NGC\CPP_Unit_Test\UTF\cppunit-1.12.1.tar\cppunit-1.12.1\src\cppunit\.\DebugDll\cppunit_dll.dll"
> ..\..\lib\cppunit_dll.dllcopy
> "C:\NGC\CPP_Unit_Test\UTF\cppunit-1.12.1.tar\cppunit-1.12.1\src\cppunit\DebugDll\cppunit_dll.lib"
> ..\..\lib\cppunit_dll.lib:VCEnd" exited with code 1.
> cppunit_dll
> C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets
> 133
>
> Error
> MSB3073
> The command "copy
> "C:\NGC\CPP_Unit_Test\UTF\cppunit-1.12.1.tar\cppunit-1.12.1\src\cppunit\.\DebugDll\cppunit_dll.dll"
> ..\..\lib\cppunit_dll.dllcopy
> "C:\NGC\CPP_Unit_Test\UTF\cppunit-1.12.1.tar\cppunit-1.12.1\src\cppunit\DebugDll\cppunit_dll.lib"
> ..\..\lib\cppunit_dll.lib:VCEnd" exited with code 1.
> cppunit_dll
> C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets
> 133
>
> Error
> MSB3073
> The command "copy
> "C:\NGC\CPP_Unit_Test\UTF\cppunit-1.12.1.tar\cppunit-1.12.1\src\cppunit\.\DebugDll\cppunit_dll.dll"
> ..\..\lib\cppunit_dll.dllcopy
> "C:\NGC\CPP_Unit_Test\UTF\cppunit-1.12.1.tar\cppunit-1.12.1\src\cppunit\DebugDll\cppunit_dll.lib"
> ..\..\lib\cppunit_dll.lib:VCEnd" exited with code 1.
> cppunit_dll
> C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets
> 133
>
> Error
> LNK1181
> cannot open input file 'cppunitd_dll.lib'
> DllPlugInTester
>
> C:\NGC\CPP_Unit_Test\UTF\cppunit-1.12.1.tar\cppunit-1.12.1\src\DllPlugInTester\LINK
> 1
>
> Error
> C3505
> cannot load type library '{80CC9F66-E7D8-4DDD-85B6-D9E6CD0E93E2}'
> TestRunner
>
> C:\NGC\CPP_Unit_Test\UTF\cppunit-1.12.1.tar\cppunit-1.12.1\src\msvc6\testrunner\MsDevCallerListCtrl.cpp
> 67
>
> Error
> C1104
> fatal error importing libid: '80cc9f66-e7d8-4ddd-85b6-d9e6cd0e93e2'
> TestRunner
>
> C:\NGC\CPP_Unit_Test\UTF\cppunit-1.12.1.tar\cppunit-1.12.1\src\msvc6\testrunner\MsDevCallerListCtrl.cpp
> 67
>
> Error
> MSB6006
> "cmd.exe" exited with code 1.
> TestPlugInRunner
> C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets
> 171
>
>
>
>
>
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20160517/1fd44b51/attachment.html>
More information about the LibreOffice
mailing list