I used the installation instructions at:
http://svn2.xp-dev.com/svn/MATC-CSG-ITDEV-154/Lab2/Setup-Use-cl-cpp.pdf, (which includes the test program HelloCPPUnit.cpp) to install cppunit 1.12.1 (which I downloaded from sourceforge.net) on my windows XP computer.
The include files are at:
C:\CPP Unit New\cppunit-1.12.1.tar\cppunit-1.12.1\include
My environmental "include" variable is set to:
C:\CPP Unit New\cppunit-1.12.1.tar\cppunit-1.12.1\include
Everything went fine with the download and building the library, but when I attempted to build the test program (HelloCPPUnit.cpp) in Visual Studio 2008, I got this error:
fatal error C1083: Cannot open include file: 'cppunit/extensions/HelperMacros.h': No such file or directory
The include statements in HelloCPPUnit.cpp are:
#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/ui/text/TestRunner.h>
When I put the whole file path in the #include statement, I don't get the error.
What's wrong? Thanks for help.