Minor glitch in test/internals/printf.c and refs.c ...

rony rony at wu.ac.at
Thu Aug 7 07:00:39 PDT 2014


Hi Ralf,

On 07.08.2014 12:28, Ralf Habacker wrote:
> Am 07.08.2014 11:42, schrieb rony:
>> While trying to create DBus for Windows using CMake I stumbled over a minor glitch:
>>
>>       o #include "test-utils.h" which should be actually
>>       o #include "../test-utils.h"
>>       o the files "test/internal/printf.c" and "test/internal/refs.c" contain the include statement
>>
>> otherwise they cannot successfully compile and the entire build process stops at that point.
>>

Oh, o.k
> It would be nice to get some more informations about your build environment:
> 1. cmake version
> 1. compiler and version
> 2. dbus source version
Build environment: 32-bit Windows XP SP3.

CMake version: cmake version 3.0.0

    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


Compiler (command line): e:\Programme\Microsoft Visual Studio 10.0
- 32-bit: Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86
- 64-bit: Microsoft (R) C/C++ Optimizing Compiler Version 14.00.40310.41 for AMD64

dbus source: as of this week, version 1.8.99, checked out with "git clone
git://anongit.freedesktop.org/dbus/dbus"

---

Add your suggestion (in the later e-mail of yours) of adding

    include_directories(${CMAKE_SOURCE_DIR}/../test)

into <dbus-src>/cmake/test/CMakeLists.txt: yes, this resolves the issue (worked on a new git clone
and applied the change as directed)!

---

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!
(The last time, three years ago, building DBus for Windows was an incredible effort.)

Best regards,

---rony




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20140807/0ffc36e8/attachment-0001.html>


More information about the dbus mailing list