Building lates D-Bus for Windows with MS yields a fatal error for not finding 'sys/types.h sys/socket.h'

Ralf Habacker ralf at habacker.de
Sat Apr 18 13:00:49 PDT 2015


Am 18.04.2015 um 18:55 schrieb rony:
> Hi there,
>
> attempting to create a Windows version of the latest DBus code yields
> a fatal error while CMake is trying to create the Makefile (for MS
> Visual C compiler) with:
>
>     cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=E:/Programme/dbus-20150418 -DEXPAT_INCLUDE_DIR=E:/Programme/Expat_2.1.0/Source/lib F:/work/git/dbus-win-20150418/dbus/cmake
>
> The output of the above is:
>
>     -- The C compiler identification is MSVC 16.0.30319.1
>     -- The CXX compiler identification is MSVC 16.0.30319.1
>     -- Check for working C compiler: E:/Programme/Microsoft Visual Studio 10.0/VC/bin/cl.exe
>     -- Check for working C compiler: E:/Programme/Microsoft Visual Studio 10.0/VC/bin/cl.exe -- works
>     -- Detecting C compiler ABI info
>     -- Detecting C compiler ABI info - done
>     -- Check for working CXX compiler: E:/Programme/Microsoft Visual Studio 10.0/VC/bin/cl.exe
>     -- Check for working CXX compiler: E:/Programme/Microsoft Visual Studio 10.0/VC/bin/cl.exe -- works
>     -- Detecting CXX compiler ABI info
>     -- Detecting CXX compiler ABI info - done
>     CMake Error at modules/MacrosAutotools.cmake:121 (file):
>       file Internal CMake error when trying to open file:
>       F:/work/git/dbus-win-20150418/dbus/cmake/../config.h.in for reading.
>     Call Stack (most recent call first):
>       CMakeLists.txt:27 (autoheaderchecks)
>
I filed a bug at https://bugs.freedesktop.org/show_bug.cgi?id=90089 and
added a few patches.
>
> Any hint/help highly appreciated!

Please check if they are working for you.

Thanks for reporting bugs.

---Ralf

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20150418/e2a84f6e/attachment.html>


More information about the dbus mailing list