Re: Building lates D-Bus for Windows with MS yields a fatal error for not finding 'sys/types.h sys/socket.h'
Ralf Habacker <ralf-aVxs2ipq/[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <[email protected]> |
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 _______________________________________________ dbus mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dbus