Hi All:
When attempting to compile QCAD community edition on my Linux machine running Mandriva 2007.0, I was getting the same error that others had reported, namely:
Code: Select all
ISO C++ does not support 'long long'
After a bit of Googling, I found that I could make this go away by modifying the mkspecs/defs.pro file in the directory where I had unpacked the source tarball. At the top of the file, you will see these lines:
Code: Select all
QMAKE_CXXFLAGS_DEBUG += -pedantic
QMAKE_CXXFLAGS += -pedantic
I commented these out, i.e. so that they now look like this:
Code: Select all
#QMAKE_CXXFLAGS_DEBUG += -pedantic
#QMAKE_CXXFLAGS += -pedantic
I then re-ran the build script and everything worked with no further errors. Obviously, with a piece of software as complex as QCAD, there's no guarantee that this change won't break some feature or other, but at least having it compile and run without problems is a good start.
Hope this helps someone, somewhere...
Phil Edwards
Brighton, UK