i am trying to include pcl library to my qt application project using qmake. I found some similar questions, however none of the answers help to solve my problem.
I have tried to add to the .pro file the paths from pcl lib as well as the 3rd party libraries which are used by pcl. Here is the include lines of my .pro file.
win32:CONFIG(release, debug|release): LIBS += -LD:/Libraries/PCL_1.6.0/lib
win32:CONFIG(release, debug|release): LIBS += -LD:/Libraries/PCL_1.6.0/3rdParty/Eigen/bin
win32:CONFIG(release, debug|release): LIBS += -LD:/Libraries/PCL_1.6.0/3rdParty/Boost/lib
INCLUDEPATH += D:/Libraries/PCL_1.6.0/include/pcl-1.6
DEPENDPATH += D:/Libraries/PCL_1.6.0/include/pcl-1.6
INCLUDEPATH += D:/Libraries/PCL_1.6.0/3rdParty/Eigen/include
DEPENDPATH += D:/Libraries/PCL_1.6.0/3rdParty/Eigen/include
INCLUDEPATH += D:/Libraries/PCL_1.6.0/3rdParty/Boost/include
DEPENDPATH += D:/Libraries/PCL_1.6.0/3rdParty/Boost/include
After that, i am just trying put this include to one of my files:
include pcl/io/pcd_io.h
And these are the errors i am getting back:
D:\Libraries\PCL_1.6.0\3rdParty\Eigen\include\Eigen\src\Core\products\GeneralBlockPanelKernel.h:604: error: unable to find string literal operator 'operator""X' with 'const char [2]', 'long long unsigned int' arguments EIGEN_ASM_COMMENT("mybegin2");
D:\Libraries\PCL_1.6.0\3rdParty\Eigen\include\Eigen\src\Core\products\GeneralBlockPanelKernel.h:640: error: unable to find string literal operator 'operator""X' with 'const char [2]', 'long long unsigned int' arguments EIGEN_ASM_COMMENT("myend");
D:\Libraries\PCL_1.6.0\3rdParty\Eigen\include\Eigen\src\Core\products\GeneralBlockPanelKernel.h:644: error: unable to find string literal operator 'operator""X' with 'const char [2]', 'long long unsigned int' arguments EIGEN_ASM_COMMENT("mybegin4");
Can you please help me to solve the problem?