[vtkusers] VTK missing

kenichiro yoshimi rccm.kyoshimi at gmail.com
Mon Aug 21 23:47:49 EDT 2017


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
>


More information about the vtkusers mailing list