[vtkusers] CMAKE config for Release

John Drescher drescherjm at gmail.com
Thu Nov 11 13:29:05 EST 2010


On Thu, Nov 11, 2010 at 1:19 PM, Racha <ramjoun at gmail.com> wrote:
>
> My old project is created with Win32 Consol and I did not use C Make at all.
> so i still have that problem; only one configuration is used (as mentioned
> before)
>
> In order to use Cmake, I created new project and I make copy of the
> following example:
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Cube
> (I changed the name from cube to test)
>
> I set VTK_DIR and the configuration is successfully done. When I execute the
> project I got the following error.
> “The application has failed to start because vtkRendering.dll was not found.
> Re-installing the application may fix this problem.”
> In the following link you find image showing the problem.

If you are doing that, you probably should copy the vtk dlls into the
same path for your executable. Make sure you match the configuration
(Release, Debug ...)

John



More information about the vtkusers mailing list