I'm trying to access the source code of qcad to fit it to my academic project and am having some difficulties. I followed the steps outlined on the qcad.org website and would like suggestions on how to fix my error.
Here's a rundown of what I've done:
brew install dxflib (a prerequisite)
git clone [site] (the source code) (https://github.com/qcad/qcad)
downloaded qt-everywhere-opensource-src-4.8.4.tar.gz (extracted it and put it in /usr/local)
configured QT
make (this is where error came)
The error looks like this:
Code: Select all
Reading /Users/matthewdelorenzo/qcad/support/examples/transactionlistener/transactionlistener.pro
matthews-mbp-2:qcad matthewdelorenzo$ make
cd src/ && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile
cd 3rdparty/ && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile
cd spatialindexnavel/ && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.Release
clang++ -c -pipe -stdlib=libc++ -mmacosx-version-min=10.7 -mmacosx-version-min=10.6 -O2 -arch x86_64 -w -fPIC -DQCAD_DLL -DPTHREADS -DHAVE_PTHREAD_H -DPACKAGE_BUGREPORT=\"[email protected]\" -DNDEBUG -DSPATIALINDEX_CREATE_DLL -DHAVE_BZERO -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WEBKIT_LIB -DQT_SCRIPT_LIB -DQT_SCRIPTTOOLS_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQDESIGNER_EXPORT_WIDGETS -DQT_SHARED -I/usr/local/Cellar/qt/4.8.6/mkspecs/unsupported/macx-clang-libc++ -I. -I/usr/local/Cellar/qt/4.8.6/lib/QtHelp.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtHelp.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtDesigner.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtDesigner.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/include/QtUiTools -I/usr/local/Cellar/qt/4.8.6/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtNetwork.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtNetwork.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtOpenGL.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtOpenGL.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtXml.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtXml.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtXmlPatterns.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtXmlPatterns.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtSql.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtSql.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtSvg.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtSvg.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtScriptTools.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtScriptTools.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtScript.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtScript.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtWebKit.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtWebKit.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/include -I../../core -I../../core/math -I../../grid -I../../snap -I../../gui -I../../entity -I../../operations -I../../scripting -I../../stemmer -I../../scripting/ecmaapi -I../../scripting/ecmaapi/generated -I../../scripting/ecmaapi/adapters -I../../io/dxf -I../../spatialindex -I../../3rdparty -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -Irelease -F/usr/local/Cellar/qt/4.8.6/lib -o release/RandomEvictionsBuffer.o src/storagemanager/RandomEvictionsBuffer.cc
clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)
make[4]: *** [release/RandomEvictionsBuffer.o] Error 1
make[3]: *** [release] Error 2
make[2]: *** [sub-spatialindexnavel-make_default-ordered] Error 2
make[1]: *** [sub-3rdparty-make_default-ordered] Error 2
make: *** [sub-src-make_default-ordered] Error 2
EDIT: I am running Mavericks 10.9.4 with homebrew installed.