[vtkusers] VTK with PCL, link errors?

anti chemicalx001 at gmail.com
Thu Aug 3 18:38:14 EDT 2017


Thanks for your reply. I already have those linked also. What else might it
be?

On 3 Aug 2017 00:21, "kenichiro yoshimi [via VTK]" <
ml+s1045678n5744266h83 at n5.nabble.com> wrote:

Hi anti,

You are probably missing at least opengl32.lib and glu32.lib.

Thanks

2017-08-02 23:44 GMT+09:00 anti <[hidden email]
<http:///user/SendEmail.jtp?type=node&node=5744266&i=0>>:

> 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
_______________________________________________
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


------------------------------
If you reply to this email, your message will be added to the discussion
below:
http://vtk.1045678.n5.nabble.com/VTK-with-PCL-link-errors-
tp5744256p5744266.html
To unsubscribe from VTK with PCL, link errors?, click here
<http://vtk.1045678.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5744256&code=Y2hlbWljYWx4MDAxQGdtYWlsLmNvbXw1NzQ0MjU2fDEzNjk5ODI0MDA=>
.
NAML
<http://vtk.1045678.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: http://vtk.1045678.n5.nabble.com/VTK-with-PCL-link-errors-tp5744256p5744278.html
Sent from the VTK - Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170803/f0c8fe4f/attachment.html>


More information about the vtkusers mailing list