Line 80... |
Line 80... |
80 |
# Operating System dependant linking and including
|
80 |
# Operating System dependant linking and including
|
81 |
# Linux
|
81 |
# Linux
|
82 |
unix:!macx {
|
82 |
unix:!macx {
|
83 |
CONFIG += link_pkgconfig
|
83 |
CONFIG += link_pkgconfig
|
84 |
# Link VTK (no pkg-config, only cmake files, hence we link manually for now)
|
84 |
# Link VTK (no pkg-config, only cmake files, hence we link manually for now)
|
85 |
INCLUDEPATH += /usr/include/vtk-6.2/
|
85 |
INCLUDEPATH += /usr/include/vtk-7.1/ /usr/include/vtk-6.2/
|
86 |
LIBS += -lvtkViewsQt-6.2 -lvtkRenderingQt-6.2 -lvtkGUISupportQt-6.2 -lvtkRenderingCore-6.2 -lvtkCommonExecutionModel-6.2 \
|
86 |
LIBS += -L/usr/lib64/opengl/nvidia/lib -lvtkViewsQt -lvtkRenderingQt -lvtkGUISupportQt -lvtkRenderingCore -lvtkCommonExecutionModel \
|
87 |
-lvtkCommonDataModel-6.2 -lvtkCommonMath-6.2 -lvtkCommonCore-6.2 -lvtkIOImage-6.2 -lvtkCommonColor-6.2
|
87 |
-lvtkCommonDataModel -lvtkCommonMath -lvtkCommonCore -lvtkIOImage -lvtkCommonColor
|
88 |
# PCL pkg-config workaround
|
88 |
# PCL pkg-config workaround
|
89 |
LIBS += -lboost_system -lpcl_visualization -lpcl_common -lpcl_io -lpcl_search -lpcl_surface
|
89 |
LIBS += -lboost_system -lpcl_visualization -lpcl_common -lpcl_io -lpcl_search -lpcl_surface
|
90 |
# PKG-config libs
|
90 |
# PKG-config libs
|
91 |
INCLUDEPATH += /usr/local/include/pcl-1.7 /usr/include/eigen3/
|
91 |
INCLUDEPATH += /usr/local/include/pcl-1.7 /usr/include/pcl-1.8 /usr/include/eigen3/
|
92 |
PKGCONFIG += gl glu x11 opencv pcl_registration-1.7 pcl_visualization-1.7 pcl_surface-1.7 pcl_search-1.7 pcl_filters-1.7 pcl_kdtree-1.7 pcl_tracking-1.7 flann eigen3
|
92 |
PKGCONFIG += gl x11 opencv pcl_registration-1.8 pcl_visualization-1.8 pcl_surface-1.8 pcl_search-1.8 \
|
- |
|
93 |
pcl_filters-1.8 pcl_kdtree-1.8 pcl_tracking-1.8 flann eigen3
|
93 |
# Ceres
|
94 |
# Ceres
|
94 |
CONFIG += c++11
|
95 |
CONFIG += c++11
|
- |
|
96 |
LIBS += -fopenmp -ltbb -ltbbmalloc -ltbbmalloc_proxy
|
95 |
LIBS += -lceres -lglog
|
97 |
LIBS += -lcholmod -lceres -lglog
|
- |
|
98 |
QMAKE_CXXFLAGS += -fopenmp -openmp
|
96 |
}
|
99 |
}
|
97 |
|
100 |
|
98 |
|
101 |
|
99 |
# Windows
|
102 |
# Windows
|
100 |
win32 {
|
103 |
win32 {
|