09 Oct 2013, 14:39
Generic-user-small

Richard Hagberg (10 posts)

Hello everyone,

Has anyone gotten CppUTest to build under Visual Studio 2008? I get it to “mostly” compile, but towards the end of the build I get this…

1>Generating Code…

1>Creating library…

1>Performing Post-Build Event…

1>The system cannot find the path specified.

1> 0 file(s) copied.

1>The system cannot find the path specified.

1> 0 file(s) copied.

1>Project : error PRJ0019: A tool returned an error code from “Performing Post-Build Event…”

This comes after trying to compile AllTests. The CppUTest library compiles fine. Since neither the path specified or the file trying to be copied are printed out, I am having a hard time debugging this. Any help would be greatly appreciated. Thanks in advance.

10 Dec 2013, 03:28
James2009_pragsmall

James Grenning (137 posts)

Hi Richard

Look at the post-build event in the project properties. You will see that it is trying to copy a library to a directory that does not exist. Create that directory or remove the post-build event. I think if you remove the post-build event, you may have to change the AllTest project linker input, though I am not sure about that.

James

  You must be logged in to comment