Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Error Precompiling File

Options
becozlah
becozlah Posts: 10

Hi, I have a Eclipse C++ generated project which I want to use Parasoft C++ test to perform unit testing. However, I have linkage problem as C++ test is unable to find my files.

fatal error: Reactor.h: No such file or directory

If I go into my project's debug folder and run

make clean
make all

it builds perfectly with no linkage problems.

so how do I set the paths/symbols to my references?

My directoy:

pwd
/home/user/Documents/myProject/
ls
Reports
RunUnitTest.properties
HelloWorld

How I invoke the cpptest command line:

/home/user/Documents/parasoft/cpptest-extension/9.5/cpptestcli \
-data "../" \
-import "HelloWorld" \
-config "RunUnitTest.properties" \
-report "Reports/HelloWorld/UnitTestReport.html" \
-resource "HelloWorld/"

thanks in advance.