[Qgis-user] 2.10 Build error on OSX
Radim Blazek
radim.blazek at gmail.com
Tue Aug 18 08:06:15 PDT 2015
On Tue, Aug 18, 2015 at 4:09 PM, Pieter du Plooy <pjduplooy at zpanelcp.com> wrote:
> Hi guys
>
> I get the following error while building 2.10 on OSX with Homebrew:
>
> /tmp/qgis-21020150818-13516-6fgnoh/QGIS-final-2_10_1/src/providers/grass/qgsgrassdatafile.cpp:76:7:
> error: unknown type name 'fd_set'
> fd_set readFds;
The problem is that #ifdef using Q_OS_UNIX is before <QtGlobal> header
file where it is defined was included. Larry Shaffer fixed that in
master https://github.com/qgis/QGIS/commit/d722f5bd4b8. Apply that
patch or add #include <QtGlobal> at top of the file.
It seems that sys/select.h gets always included in other way on Linux.
Radim
More information about the Qgis-user
mailing list