VTK with PCL, link errors?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

VTK with PCL, link errors?

anti
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@vtkgl@@3P6AXII@ZEA)
1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error LNK2001: unresolved external symbol "void (__cdecl* vtkgl::DeleteBuffers)(int,unsigned int const *)" (?DeleteBuffers@vtkgl@@3P6AXHPEBI@ZEA)
1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error LNK2001: unresolved external symbol "void (__cdecl* vtkgl::GenBuffers)(int,unsigned int *)" (?GenBuffers@vtkgl@@3P6AXHPEAI@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@vtkgl@@3P6AXI_JPEBXI@ZEA)
1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error LNK2001: unresolved external symbol "void (__cdecl* vtkgl::DisableVertexAttribArray)(unsigned int)" (?DisableVertexAttribArray@vtkgl@@3P6AXI@ZEA)
1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error LNK2001: unresolved external symbol "void (__cdecl* vtkgl::EnableVertexAttribArray)(unsigned int)" (?EnableVertexAttribArray@vtkgl@@3P6AXI@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@vtkgl@@3P6AXIHIEHPEBX@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)
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: VTK with PCL, link errors?

kenichiro yoshimi
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]>:

> 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@vtkgl@@3P6AXII@ZEA)
> 1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error LNK2001:
> unresolved external symbol "void (__cdecl*
> vtkgl::DeleteBuffers)(int,unsigned int const *)"
> (?DeleteBuffers@vtkgl@@3P6AXHPEBI@ZEA)
> 1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error LNK2001:
> unresolved external symbol "void (__cdecl* vtkgl::GenBuffers)(int,unsigned
> int *)" (?GenBuffers@vtkgl@@3P6AXHPEAI@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@vtkgl@@3P6AXI_JPEBXI@ZEA)
> 1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error LNK2001:
> unresolved external symbol "void (__cdecl*
> vtkgl::DisableVertexAttribArray)(unsigned int)"
> (?DisableVertexAttribArray@vtkgl@@3P6AXI@ZEA)
> 1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error LNK2001:
> unresolved external symbol "void (__cdecl*
> vtkgl::EnableVertexAttribArray)(unsigned int)"
> (?EnableVertexAttribArray@vtkgl@@3P6AXI@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@vtkgl@@3P6AXIHIEHPEBX@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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: VTK with PCL, link errors?

anti
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]" <[hidden email]> 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]>:

> 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@vtkgl@@3P6AXII@ZEA)
> 1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error LNK2001:
> unresolved external symbol "void (__cdecl*
> vtkgl::DeleteBuffers)(int,unsigned int const *)"
> (?DeleteBuffers@vtkgl@@3P6AXHPEBI@ZEA)
> 1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error LNK2001:
> unresolved external symbol "void (__cdecl* vtkgl::GenBuffers)(int,unsigned
> int *)" (?GenBuffers@vtkgl@@3P6AXHPEAI@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@vtkgl@@3P6AXI_JPEBXI@ZEA)
> 1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error LNK2001:
> unresolved external symbol "void (__cdecl*
> vtkgl::DisableVertexAttribArray)(unsigned int)"
> (?DisableVertexAttribArray@vtkgl@@3P6AXI@ZEA)
> 1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error LNK2001:
> unresolved external symbol "void (__cdecl*
> vtkgl::EnableVertexAttribArray)(unsigned int)"
> (?EnableVertexAttribArray@vtkgl@@3P6AXI@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@vtkgl@@3P6AXIHIEHPEBX@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.
NAML

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: VTK with PCL, link errors?

kenichiro yoshimi
Hi anti,

Do you use CMake to generate your project? I tried to build and run
pcl_visualizer_demo with CMake and this worked. At that time the
linked libraries are listed below:

kernel32.lib
user32.lib
gdi32.lib
winspool.lib
shell32.lib
ole32.lib
oleaut32.lib
uuid.lib
comdlg32.lib
advapi32.lib
G:boost_1_61_0\lib64-msvc-14.0\boost_system-vc140-mt-gd-1_61.lib
G:boost_1_61_0\lib64-msvc-14.0\boost_filesystem-vc140-mt-gd-1_61.lib
G:boost_1_61_0\lib64-msvc-14.0\libboost_thread-vc140-mt-gd-1_61.lib
G:boost_1_61_0\lib64-msvc-14.0\boost_date_time-vc140-mt-gd-1_61.lib
G:boost_1_61_0\lib64-msvc-14.0\boost_iostreams-vc140-mt-gd-1_61.lib
G:boost_1_61_0\lib64-msvc-14.0\boost_serialization-vc140-mt-gd-1_61.lib
G:boost_1_61_0\lib64-msvc-14.0\boost_chrono-vc140-mt-gd-1_61.lib
G:boost_1_61_0\lib64-msvc-14.0\boost_atomic-vc140-mt-gd-1_61.lib
G:boost_1_61_0\lib64-msvc-14.0\boost_regex-vc140-mt-gd-1_61.lib
G:\pcl\lib\pcl_common_debug.lib
G:\pcl\lib\pcl_octree_debug.lib
G:\VTK-8.0.0\lib\Debug\vtkChartsCore-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkCommonColor-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkCommonCore-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtksys-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkCommonDataModel-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkCommonMath-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkCommonMisc-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkCommonSystem-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkCommonTransforms-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkCommonExecutionModel-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkFiltersGeneral-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkCommonComputationalGeometry-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkFiltersCore-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkInfovisCore-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkFiltersExtraction-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkFiltersStatistics-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkImagingFourier-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkImagingCore-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkalglib-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkRenderingContext2D-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkRenderingCore-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkFiltersGeometry-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkFiltersSources-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkRenderingFreeType-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkfreetype-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkzlib-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkDICOMParser-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkDomainsChemistry-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkIOLegacy-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkIOCore-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtklz4-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkIOXMLParser-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkexpat-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkDomainsChemistryOpenGL2-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkRenderingOpenGL2-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkglew-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkFiltersAMR-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkIOXML-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkParallelCore-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkFiltersFlowPaths-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkFiltersGeneric-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkFiltersHybrid-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkImagingSources-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkFiltersHyperTree-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkFiltersImaging-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkImagingGeneral-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkFiltersModeling-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkFiltersParallel-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkFiltersParallelImaging-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkFiltersPoints-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkFiltersProgrammable-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkFiltersSMP-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkFiltersSelection-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkFiltersTexture-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkFiltersTopology-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkFiltersVerdict-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkverdict-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkGUISupportQt-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkInteractionStyle-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkGUISupportQtSQL-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkIOSQL-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtksqlite-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkGeovisCore-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkIOImage-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkmetaio-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkjpeg-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkpng-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtktiff-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkInfovisLayout-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkImagingHybrid-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkInteractionWidgets-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkImagingColor-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkRenderingAnnotation-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkRenderingVolume-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkViewsCore-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkproj4-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkIOAMR-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkhdf5_hl-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkhdf5-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkIOEnSight-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkIOExodus-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkexoIIc-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkNetCDF-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkIOExport-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkRenderingGL2PSOpenGL2-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkgl2ps-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtklibharu-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkIOExportOpenGL2-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkIOGeometry-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkIOImport-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkIOInfovis-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtklibxml2-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkIOLSDyna-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkIOMINC-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkIOMovie-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkoggtheora-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkIONetCDF-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtknetcdf_c++.lib
G:\VTK-8.0.0\lib\Debug\vtkIOPLY-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkIOParallel-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkjsoncpp-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkIOParallelXML-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkIOTecplotTable-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkIOVideo-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkImagingMath-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkImagingMorphological-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkImagingStatistics-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkImagingStencil-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkInteractionImage-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkRenderingContextOpenGL2-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkRenderingImage-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkRenderingLOD-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkRenderingLabel-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkRenderingQt-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkRenderingVolumeOpenGL2-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkViewsContext2D-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkViewsInfovis-8.0.lib
G:\VTK-8.0.0\lib\Debug\vtkViewsQt-8.0.lib
G:\pcl\lib\pcl_io_debug.lib
G:\flann\lib\flann_cpp_s-gd.lib
G:\pcl\lib\pcl_kdtree_debug.lib
G:\pcl\lib\pcl_search_debug.lib
G:\pcl\lib\pcl_sample_consensus_debug.lib
G:\pcl\lib\pcl_filters_debug.lib
G:\pcl\lib\pcl_features_debug.lib
G:\pcl\lib\pcl_ml_debug.lib
G:\pcl\lib\pcl_segmentation_debug.lib
G:\pcl\lib\pcl_visualization_debug.lib
G:\pcl\lib\pcl_surface_debug.lib
G:\pcl\lib\pcl_registration_debug.lib
G:\pcl\lib\pcl_keypoints_debug.lib
G:\pcl\lib\pcl_tracking_debug.lib
G:\pcl\lib\pcl_recognition_debug.lib
G:\pcl\lib\pcl_stereo_debug.lib
G:\pcl\lib\pcl_apps_debug.lib
G:\pcl\lib\pcl_outofcore_debug.lib
G:\pcl\lib\pcl_people_debug.lib
G:\Qt5.8.0-msvc2015\5.8\msvc2015_64\lib\Qt5Sqld.lib
vfw32.lib
glu32.lib
opengl32.lib
comctl32.lib
wsock32.lib
ws2_32.lib
Psapi.lib
G:\Qt5.8.0-msvc2015\5.8\msvc2015_64\lib\Qt5Widgetsd.lib
G:\Qt5.8.0-msvc2015\5.8\msvc2015_64\lib\Qt5Guid.lib
G:\Qt5.8.0-msvc2015\5.8\msvc2015_64\lib\Qt5Cored.lib

Thanks

2017-08-04 7:38 GMT+09:00 anti <[hidden email]>:

> 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]" <[hidden email]> 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]>:
>
>> 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@vtkgl@@3P6AXII@ZEA)
>> 1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error
>> LNK2001:
>> unresolved external symbol "void (__cdecl*
>> vtkgl::DeleteBuffers)(int,unsigned int const *)"
>> (?DeleteBuffers@vtkgl@@3P6AXHPEBI@ZEA)
>> 1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error
>> LNK2001:
>> unresolved external symbol "void (__cdecl* vtkgl::GenBuffers)(int,unsigned
>> int *)" (?GenBuffers@vtkgl@@3P6AXHPEAI@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@vtkgl@@3P6AXI_JPEBXI@ZEA)
>> 1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error
>> LNK2001:
>> unresolved external symbol "void (__cdecl*
>> vtkgl::DisableVertexAttribArray)(unsigned int)"
>> (?DisableVertexAttribArray@vtkgl@@3P6AXI@ZEA)
>> 1>pcl_visualization_release.lib(vtkVertexBufferObject.obj) : error
>> LNK2001:
>> unresolved external symbol "void (__cdecl*
>> vtkgl::EnableVertexAttribArray)(unsigned int)"
>> (?EnableVertexAttribArray@vtkgl@@3P6AXI@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@vtkgl@@3P6AXIHIEHPEBX@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.
> NAML
>
>
>
> ________________________________
> View this message in context: Re: VTK with PCL, link errors?
>
> 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
Loading...