[vtkusers] VTK with PCL, link errors?
anti
chemicalx001 at gmail.com
Wed Aug 2 10:44:55 EDT 2017
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.
More information about the vtkusers
mailing list