Bruce Labitt writes: > Bruce Labitt wrote: > > I need to make up a set of scale drawings for a workshop I'm setting > > up. Does anyone have some experience with architectural drawing > > package that is affordable / cheap / free ? I used to have an ancient > > copy of Generic Cadd that ran on DOS. It was quite powerful. > > Anything available for Linux? I need a big step up from pencil. > > > > Anyone have experience on getting one of the ~$49 CAD software > > packages for sale for that other OS to run in Linux? > > _______________________________________________ > > gnhlug-discuss mailing list > > gnhlug-discuss@mail.gnhlug.org > > http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss > > > I'm attempting to compile QCAD. I get an error about iso c++ not > supporting 'long long's > > In file included from /usr/lib/qt3/include/qobjectdefs.h:42, > from /usr/lib/qt3/include/qobject.h:42, > from actions/rs_actioninterface.h:31, > from actions/rs_actioninterface.cpp:28: > /usr/lib/qt3/include/qglobal.h:714: error: ISO C++ does not support > `long long' > /usr/lib/qt3/include/qglobal.h:715: error: ISO C++ does not support > `long long' > > So I googled "compile qcad" and found a thread at > http://groups.yahoo.com/group/qcad-user/message/1406 . > It said to > > grep -rn "-pedantic" <the source directory> > go to the file with -pedantic in it and delete -pedantic (it's a > compiler switch) > compile, that should do it. > > > I'm sure it is that I am a total novice at this... I go to the > directory where I have the source installed and execute > > grep -rn "-pedantic" * > > grep tells me: > grep: invalid option -- p > Usage: grep [OPTION]... PATTERN [FILE]... > Try `grep --help' for more information. > > This wasn't too helpful ;) at least not for me... Can anyone offer a > helpful hint? Be gentle, I only hack about at this after hours. I did > try enclosing in double quotes, same answer... > > Thanks!
Yep, just downloaded qcad-2.0.5.0-1-community.src.tar.gz and I get: $ cd scripts $ QMAKESPEC=/usr/share/qt3/mkspecs/linux-g++ QTDIR=/usr/share/qt3 ./build_qcad.sh [...] make[2]: Entering directory `/home/pmg/tmp/qcad-2.0.5.0-1-community.src/qcadlib/src' g++ -c -pipe -pedantic -Wall -W -O2 -DRS_NO_COMPLEX_ENTITIES -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT -I/usr/share/qt3/mkspecs/linux-g++ -I. -I../include -I../../dxflib/include -I../../fparser/include -I../../qcadcmd/include -I/usr/include/qt3 -Imoc/ -o obj/rs_actioninterface.o actions/rs_actioninterface.cpp In file included from /usr/include/qt3/qobjectdefs.h:42, from /usr/include/qt3/qobject.h:42, from actions/rs_actioninterface.h:31, from actions/rs_actioninterface.cpp:28: /usr/include/qt3/qglobal.h:712: error: ISO C++ does not support `long long' /usr/include/qt3/qglobal.h:713: error: ISO C++ does not support `long long' make[2]: *** [obj/rs_actioninterface.o] Error 1 make[2]: Leaving directory `/home/pmg/tmp/qcad-2.0.5.0-1-community.src/qcadlib/src' make[1]: *** [lib/libqcad.a] Error 2 make[1]: Leaving directory `/home/pmg/tmp/qcad-2.0.5.0-1-community.src/qcadlib' make: *** [all] Error 2 Building qcadlib failed $ The change needed is in: qcad-2.0.5.0-1-community.src/mkspecs/defs.pro: QMAKE_CXXFLAGS_DEBUG += -pedantic QMAKE_CXXFLAGS += -pedantic just comment out those 2 lines and it should build fine. -- Dave _______________________________________________ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss