- Status Closed
- Percent Complete
- Task Type Bug Report
- Category QCAD (main)
-
Assigned To
Andrew - Operating System Linux (All / Other)
- Severity Medium
- Priority Very Low
- Reported Version Development
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: QCAD Bugtracker
Opened by Anonymous Submitter - 25.07.2011
Last edited by Andrew - 31.07.2011
Opened by Anonymous Submitter - 25.07.2011
Last edited by Andrew - 31.07.2011
FS#148 - "inline" leads to linking error on Linux
RPainterPath.h
inline bool isEmpty() const;
g++ -rdynamic -Wl,-rpath,/home/martin/opt/QtSDK/Desktop/Qt/473/gcc/lib -o ../../debug/qcad-bin debug/main.o -L/home/martin/opt/QtSDK/Desktop/Qt/473/gcc/lib -L/usr/X11R6/lib -L/home/martin/workspace/rsframework/debug -L/home/martin/workspace/rsframework/debug/opendesign -lecma -lecmaapi -ldwg -lpluginsqt -lgui -lentity -loperations -lspatialindexnavel -lgrid -lsnap -lcore -lstemmer -lmath -lrxslt -lrxml -ldxf -lModelerGeometry -lTD_BrepRenderer -lTD_Br -lTD_AcisBuilder -lTD_Db -lTD_DbRoot -lTD_Gs -lTD_SpatialIndex -lTD_Gi -lTD_Ge -lTD_Root -lFreeType -lTD_Alloc -lRecomputeDimBlock -lExFieldEvaluator -lQtWebKit -lQtScript -lQtScriptTools -lQtSvg -lQtSql -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtNetwork -lQtCore -lGLU -lGL -lpthread /home/martin/workspace/rsframework/debug/libecmaapi.a(REcmaPainterPath.o): In function `REcmaPainterPath::isEmpty(QScriptContext*, QScriptEngine*)': /home/martin/workspace/rsframework/src/scripting/ecmaapi/REcmaPainterPath.cpp:2078: undefined reference to `RPainterPath::isEmpty() const' /home/martin/workspace/rsframework/debug/libgui.a(RGraphicsSceneQt.o): In function `RGraphicsSceneQt::endPath()': /home/martin/workspace/rsframework/src/gui/RGraphicsSceneQt.cpp:71: undefined reference to `RPainterPath::isEmpty() const' /home/martin/workspace/rsframework/src/gui/RGraphicsSceneQt.cpp:74: undefined reference to `RPainterPath::isEmpty() const' /home/martin/workspace/rsframework/debug/libentity.a(RHatchData.o): In function `RHatchData::getBoundingBox() const': /home/martin/workspace/rsframework/src/entity/RHatchData.cpp:104: undefined reference to `RPainterPath::isEmpty() const' /home/martin/workspace/rsframework/debug/libentity.a(RHatchData.o): In function `RHatchData::getDistanceTo(RVector const&, bool, double, bool) const': /home/martin/workspace/rsframework/src/entity/RHatchData.cpp:127: undefined reference to `RPainterPath::isEmpty() const' /home/martin/workspace/rsframework/debug/libentity.a(RHatchData.o):/home/martin/workspace/rsframework/src/entity/RHatchData.cpp:134: more undefined references to `RPainterPath::isEmpty() const' follow collect2: ld returned 1 exit status
temporary solution: changed method to non-line