errors from mak/gcc compiling qcad
I am getting errors from the compiler when building qcad
Here is the output showing the last successful lines and then the errors. Where should I start looking for the problem? Thanks """""""""" make ./lib/libqcad.a make[1]: Entering directory `/home/glen/bin/qcad-2.0.1.3-1.src/qcadlib' make src/Makefile make[2]: Entering directory `/home/glen/bin/qcad-2.0.1.3-1.src/qcadlib' make[2]: `src/Makefile' is up to date. make[2]: Leaving directory `/home/glen/bin/qcad-2.0.1.3-1.src/qcadlib' cd src && make make[2]: Entering directory `/home/glen/bin/qcad-2.0.1.3-1.src/qcadlib/src' g++ -c -pipe -Wall -W -DNO_COMPLEX_ENTITIES -DQT_NO_DEBUG -I../include -I../../dxflib/include -I../../fparser/include -I../../qcadcmd/include -I/usr/lib/qt3-gcc3.2/include -Imoc/ -I/usr/lib/qt3-gcc3.2/mkspecs/linux-g++ -o obj/rs_dimension.o engine/rs_dimension.cpp /usr/lib/qt3-gcc3.2/include/qstring.h: In member function `QString RS_Dimension::getLabel()': /usr/lib/qt3-gcc3.2/include/qstring.h:607: `QString& QString::replace(const QString&, const QString& )' is private engine/rs_dimension.cpp:64: within this context make[2]: *** [obj/rs_dimension.o] Error 1 make[2]: Leaving directory `/home/glen/bin/qcad-2.0.1.3-1.src/qcadlib/src' make[1]: *** [lib/libqcad.a] Error 2 make[1]: Leaving directory `/home/glen/bin/qcad-2.0.1.3-1.src/qcadlib' make: *** [all] Error 2 Building libqcad.a failed |
It would appear to me that something in the rs_dimension.cpp file is referencing the replace routine on a QString and it says that routine is private, thus can't be used.
Why this is happening I cannot say. Looking at the QT API that function is definitly a public member function of the QString class. Here is the doc on it from the QT API: Code:
QString & QString::replace ( const QString & before, const QString & after ) |
All times are GMT -5. The time now is 12:37 AM. |