Click here to Skip to main content
15,888,401 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I met a bug when I was compiling the example for visualizing histgram on PCL/OpenNI tutorial 4: 3D object recognition (descriptors) - robotica.unileon.es[^] using PCLHistogramVisualizer with vs 2022.
There is a vital link problem: error LNK2019: unresolved external symbol "public:_cdecl pcl::visualization::RenWinInteract::RenWinInteract(avoid)".

What I have tried:

The codes in my project for visualization are:
pcl::visualization::PCLHistgramVisualizer viewer;
viewer.addFeatureHistogram(*descriptor, 308); // for vfh descriptor;
viewer.spin();
Posted
Updated 14-Jun-22 18:30pm

1 solution

So go back to where you go the code, and ask there: they will have a much better idea how their code works - or should be compiled - than we would.

At a guess - and that's all we could give you - you aren't linking a necessary library when you build the project: check for a makefile and use that.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900