[vtkusers] VTK missing

Sanjin Pajo sanjin.pajo at gmail.com
Thu Aug 24 10:22:56 EDT 2017


Thank you. Putting the missing dlls in the same directory did get rid of
the error.

Sanjin P.

On Mon, Aug 21, 2017 at 11:47 PM, kenichiro yoshimi <rccm.kyoshimi at gmail.com
> wrote:

> Hi Sanjin,
>
> You need to either add the path to the directory containing the VTK
> dlls to your computer's PATH variable, or put the missing dlls in the
> same directory as the executable. If you builds VTK static library
> with Build_SHARED_LIBS=OFF, the above work is not necessary.
>
> Thanks
>
> 2017-08-21 2:17 GMT+09:00 Sanjin Pajo <sanjin.pajo at gmail.com>:
> > I am configuring and generating build files for my project with VTK.
> When I
> > run it I get the following error:
> >
> > The program cannot be strated, vtkRenderingGL2PSOpenGL2-8.0.dll is
> missing.
> >
> > CMakeLists:
> >
> > find_package(VTK 8.0 COMPONENTS
> >           vtkCommonCore
> >           vtkFiltersCore
> >           vtkFiltersModeling
> >           vtkFiltersSources
> >           vtkRenderingCore
> >           vtkRenderingOpenGL2
> >           vtkRenderingGL2PSOpenGL2 )
> >
> >
> >
> > add_executable(my_project ${project_SOURCES} ${project_FORMS_HEADERS}
> > target_link_libraries (mc_project ${VTK_LIBRARIES})
> >
> >
> >
> > Sanjin P.
> >
> >
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the VTK FAQ at:
> > http://www.vtk.org/Wiki/VTK_FAQ
> >
> > Search the list archives at: http://markmail.org/search/?q=vtkusers
> >
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/vtkusers
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170824/c1da5050/attachment.html>


More information about the vtkusers mailing list