<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Ralf,<br>
<br>
<div class="moz-cite-prefix">On 07.08.2014 12:28, Ralf Habacker
wrote:<br>
</div>
<blockquote cite="mid:53E354C5.3050400@freenet.de" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Am 07.08.2014 11:42, schrieb rony:<br>
</div>
<blockquote cite="mid:53E34A16.1060404@wu.ac.at" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
While trying to create DBus for Windows using CMake I stumbled
over a minor glitch: <br>
<ul>
<ul>
<li>#include "test-utils.h" which should be actually <br>
</li>
<li>#include "../test-utils.h"</li>
<li>the files "test/internal/printf.c" and
"test/internal/refs.c" contain the include statement <br>
</li>
</ul>
</ul>
<p>otherwise they cannot successfully compile and the entire
build process stops at that point.<br>
</p>
</blockquote>
</blockquote>
<br>
Oh, o.k<br>
<blockquote cite="mid:53E354C5.3050400@freenet.de" type="cite"> It
would be nice to get some more informations about your build
environment:<br>
1. cmake version<br>
1. compiler and version<br>
2. dbus source version <br>
</blockquote>
Build environment: 32-bit Windows XP SP3.<br>
<br>
CMake version: cmake version 3.0.0<br>
<blockquote>cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=E:/Programme/dbus-20140805
-DEXPAT_INCLUDE_DIR=E:/Programme/Expat_2.1.0/Source/lib
F:/work/git/dbus-win-20140805/dbus/cmake<br>
</blockquote>
<br>
Compiler (command line): e:\Programme\Microsoft Visual Studio 10.0<br>
- 32-bit: Microsoft (R) 32-bit C/C++ Optimizing Compiler Version
16.00.30319.01 for 80x86<br>
- 64-bit: Microsoft (R) C/C++ Optimizing Compiler Version
14.00.40310.41 for AMD64<br>
<br>
dbus source: as of this week, version 1.8.99, checked out with "git
clone git://anongit.freedesktop.org/dbus/dbus"<br>
<br>
---<br>
<br>
Add your suggestion (in the later e-mail of yours) of adding <br>
<blockquote>include_directories(${CMAKE_SOURCE_DIR}/../test)</blockquote>
into <dbus-src>/cmake/test/CMakeLists.txt: yes, this resolves
the issue (worked on a new git clone and applied the change as
directed)!<br>
<br>
---<br>
<br>
Let me also add my kudos to you and the persons who integrated the
Windows build, which is really a *great* improvement and a big, big
help! <br>
(The last time, three years ago, building DBus for Windows was an
incredible effort.)<br>
<br>
Best regards,<br>
<br>
---rony<br>
<br>
<br>
<br>
<br>
</body>
</html>