I am trying to use CppUnit to test C++ written for a project to be run on a Pocket PC. I am running into a linkage error:
"LNK1112: module machine type 'X86' conflicts with target machine type 'ARM'".
I'm not sure what's happening, however my project does have the PPC 2003 specified as the target platform, while the libraries have the Win32 platform specified. Changing these to match though creates build problems with one or the other.
Also note that this error only occurs when I have a CPPUNIT_ASSERT statement in the code, whereas I can get a suite defined without a problem.
Is there somethign special I have to do to get CppUnit running on the CF?
Any help is appreciated. Thanks in advance!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to use CppUnit to test C++ written for a project to be run on a Pocket PC. I am running into a linkage error:
"LNK1112: module machine type 'X86' conflicts with target machine type 'ARM'".
I'm not sure what's happening, however my project does have the PPC 2003 specified as the target platform, while the libraries have the Win32 platform specified. Changing these to match though creates build problems with one or the other.
Also note that this error only occurs when I have a CPPUNIT_ASSERT statement in the code, whereas I can get a suite defined without a problem.
Is there somethign special I have to do to get CppUnit running on the CF?
Any help is appreciated. Thanks in advance!