<div dir="ltr"><div><div><div><div><div>Hi guys<br><br></div>I get the following error while building 2.10 on OSX with Homebrew:<br><br>[ 51%] Building CXX object src/providers/grass/6/CMakeFiles/qgisgrass6.dir/__/qgsgrassdatafile.cpp.o<br>cd /tmp/qgis-21020150818-13516-6fgnoh/QGIS-final-2_10_1/build/src/providers/grass/6 && /usr/local/Library/ENV/4.3/clang++   -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WEBKIT_LIB -DQT_XML_LIB -DWITH_QTWEBKIT -Dqgisgrass6_EXPORTS -I'/usr/local/opt/gettext/include' -F/usr/local/opt/qt/lib  -DSPATIALITE_VERSION_GE_4_0_0 -DSPATIALITE_VERSION_G_4_1_1 -DSPATIALITE_HAS_INIT_EX -std=c++11 -Wno-error=c++11-narrowing -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -fPIC -isystem /usr/local/Cellar/qt/4.8.7/include -iframework /usr/local/Cellar/qt/4.8.7/lib -isystem /usr/local/Cellar/qt/4.8.7/include/QtSvg -isystem /usr/local/Cellar/qt/4.8.7/include/QtWebKit -isystem /usr/local/Cellar/qt/4.8.7/include/QtGui -isystem /usr/local/Cellar/qt/4.8.7/include/QtXml -isystem /usr/local/Cellar/qt/4.8.7/include/QtSql -isystem /usr/local/Cellar/qt/4.8.7/include/QtNetwork -isystem /usr/local/Cellar/qt/4.8.7/lib/QtCore.framework/Headers -I/tmp/qgis-21020150818-13516-6fgnoh/QGIS-final-2_10_1/build -I/tmp/qgis-21020150818-13516-6fgnoh/QGIS-final-2_10_1/src/providers/grass/../../core -I/tmp/qgis-21020150818-13516-6fgnoh/QGIS-final-2_10_1/src/providers/grass/../../core/geometry -I/tmp/qgis-21020150818-13516-6fgnoh/QGIS-final-2_10_1/src/providers/grass/../../core/raster -I/tmp/qgis-21020150818-13516-6fgnoh/QGIS-final-2_10_1/src/providers/grass/../../gui -I/usr/local/include -I/usr/local/Cellar/postgresql/9.4.4/include -I/tmp/qgis-21020150818-13516-6fgnoh/QGIS-final-2_10_1/build/src/providers/grass -I/usr/local/opt/grass-64/grass-6.4.4/include -I/tmp/qgis-21020150818-13516-6fgnoh/QGIS-final-2_10_1/build/src/providers/grass/6    -DCORE_EXPORT= -DGUI_EXPORT= -DPYTHON_EXPORT= -DANALYSIS_EXPORT= -DAPP_EXPORT= -DCUSTOMWIDGETS_EXPORT= -DSERVER_EXPORT= -DGRASS_BASE=\"/usr/local/opt/grass-64/grass-6.4.4\" "-DGRASS_LIB_EXPORT=__attribute__ ((visibility (\"default\")))" "-DGRASS_EXPORT=" -o CMakeFiles/qgisgrass6.dir/__/qgsgrassdatafile.cpp.o -c /tmp/qgis-21020150818-13516-6fgnoh/QGIS-final-2_10_1/src/providers/grass/qgsgrassdatafile.cpp<br>/tmp/qgis-21020150818-13516-6fgnoh/QGIS-final-2_10_1/src/providers/grass/qgsgrassdatafile.cpp:76:7: error: unknown type name 'fd_set'<br>      fd_set readFds;<br>      ^<br>/tmp/qgis-21020150818-13516-6fgnoh/QGIS-final-2_10_1/src/providers/grass/qgsgrassdatafile.cpp:78:22: error: variable has incomplete type 'struct timeval'<br>      struct timeval tv;<br>                     ^<br>/tmp/qgis-21020150818-13516-6fgnoh/QGIS-final-2_10_1/src/providers/grass/qgsgrassdatafile.cpp:78:14: note: forward declaration of 'timeval'<br>      struct timeval tv;<br>             ^<br>2 errors generated.<br>make[2]: *** [src/providers/grass/6/CMakeFiles/qgisgrass6.dir/__/qgsgrassdatafile.cpp.o] Error 1<br>make[1]: *** [src/providers/grass/6/CMakeFiles/qgisgrass6.dir/all] Error 2<br>make[1]: *** Waiting for unfinished jobs....<br><br><br></div>While doing a search on google, I found that that came up with the guys over at macports as well.  <br><br></div>Any ideas.<br><br></div>I am using the download from QGIS website (2.10.1), and not the github master.<br><br></div>Pieter<br></div>