qt-ros:
/usr/include/boost/type_traits/ has_binary_operation.hp :50: Parse error at “BOOST_JOIN” error
temporary solution:
modify /usr/include/boost/type_traits/detail/ has_binary_operation.hpp file
namespace BOOST_JOIN(BOOST_TT_TRAIT_NAME,_impl) {
..
}
to p>
#ifndef Q_MOC_RUN
namespace BOOST_JOIN(BOOST_TT_TRAIT_NAME,_impl) {
#endif
…
#ifndef Q_MOC_RUN
}
#endif
Read More:
- Error resolution of ‘string’ does not name a type
- Gcc compiler warning solution: “extra tokens at end of ifndef directive” Tags: GCC, warning
- Analysis of the causes of errors in G + + compilation “was not declared in this scope”“
- Some small problems in using vs2017
- How to solve fatal error C1010!
- g++ error analysis error: unterminated #ifndef
- Error resolution: Error: redefinition of class xxx
- caffe deep learning [three] compilation error: fatal error: hdf5.h: No such file or directory compilation terminated.
- error C2784: ‘bool std::operator <(const std::_Tre
- Error: redefinition of class XXX
- error: ‘vector‘ was not declared in this scope|
- Error c2011: “a certain class”: redefinition of “class” type
- Error c2061: syntax error: identifier ‘this_ FILE’
- error C2065: ‘cout’ : undeclared identifier
- pthread_ Introduction and application of join function
- C++ ERROR redefinition of ‘class ***’
- UOS LTP compilation ustat test item error
- JS error: unexpected token u in JSON at position 0
- Vs cannot open the source file unistd. H under Windows
- CMake error: error in configuration process, project files may be invalid