hi! i was trying to work with CPPUnit by following the document on this link:- http://www.embracetherandom.com/MFCTestRunner/index.htm
I am getting a error in building of the CppUnitLibrary itself.Error is as follows ..
--------------------Configuration: DSPlugIn - Win32 Release Unicode-------------------- Build : warning : failed to (or don't know how to) build 'C:\cppunit-1.10.2\src\msvc6\DSPlugIn\ReleaseUnicode\TestRunnerDSPlugIn.dll'
TestRunnerDSPlugIn.dll - 0 error(s), 1 warning(s) --------------------Configuration: DSPlugIn - Win32 Debug Unicode-------------------- Build : warning : failed to (or don't know how to) build 'C:\cppunit-1.10.2\src\msvc6\DSPlugIn\DebugUnicode\TestRunnerDSPlugInD.dll'
TestRunnerDSPlugInD.dll - 0 error(s), 1 warning(s) --------------------Configuration: DllPlugInTester - Win32 Release Unicode-------------------- Compiling... CommandLineParser.cpp DllPlugInTester.cpp Generating Code... Linking... LINK : fatal error LNK1181: cannot open input file "cppunit.lib" Error executing link.exe.
DllPlugInTesteru.exe - 1 error(s), 0 warning(s) --------------------Configuration: DllPlugInTester - Win32 Debug Unicode-------------------- Linking... LINK : warning LNK4075: ignoring /EDITANDCONTINUE due to /INCREMENTAL:NO specification Copying target to lib/ 1 file(s) copied.
DllPlugInTesterud.exe - 0 error(s), 1 warning(s) --------------------Configuration: DllPlugInTester - Win32 Release Static-------------------- Compiling... CommandLineParser.cpp DllPlugInTester.cpp Generating Code... Linking... LINK : fatal error LNK1181: cannot open input file "cppunit.lib" Error executing link.exe.
DllPlugInTester.exe - 1 error(s), 0 warning(s) --------------------Configuration: DllPlugInTester - Win32 Debug Static-------------------- Linking... LINK : warning LNK4075: ignoring /EDITANDCONTINUE due to /INCREMENTAL:NO specification Copying target to lib/ 1 file(s) copied.
DllPlugInTesterd.exe - 0 error(s), 1 warning(s) --------------------Configuration: DllPlugInTester - Win32 Release-------------------- Linking... LINK : fatal error LNK1181: cannot open input file "cppunit_dll.lib" Error executing link.exe.
DllPlugInTester_dll.exe - 1 error(s), 0 warning(s) --------------------Configuration: DllPlugInTester - Win32 Debug-------------------- Linking... Copying target to lib/ 1 file(s) copied.
DllPlugInTesterd_dll.exe - 0 error(s), 0 warning(s) --------------------Configuration: TestRunner - Win32 Release-------------------- Linking... LINK : fatal error LNK1181: cannot open input file "..\..\..\lib\cppunit.lib" Error executing link.exe.
TestPlugInRunner.exe - 1 error(s), 0 warning(s) --------------------Configuration: TestPlugInRunner - Win32 Debug-------------------- Updating ..\..\..\lib\cppunitd_dll.dll 1 file(s) copied. Compiling resources... Compiling... StdAfx.cpp Compiling... TestPlugInRunnerApp.cpp TestPlugInRunnerDlg.cpp TestPlugIn.cpp TestPlugInException.cpp TestPlugInRunnerModel.cpp cdxCDynamicDialog.cpp cdxCDynamicWnd.cpp cdxCDynamicWndEx.cpp cdxCSizeIconCtrl.cpp ListCtrlFormatter.cpp *** NOTE[cdxCSizeIconCtrl.cpp]: Please define OEMRESOURCE in your project settings ! ListCtrlSetter.cpp MsDevCallerListCtrl.cpp ProgressBar.cpp ResourceLoaders.cpp TestRunnerDlg.cpp TreeHierarchyDlg.cpp ActiveTest.cpp TestRunnerModel.cpp MostRecentTests.cpp Generating Code... Compiling... TestRunnerDSPluginVC6_i.c Linking... Copying target to lib/ 1 file(s) copied.
TestPlugInRunnerd.exe - 0 error(s), 0 warning(s) --------------------Configuration: TestRunner - Win32 Release Unicode-------------------- Linking... LINK : fatal error LNK1181: cannot open input file "..\..\..\lib\cppunit.lib" Error executing link.exe.
testrunneru.dll - 1 error(s), 0 warning(s) --------------------Configuration: TestRunner - Win32 Debug Unicode-------------------- Linking... LINK : fatal error LNK1104: cannot open file "mfc42ud.lib" Error executing link.exe.
testrunnerud.dll - 1 error(s), 0 warning(s)
if i say sort it is unable to open "CppUnit.lib" for most of the release versions and "mfc42ud.lib"for UniCode...
Can someone help me on this...
regards Ashu
Log in to post a comment.
hi!
i was trying to work with CPPUnit by following the document on this link:-
http://www.embracetherandom.com/MFCTestRunner/index.htm
I am getting a error in building of the CppUnitLibrary itself.Error is as follows ..
--------------------Configuration: DSPlugIn - Win32 Release Unicode--------------------
Build : warning : failed to (or don't know how to) build 'C:\cppunit-1.10.2\src\msvc6\DSPlugIn\ReleaseUnicode\TestRunnerDSPlugIn.dll'
TestRunnerDSPlugIn.dll - 0 error(s), 1 warning(s)
--------------------Configuration: DSPlugIn - Win32 Debug Unicode--------------------
Build : warning : failed to (or don't know how to) build 'C:\cppunit-1.10.2\src\msvc6\DSPlugIn\DebugUnicode\TestRunnerDSPlugInD.dll'
TestRunnerDSPlugInD.dll - 0 error(s), 1 warning(s)
--------------------Configuration: DllPlugInTester - Win32 Release Unicode--------------------
Compiling...
CommandLineParser.cpp
DllPlugInTester.cpp
Generating Code...
Linking...
LINK : fatal error LNK1181: cannot open input file "cppunit.lib"
Error executing link.exe.
DllPlugInTesteru.exe - 1 error(s), 0 warning(s)
--------------------Configuration: DllPlugInTester - Win32 Debug Unicode--------------------
Linking...
LINK : warning LNK4075: ignoring /EDITANDCONTINUE due to /INCREMENTAL:NO specification
Copying target to lib/
1 file(s) copied.
DllPlugInTesterud.exe - 0 error(s), 1 warning(s)
--------------------Configuration: DllPlugInTester - Win32 Release Static--------------------
Compiling...
CommandLineParser.cpp
DllPlugInTester.cpp
Generating Code...
Linking...
LINK : fatal error LNK1181: cannot open input file "cppunit.lib"
Error executing link.exe.
DllPlugInTester.exe - 1 error(s), 0 warning(s)
--------------------Configuration: DllPlugInTester - Win32 Debug Static--------------------
Linking...
LINK : warning LNK4075: ignoring /EDITANDCONTINUE due to /INCREMENTAL:NO specification
Copying target to lib/
1 file(s) copied.
DllPlugInTesterd.exe - 0 error(s), 1 warning(s)
--------------------Configuration: DllPlugInTester - Win32 Release--------------------
Linking...
LINK : fatal error LNK1181: cannot open input file "cppunit_dll.lib"
Error executing link.exe.
DllPlugInTester_dll.exe - 1 error(s), 0 warning(s)
--------------------Configuration: DllPlugInTester - Win32 Debug--------------------
Linking...
Copying target to lib/
1 file(s) copied.
DllPlugInTesterd_dll.exe - 0 error(s), 0 warning(s)
--------------------Configuration: TestRunner - Win32 Release--------------------
Linking...
LINK : fatal error LNK1181: cannot open input file "..\..\..\lib\cppunit.lib"
Error executing link.exe.
TestPlugInRunner.exe - 1 error(s), 0 warning(s)
--------------------Configuration: TestPlugInRunner - Win32 Debug--------------------
Updating ..\..\..\lib\cppunitd_dll.dll
1 file(s) copied.
Compiling resources...
Compiling...
StdAfx.cpp
Compiling...
TestPlugInRunnerApp.cpp
TestPlugInRunnerDlg.cpp
TestPlugIn.cpp
TestPlugInException.cpp
TestPlugInRunnerModel.cpp
cdxCDynamicDialog.cpp
cdxCDynamicWnd.cpp
cdxCDynamicWndEx.cpp
cdxCSizeIconCtrl.cpp
ListCtrlFormatter.cpp
*** NOTE[cdxCSizeIconCtrl.cpp]: Please define OEMRESOURCE in your project settings !
ListCtrlSetter.cpp
MsDevCallerListCtrl.cpp
ProgressBar.cpp
ResourceLoaders.cpp
TestRunnerDlg.cpp
TreeHierarchyDlg.cpp
ActiveTest.cpp
TestRunnerModel.cpp
MostRecentTests.cpp
Generating Code...
Compiling...
TestRunnerDSPluginVC6_i.c
Linking...
Copying target to lib/
1 file(s) copied.
TestPlugInRunnerd.exe - 0 error(s), 0 warning(s)
--------------------Configuration: TestRunner - Win32 Release Unicode--------------------
Linking...
LINK : fatal error LNK1181: cannot open input file "..\..\..\lib\cppunit.lib"
Error executing link.exe.
testrunneru.dll - 1 error(s), 0 warning(s)
--------------------Configuration: TestRunner - Win32 Debug Unicode--------------------
Linking...
LINK : fatal error LNK1104: cannot open file "mfc42ud.lib"
Error executing link.exe.
testrunnerud.dll - 1 error(s), 0 warning(s)
if i say sort it is unable to open "CppUnit.lib" for most of the release versions and "mfc42ud.lib"for UniCode...
Can someone help me on this...
regards Ashu