[vtkusers] VTK with PCL, link errors?
kenichiro yoshimi
rccm.kyoshimi at gmail.com
Wed Aug 2 19:21:05 EDT 2017
Hi anti,
You are probably missing at least opengl32.lib and glu32.lib.
Thanks
2017-08-02 23:44 GMT+09:00 anti <chemicalx001 at gmail.com>:
> I am trying to compile a project that uses PCL and VTK. I have VTK libs
> linked, as well as PCL, but I get these errors:
>
> 1>pcl_visualization_release.lib(vtkVertexBufferObjectMapper.obj) : error
> LNK2001: unresolved external symbol __imp_glPointSize
> 1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error LNK2001:
> unresolved external symbol __imp_glColorPointer
> 1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error LNK2001:
> unresolved external symbol __imp_glDisableClientState
> 1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error LNK2001:
> unresolved external symbol __imp_glEnableClientState
> 1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error LNK2001:
> unresolved external symbol __imp_glIndexPointer
> 1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error LNK2001:
> unresolved external symbol __imp_glNormalPointer
> 1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error LNK2001:
> unresolved external symbol __imp_glVertexPointer
> 1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error LNK2001:
> unresolved external symbol "void (__cdecl* vtkgl::BindBuffer)(unsigned
> int,unsigned int)" (?BindBuffer at vtkgl@@3P6AXII at ZEA)
> 1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error LNK2001:
> unresolved external symbol "void (__cdecl*
> vtkgl::DeleteBuffers)(int,unsigned int const *)"
> (?DeleteBuffers at vtkgl@@3P6AXHPEBI at ZEA)
> 1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error LNK2001:
> unresolved external symbol "void (__cdecl* vtkgl::GenBuffers)(int,unsigned
> int *)" (?GenBuffers at vtkgl@@3P6AXHPEAI at ZEA)
> 1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error LNK2001:
> unresolved external symbol "void (__cdecl* vtkgl::BufferData)(unsigned
> int,__int64,void const *,unsigned int)"
> (?BufferData at vtkgl@@3P6AXI_JPEBXI at ZEA)
> 1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error LNK2001:
> unresolved external symbol "void (__cdecl*
> vtkgl::DisableVertexAttribArray)(unsigned int)"
> (?DisableVertexAttribArray at vtkgl@@3P6AXI at ZEA)
> 1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error LNK2001:
> unresolved external symbol "void (__cdecl*
> vtkgl::EnableVertexAttribArray)(unsigned int)"
> (?EnableVertexAttribArray at vtkgl@@3P6AXI at ZEA)
> 1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error LNK2001:
> unresolved external symbol "void (__cdecl*
> vtkgl::VertexAttribPointer)(unsigned int,int,unsigned int,unsigned
> char,int,void const *)" (?VertexAttribPointer at vtkgl@@3P6AXIHIEHPEBX at ZEA)
> 1>../bin\bslam.exe : fatal error LNK1120: 14 unresolved externals
>
> What linkage am I missing here?
>
> Thank you.
>
>
> (my first post was not accepted, I am now subscribed correctly, apologies
> for the double post)
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/VTK-with-PCL-link-errors-tp5744256.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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