Something wrong when I 'make' jpsvis
Dear colleagues, How are you doing these days? I have a problem when I compile JPSVIS on a ubuntu 14.04 system. I already compile JPSCORE successfully on the system, and I already install qt5 and vtk6. 'cmake' is OK, but 'make' is failed because of the follow error:
n file included from /usr/include/c++/8/vector:64,
from /usr/include/qt5/QtCore/qmetatype.h:56,
from /usr/include/qt5/QtCore/qobject.h:56,
from /usr/include/qt5/QtCore/qabstractanimation.h:45,
from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtXml/QtXmlDepends:2,
from /usr/include/qt5/QtXml/QtXml:3,
from /home/huang/git/jpsvis/src/SaxParser.h:33,
from /home/huang/git/jpsvis/src/SaxParser.cpp:30:
/usr/include/c++/8/bits/stl_vector.h:1748:5: note: candidate: ‘template<class _Tp, class _Alloc> bool std::operator==(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)’
operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
^~~~~~~~
/usr/include/c++/8/bits/stl_vector.h:1748:5: note: template argument deduction/substitution failed:
/home/huang/git/jpsvis/src/SaxParser.cpp:1481:30: note: ‘QCharRef’ is not derived from ‘const std::vector<_Tp, _Alloc>’
if(line[0] == "#") // looking for framerate
May I ask what can I do to solve the problem? Thanks for your work. Best regards! Zhongyi Huang