Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

链接错误 #9

Open
longzeyilang opened this issue Jun 17, 2019 · 0 comments
Open

链接错误 #9

longzeyilang opened this issue Jun 17, 2019 · 0 comments

Comments

@longzeyilang
Copy link

QT += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = pcl_visualizer
TEMPLATE = app

SOURCES += main.cpp
AboutWin.cpp
CloudViewer.cpp
FileIO.cpp
main.cpp
MeshProcessing.cpp
MyCloud.cpp
Tools.cpp

HEADERS +=AboutWin.h
CloudViewer.h
Tools.h
MyCloud.h
AboutWin.h
CloudViewer.h
FileIO.h
GBK.h
MeshProcessing.h
MyCloud.h
Tools.h

FORMS += CloudViewer.ui
AboutWin.ui
AboutWin.ui
CloudViewer.ui

SUBDIRS +=
pcl_visualizer.pro

RESOURCES +=
CloudViewer.qrc

unix
{
INCLUDEPATH += /usr/include/pcl-1.7
/usr/include/eigen3
/usr/include/vtk-6.2
LIBS += "-L/usr/local/lib"
LIBS += "-L/usr/lib"
QMAKE_CXXFLAGS+= -std=c++11
}
编译的时候就是出错:
/data/Surface_matching/CloudViewer/src/CloudViewer.cpp:-1: error: undefined reference to `vtkSmartPointerBase::vtkSmartPointerBase()'

/data/Surface_matching/CloudViewer/src/CloudViewer.cpp:-1: error: undefined reference to `pcl::visualization::PCLVisualizer::createActorFromVTKDataSet(vtkSmartPointer const&, vtkSmartPointer&, bool)'
都是这种错误

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant