I'm trying to build the latest version of the QMF from the Git sources on OS X 10.6 but I keep running into this error:
"QPrivatelyImplemented<QMailMessageBodyPrivate>::~QPrivatelyImplemented()", referenced from:
QMailMessageBody::~QMailMessageBody()in qmfstoragemanager.o
QMailMessageBody::~QMailMessageBody()in qmfstoragemanager.o
PartStorer::operator()(QMailMessagePart const&)in qmfstoragemanager.o
PartLoader::operator()(QMailMessagePart&)in qmfstoragemanager.o
"QPrivatelyImplemented<QMailMessageHeaderFieldPrivate>::~QPrivatelyImplemented()", referenced from:
QMailMessageContentType::~QMailMessageContentType()in qmfstoragemanager.o
QMailMessageContentType::~QMailMessageContentType()in qmfstoragemanager.o
ReferenceLoader::operator()(QMailMessagePart&)in qmfstoragemanager.o
PartLoader::operator()(QMailMessagePart&)in qmfstoragemanager.o
"QPrivatelyImplemented<QMailMessagePartContainerPrivate>::~QPrivatelyImplemented()", referenced from:
QMailMessage::~QMailMessage()in qmfstoragemanager.o
"QPrivatelyImplemented<QMailMessageMetaDataPrivate>::~QPrivatelyImplemented()", referenced from:
QMailMessage::~QMailMessage()in qmfstoragemanager.o
"QPrivatelyImplemented<QMailMessageMetaDataPrivate>::operator=(QPrivatelyImplemented<QMailMessageMetaDataPrivate> const&)", referenced from:
QmfStorageManager::load(QString const&, QMailMessage*) in qmfstoragemanager.o
"QPrivatelyImplemented<QMailMessagePartContainerPrivate>::operator=(QPrivatelyImplemented<QMailMessagePartContainerPrivate> const&)", referenced from:
QmfStorageManager::load(QString const&, QMailMessage*) in qmfstoragemanager.o
ld: symbol(s) not found for architecture x86_64
It does, however, compile flawlessly under Ubuntu and I'm near enough positive I've compiled it on OS X previous so I'm a bit puzzled, obvious symbols not found generally means there's some source code missing, anyone come across this before I start tearing it apart?
This error occurs because compiler omits unreferenced classes away from the library.
I was able to workaround this issue by adding the following code after all the explicit template instantiations (or just add it to the end of file) in src\libraries\qmfclient\qmailinstantiations.cpp:
class reference_holder
{
struct helper
{
helper(QPrivatelyImplemented<QMailMessageBodyPrivate>* = 0)
{
}
~helper()
{
}
};
static helper helper_;
static void use_helper()
{
(void)helper_;
}
template<void(*)()>
struct helper2 {};
static helper2<&reference_holder::use_helper> helper2_;
};
Related
I am trying to install omnet++ 5.1.1 to use with Veins/Plexe simulation. However, I am getting below error while compiling. I think I have followed the installation guide to get the additional packages in place but still no luck. Appreciate your help. Thank you.
Creating shared library: /Users/safras/src/omnetpp-5.1.1/out/clang-release/src/qtenv/liboppqtenv.dylib
Undefined symbols for architecture x86_64:
"osg::NodeVisitor::apply(osg::AutoTransform&)", referenced from:
vtable for osgEarth::FindTopMostNodeOfTypeVisitor<osgEarth::Util::SkyNode> in osgviewer.o
construction vtable for osg::NodeVisitor-in-osgEarth::FindTopMostNodeOfTypeVisitor<osgEarth::Util::SkyNode> in osgviewer.o
"osg::NodeVisitor::apply(osg::Drawable&)", referenced from:
vtable for osgEarth::FindTopMostNodeOfTypeVisitor<osgEarth::Util::SkyNode> in osgviewer.o
construction vtable for osg::NodeVisitor-in-osgEarth::FindTopMostNodeOfTypeVisitor<osgEarth::Util::SkyNode> in osgviewer.o
"osg::NodeVisitor::apply(osg::Geometry&)", referenced from:
vtable for osgEarth::FindTopMostNodeOfTypeVisitor<osgEarth::Util::SkyNode> in osgviewer.o
construction vtable for osg::NodeVisitor-in-osgEarth::FindTopMostNodeOfTypeVisitor<osgEarth::Util::SkyNode> in osgviewer.o
"osg::NodeVisitor::NodeVisitor(osg::NodeVisitor const&, osg::CopyOp const&)", referenced from:
osg::NodeVisitor::clone(osg::CopyOp const&) const in osgviewer.o
virtual thunk to osg::NodeVisitor::clone(osg::CopyOp const&) const in osgviewer.o
"osg::NodeCallback::run(osg::Object*, osg::Object*)", referenced from:
construction vtable for osg::NodeCallback-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
"osg::NodeCallback::operator()(osg::Node*, osg::NodeVisitor*)", referenced from:
construction vtable for osg::NodeCallback-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
"osg::GraphicsContext::WindowingSystemInterfaces::addWindowingSystemInterface(osg::GraphicsContext::WindowingSystemInterface*)", referenced from:
omnetpp::qtenv::OsgViewer::OsgViewer(QWidget*) in osgviewer.o
"osg::GraphicsContext::getWindowingSystemInterfaces()", referenced from:
omnetpp::qtenv::OsgViewer::OsgViewer(QWidget*) in osgviewer.o
"osg::DrawableEventCallback::run(osg::Object*, osg::Object*)", referenced from:
construction vtable for osg::DrawableEventCallback-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
"osg::Callback::traverse(osg::Object*, osg::Object*)", referenced from:
osg::Callback::run(osg::Object*, osg::Object*) in cameramanipulators.o
"osgGA::EventHandler::event(osg::NodeVisitor*, osg::Drawable*)", referenced from:
vtable for omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
construction vtable for osgGA::OrbitManipulator-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
construction vtable for osgGA::StandardManipulator-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
construction vtable for osgGA::CameraManipulator-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
construction vtable for osgGA::GUIEventHandler-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
construction vtable for osgGA::EventHandler-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
"osgGA::EventHandler::handle(osgGA::Event*, osg::Object*, osg::NodeVisitor*)", referenced from:
construction vtable for osgGA::EventHandler-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
"osgGA::EventHandler::operator()(osg::Node*, osg::NodeVisitor*)", referenced from:
vtable for omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
construction vtable for osgGA::OrbitManipulator-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
construction vtable for osgGA::StandardManipulator-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
construction vtable for osgGA::CameraManipulator-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
construction vtable for osgGA::GUIEventHandler-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
construction vtable for osgGA::EventHandler-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
"osgGA::GUIEventHandler::handle(osgGA::Event*, osg::Object*, osg::NodeVisitor*)", referenced from:
osgGA::CameraManipulator::handle(osgGA::Event*, osg::Object*, osg::NodeVisitor*) in cameramanipulators.o
construction vtable for osgGA::GUIEventHandler-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
"osgGA::GUIEventHandler::~GUIEventHandler()", referenced from:
construction vtable for osgGA::GUIEventHandler-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
"osgGA::GUIEventHandler::~GUIEventHandler()", referenced from:
construction vtable for osgGA::GUIEventHandler-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
"typeinfo for osg::DrawableEventCallback", referenced from:
osg::DrawableEventCallback::isSameKindAs(osg::Object const*) const in cameramanipulators.o
virtual thunk to osg::DrawableEventCallback::isSameKindAs(osg::Object const*) const in cameramanipulators.o
virtual thunk to osg::DrawableEventCallback::isSameKindAs(osg::Object const*) const in cameramanipulators.o
construction vtable for osg::DrawableEventCallback-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
"typeinfo for osgGA::EventHandler", referenced from:
osgGA::EventHandler::isSameKindAs(osg::Object const*) const in cameramanipulators.o
non-virtual thunk to osgGA::EventHandler::isSameKindAs(osg::Object const*) const in cameramanipulators.o
virtual thunk to osgGA::EventHandler::isSameKindAs(osg::Object const*) const in cameramanipulators.o
virtual thunk to osgGA::EventHandler::isSameKindAs(osg::Object const*) const in cameramanipulators.o
construction vtable for osgGA::EventHandler-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
"VTT for osg::NodeCallback", referenced from:
osg::NodeCallback::cloneType() const in cameramanipulators.o
osg::NodeCallback::clone(osg::CopyOp const&) const in cameramanipulators.o
osg::NodeCallback::~NodeCallback() in cameramanipulators.o
osg::NodeCallback::~NodeCallback() in cameramanipulators.o
virtual thunk to osg::NodeCallback::cloneType() const in cameramanipulators.o
virtual thunk to osg::NodeCallback::~NodeCallback() in cameramanipulators.o
virtual thunk to osg::NodeCallback::~NodeCallback() in cameramanipulators.o
...
"VTT for osg::DrawableEventCallback", referenced from:
osg::DrawableEventCallback::cloneType() const in cameramanipulators.o
osg::DrawableEventCallback::clone(osg::CopyOp const&) const in cameramanipulators.o
osg::DrawableEventCallback::~DrawableEventCallback() in cameramanipulators.o
osg::DrawableEventCallback::~DrawableEventCallback() in cameramanipulators.o
virtual thunk to osg::DrawableEventCallback::cloneType() const in cameramanipulators.o
virtual thunk to osg::DrawableEventCallback::~DrawableEventCallback() in cameramanipulators.o
virtual thunk to osg::DrawableEventCallback::~DrawableEventCallback() in cameramanipulators.o
...
"VTT for osgGA::EventHandler", referenced from:
osgGA::EventHandler::cloneType() const in cameramanipulators.o
osgGA::EventHandler::~EventHandler() in cameramanipulators.o
osgGA::EventHandler::~EventHandler() in cameramanipulators.o
non-virtual thunk to osgGA::EventHandler::~EventHandler() in cameramanipulators.o
non-virtual thunk to osgGA::EventHandler::~EventHandler() in cameramanipulators.o
virtual thunk to osgGA::EventHandler::~EventHandler() in cameramanipulators.o
virtual thunk to osgGA::EventHandler::~EventHandler() in cameramanipulators.o
...
"vtable for osg::NodeCallback", referenced from:
osg::NodeCallback::cloneType() const in cameramanipulators.o
osg::NodeCallback::clone(osg::CopyOp const&) const in cameramanipulators.o
virtual thunk to osg::NodeCallback::cloneType() const in cameramanipulators.o
virtual thunk to osg::NodeCallback::cloneType() const in cameramanipulators.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"vtable for osg::DrawableEventCallback", referenced from:
osg::DrawableEventCallback::cloneType() const in cameramanipulators.o
osg::DrawableEventCallback::clone(osg::CopyOp const&) const in cameramanipulators.o
virtual thunk to osg::DrawableEventCallback::cloneType() const in cameramanipulators.o
virtual thunk to osg::DrawableEventCallback::cloneType() const in cameramanipulators.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"vtable for osgGA::EventHandler", referenced from:
osgGA::EventHandler::cloneType() const in cameramanipulators.o
osgGA::EventHandler::EventHandler(osgGA::EventHandler const&, osg::CopyOp const&) in cameramanipulators.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"non-virtual thunk to osgGA::EventHandler::event(osg::NodeVisitor*, osg::Drawable*)", referenced from:
vtable for omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
construction vtable for osgGA::OrbitManipulator-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
construction vtable for osgGA::StandardManipulator-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
construction vtable for osgGA::CameraManipulator-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
construction vtable for osgGA::GUIEventHandler-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
construction vtable for osgGA::EventHandler-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
"non-virtual thunk to osgGA::GUIEventHandler::~GUIEventHandler()", referenced from:
construction vtable for osgGA::GUIEventHandler-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
"non-virtual thunk to osgGA::GUIEventHandler::~GUIEventHandler()", referenced from:
construction vtable for osgGA::GUIEventHandler-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
"non-virtual thunk to osgGA::CameraManipulator::~CameraManipulator()", referenced from:
construction vtable for osgGA::CameraManipulator-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
"non-virtual thunk to osgGA::CameraManipulator::~CameraManipulator()", referenced from:
construction vtable for osgGA::CameraManipulator-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
"virtual thunk to osg::NodeCallback::run(osg::Object*, osg::Object*)", referenced from:
construction vtable for osg::NodeCallback-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
"virtual thunk to osg::DrawableEventCallback::run(osg::Object*, osg::Object*)", referenced from:
construction vtable for osg::DrawableEventCallback-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
"virtual thunk to osgGA::GUIEventHandler::~GUIEventHandler()", referenced from:
construction vtable for osgGA::GUIEventHandler-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
"virtual thunk to osgGA::GUIEventHandler::~GUIEventHandler()", referenced from:
construction vtable for osgGA::GUIEventHandler-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
"virtual thunk to osgGA::CameraManipulator::~CameraManipulator()", referenced from:
construction vtable for osgGA::CameraManipulator-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
"virtual thunk to osgGA::CameraManipulator::~CameraManipulator()", referenced from:
construction vtable for osgGA::CameraManipulator-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
"virtual thunk to osgGA::GUIEventHandler::~GUIEventHandler()", referenced from:
construction vtable for osgGA::GUIEventHandler-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
"virtual thunk to osgGA::GUIEventHandler::~GUIEventHandler()", referenced from:
construction vtable for osgGA::GUIEventHandler-in-omnetpp::qtenv::OverviewManipulator in cameramanipulators.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/safras/src/omnetpp-5.1.1/out/clang-release/src/qtenv/liboppqtenv.dylib] Error 1
make[1]: *** [qtenv] Error 2
make: *** [allmodes] Error 2
bash-3.2$
Any experts out there much appreciate your help. Thank you.
i am getting the following error
error LNK2019: unresolved external symbol "public: class
ATL::CStringT > > __thiscall
CFILicenseSettings::GetCodeStartup1(void)"
(?GetCodeStartup1#CFILicenseSettings##QAE?AV?$CStringT#DV?$StrTraitMFC_DLL#DV?$ChTraitsCRT#D#ATL#####ATL##XZ)
referenced in function
__catch$?ValidateLicense#CFIServerDlg##AAE_NXZ$0 E:\TIMSWebServerManager_lic\TIMSWebServerManager\TIMSWebServerManager.obj TIMSWebServerManager
My function defination is as follows:
CString CFILicenseSettings::GetCodeStartup1()
{
CString a = "why";
return a;
}
the declaration of the function is as follows:-
CString GetCodeStartup1();
When i searched the web for the above error i found that this error is because my class is derived from CString class,but this is not the case.....
I get this error when i call the function GetCodeStartup1();
if i comment the calling of function GetCodeStartup1(); my program compile successfully
How can i remove the error?
Thanks in advance
I am trying to use the Point Cloud Library in conjunction with the kinect for a paper, but when I followed this tutorial, and tried to compile the solution in Visual Studio 2010, I had a couple of build errors:
pcd_write.obj : error LNK2019: unresolved external symbol "public: int __thiscall pcl::PCDWriter::writeASCII(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,struct sensor_msgs::PointCloud2 const &,class Eigen::Matrix<float,4,1,0,4,1> const &,class Eigen::Quaternion<float,0> const &,int)" (?writeASCII#PCDWriter#pcl##QAEHABV?$basic_string#DU?$char_traits#D#std##V?$allocator#D#2##std##ABUPointCloud2#sensor_msgs##ABV?$Matrix#M$03$00$0A#$03$00#Eigen##ABV?$Quaternion#M$0A##8#H#Z) referenced in function "public: virtual int __thiscall pcl::PCDWriter::write(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,struct sensor_msgs::PointCloud2 const &,class Eigen::Matrix<float,4,1,0,4,1> const &,class Eigen::Quaternion<float,0> const &,bool)" (?write#PCDWriter#pcl##UAEHABV?$basic_string#DU?$char_traits#D#std##V?$allocator#D#2##std##ABUPointCloud2#sensor_msgs##ABV?$Matrix#M$03$00$0A#$03$00#Eigen##ABV?$Quaternion#M$0A##8#_N#Z)
pcd_write.obj : error LNK2019: unresolved external symbol "public: int __thiscall pcl::PCDWriter::writeBinary(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,struct sensor_msgs::PointCloud2 const &,class Eigen::Matrix<float,4,1,0,4,1> const &,class Eigen::Quaternion<float,0> const &)" (?writeBinary#PCDWriter#pcl##QAEHABV?$basic_string#DU?$char_traits#D#std##V?$allocator#D#2##std##ABUPointCloud2#sensor_msgs##ABV?$Matrix#M$03$00$0A#$03$00#Eigen##ABV?$Quaternion#M$0A##8##Z) referenced in function "public: virtual int __thiscall pcl::PCDWriter::write(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,struct sensor_msgs::PointCloud2 const &,class Eigen::Matrix<float,4,1,0,4,1> const &,class Eigen::Quaternion<float,0> const &,bool)" (?write#PCDWriter#pcl##UAEHABV?$basic_string#DU?$char_traits#D#std##V?$allocator#D#2##std##ABUPointCloud2#sensor_msgs##ABV?$Matrix#M$03$00$0A#$03$00#Eigen##ABV?$Quaternion#M$0A##8#_N#Z)
pcd_write.obj : error LNK2019: unresolved external symbol "void __cdecl pcl::console::print(enum pcl::console::VERBOSITY_LEVEL,char const *,...)" (?print#console#pcl##YAXW4VERBOSITY_LEVEL#12#PBDZZ) referenced in function "public: int __thiscall pcl::PCDWriter::writeASCII<struct pcl::PointXYZ>(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class pcl::PointCloud<struct pcl::PointXYZ> const &,int)" (??$writeASCII#UPointXYZ#pcl###PCDWriter#pcl##QAEHABV?$basic_string#DU?$char_traits#D#std##V?$allocator#D#2##std##ABV?$PointCloud#UPointXYZ#pcl###1#H#Z)
Can someone explain why these errors are occurring and how I can fix them? All help is greatly appreciated and I always accept an answer!
You are probably using the wrong PCL version (64 bit / 32 bit). If you are generating a 64 bit CMake project, be sure to install 64bit PCL libraries for Visual Studio 2010. If you are unsure about the version of PCL being used, you can check by following the suggestion from Fraser.
You can download the correct PCL libraries from here.
I was having this same error and I found the solution to it. When you are using cmake, make sure you choose the Visual Studio 10 win64 generators if you are using the 64 bit PCL libraries. I originally used the Visual Studio 10 generators and got the exact same error. When I switched it to Visual Studio 10 win64 generators it worked like a charm.
This is very simple code basically stolen from fixbyproximity
int main (int argc,char *argv[]) {
allegro varibles
ALLEGRO_DISPLAY *display = NULL;
ALLEGRO_EVENT_QUEUE *event_queue = NULL;
ALLEGRO_FONT *font18 = NULL;
ALLEGRO_TIMER *timer;
ALLEGRO_BITMAP *image;
if (!al_init()) { //intialize ALLEGRO
return -1;
}
display = al_create_display(width, height);
if (!display) {
return -1;
}
al_install_mouse();
al_install_keyboard();
al_init_image_addon();
al_init_ttf_addon();
} ;
The error
dyld: lazy symbol binding failed: Symbol not found: _FT_Init_FreeType
Referenced from: /usr/local/lib/liballegro_ttf.5.0.dylib
Expected in: flat namespace
I'm really confused! The headers in the include folder are all there and Xcode does recognize the headers related to Freetype but I still am getting same error.
Is there a binary I'm supposed to link? because I can't find one, only headers =/
I did try to link libfreetype.a but all I got was another error
ignoring file /Users/michealdouble/Desktop/hilow1/libfreetype.a, file was built for archive
which is not the architecture being linked (i386)
You must build FreeType it for 32bit. By default it is build for 64 bits.
Then add libfreetype.a to your project, and it should work.
I am quite new at working with libraries, and I have some problems.
I have installed PCL and all dependencies on my computer (Windows 7, 32 bit) and I can build and use simple examples like that "Simple Cloud Visualization" example. But if I want to use more complete sample, Visual Studio 2010 reports linking errors.
If I understand correctly, I did not 'include' all necessary "Additional Dependencies" in "Linker/Input". I tried to include all .lib files from lib directory, but the error report is still the same.
Does anyone know, which .lib should be added as "Additional Dependencies" to make more complete sample work? Or is problem somewhere else?
error report:
1>main.obj : error LNK2019: unresolved external symbol "public: class vtkProperty * __thiscall vtkActor::GetProperty(void)" (?GetProperty#vtkActor##QAEPAVvtkProperty##XZ) referenced in function "public: bool __thiscall pcl::visualization::PCLVisualizer::addSphere(struct pcl::PointXYZ const &,double,class std::basic_string,class std::allocator > const &,int)" (??$addSphere#UPointXYZ#pcl###PCLVisualizer#visualization#pcl##QAE_NABUPointXYZ#2#NABV?$basic_string#DU?$char_traits#D#std##V?$allocator#D#2##std##H#Z)
1>main.obj : error LNK2019: unresolved external symbol "void __cdecl pcl::console::print(enum pcl::console::VERBOSITY_LEVEL,char const *,...)" (?print#console#pcl##YAXW4VERBOSITY_LEVEL#12#PBDZZ) referenced in function "public: bool __thiscall pcl::visualization::PCLVisualizer::addSphere(struct pcl::PointXYZ const &,double,class std::basic_string,class std::allocator > const &,int)" (??$addSphere#UPointXYZ#pcl###PCLVisualizer#visualization#pcl##QAE_NABUPointXYZ#2#NABV?$basic_string#DU?$char_traits#D#std##V?$allocator#D#2##std##H#Z)
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall vtkSmartPointerBase::~vtkSmartPointerBase(void)" (??1vtkSmartPointerBase##QAE#XZ) referenced in function "public: __thiscall vtkSmartPointer::~vtkSmartPointer(void)" (??1?$vtkSmartPointer#VvtkLODActor####QAE#XZ)
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall vtkSmartPointerBase::vtkSmartPointerBase(void)" (??0vtkSmartPointerBase##QAE#XZ) referenced in function "public: __thiscall vtkSmartPointer::vtkSmartPointer(void)" (??0?$vtkSmartPointer#VvtkLODActor####QAE#XZ)
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall vtkSmartPointerBase::vtkSmartPointerBase(class vtkSmartPointerBase const &)" (??0vtkSmartPointerBase##QAE#ABV0##Z) referenced in function "public: __thiscall vtkSmartPointer::vtkSmartPointer(class vtkSmartPointer const &)" (??0?$vtkSmartPointer#VvtkProp####QAE#ABV0##Z)
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall vtkSmartPointerBase::vtkSmartPointerBase(class vtkObjectBase *)" (??0vtkSmartPointerBase##QAE#PAVvtkObjectBase###Z) referenced in function "public: __thiscall vtkSmartPointer::vtkSmartPointer(class vtkSmartPointer const &)" (??$?0VvtkLODActor###?$vtkSmartPointer#VvtkProp####QAE#ABV?$vtkSmartPointer#VvtkLODActor#####Z)
1>main.obj : error LNK2019: unresolved external symbol "public: class vtkSmartPointerBase & __thiscall vtkSmartPointerBase::operator=(class vtkObjectBase *)" (??4vtkSmartPointerBase##QAEAAV0#PAVvtkObjectBase###Z) referenced in function "public: class vtkSmartPointer & __thiscall vtkSmartPointer::operator=(class vtkSmartPointer const &)" (??$?4VvtkLODActor###?$vtkSmartPointer#VvtkProp####QAEAAV0#ABV?$vtkSmartPointer#VvtkLODActor#####Z)
Probably you installed the wrong PCL version (64 bit / 32 bit). Check your VS version and install PCL accordingly. Note that even if you are using a 64 bit system, your compiler may be working in 32 bit.