<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Am 18.04.2015 um 18:55 schrieb rony:<br>
<blockquote cite="mid:55328C65.8040304@wu.ac.at" type="cite">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
Hi there,<br>
<br>
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:<br>
<blockquote>
<pre>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</pre>
</blockquote>
The output of the above is:<br>
<blockquote>
<pre>-- 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)
</pre>
</blockquote>
</blockquote>
I filed a bug at <a class="moz-txt-link-freetext" href="https://bugs.freedesktop.org/show_bug.cgi?id=90089">https://bugs.freedesktop.org/show_bug.cgi?id=90089</a>
and added a few patches.
<blockquote cite="mid:55328C65.8040304@wu.ac.at" type="cite">
<blockquote> </blockquote>
Any hint/help highly appreciated!<br>
</blockquote>
<br>
Please check if they are working for you.<br>
<br>
Thanks for reporting bugs.<br>
<br>
---Ralf<br>
<br>
</body>
</html>