+2  A: 

seems this NetGen lib's project wants to run a post-build event in which it tries to copy the main output (the nglib.dll) to the directory NETGENDIR (which is supposed to be an environment variable). This fails beccuse the dll isn't found. Either disable the post build event, or check with the NetGen lib's creator what they expect here, there seems to be a mismatch between the project's output dir and the postbuild event. Would also be nice to see the postbuild event from the vcproj file, maybe you can post it?

stijn
In fact, I had modified the output folder. this explains everything.
ChRtS
A: 

You need read, by example the output line:

1>Environment variable NETGENDIR not found.... using default location!!!

After that I suggest that you must read the documentation about how define a enviroment variable named: NETGENDIR

Gustavo V