Open krcwrhvgyxzqelljes opened 1 month ago
Hi,
~/linuxcnc/src/libnml/posemath/posemath.h Line 978
The problem is that same name is used in qt libraries.
Can you rename this to :
Then it compiles along with qt libraries and problem is solved.
~/qt-creator/5.15.1/gcc_64/include/QtCore/qvariant.h line 324 : QLine toLine() const;
Compile ouput: error: expected ';' at end of declaration list QLine toLine() const;
These toLine etc... macros shouldn't be macros in the first place and they should be moved inside the #ifdef __cplusplus block.
Hi,
~/linuxcnc/src/libnml/posemath/posemath.h Line 978
The problem is that same name is used in qt libraries.
define toLine(src,dst) {toPose((src).start, &((dst)->start)); toPose((src).end, &((dst)->end)); toCart((src).uVec, &((dst)->uVec));}
Can you rename this to :
define toLine_(src,dst) {toPose((src).start, &((dst)->start)); toPose((src).end, &((dst)->end)); toCart((src).uVec, &((dst)->uVec));}
Then it compiles along with qt libraries and problem is solved.
~/qt-creator/5.15.1/gcc_64/include/QtCore/qvariant.h line 324 : QLine toLine() const;
Compile ouput: error: expected ';' at end of declaration list QLine toLine() const;