compile error with recent dbus svn code
Ralf Habacker
ralf.habacker at freenet.de
Sat Jul 12 11:32:58 CEST 2008
Hi,
I'm trying to compile dbus from recent svn sources running emerge
--buildtype=Debug --update dbus-src and got the following errors:
-- Configuring done
-- Generating done
-- Build files have been written to:
E:/daten/kde/emerge-msvc-root/tmp/dbus-src-1.1.2.20080216/work/msvc2005-Debug
Scanning dependencies of target dbus-1
[ 0%] Building C object
dbus/CMakeFiles/dbus-1.dir/C_/downloads/kde/svn-src/dbus-src/trunk/dbus/dbus-address.obj
dbus-address.c
C:\downloads\kde\svn-src\dbus-src\trunk\dbus\dbus-address.c(702) : error
C2065: 'DBUS_ERROR_INIT' : undeclared identifier
C:\downloads\kde\svn-src\dbus-src\trunk\dbus\dbus-address.c(702) : error
C2440: 'initializing' : cannot convert from 'int' to 'DBusError'
NMAKE : fatal error U1077: 'C:\PROGRA~1\MID05A~1\VC\bin\cl.exe' : return
code '0x2'
I can only fix this and similar errors by adding dbus-errors.h and
dbus-protocol.h in config.h.cmake.
But then there are other errors:
[ 50%] Built target dbus-test
[ 51%] Building C object
bus/CMakeFiles/bus-test.dir/C_/downloads/kde/svn-src/dbus-src/trunk/bus/activation.obj
activation.c
E:\daten\kde\emerge-msvc-root\tmp\dbus-src-1.1.2.20080216\work\msvc2005-Debug\config.h(185)
: fatal error C1083: Cannot open include file: 'dbus-errors.h': No such
file or directory
Does anyone have an idea what's going wrong - especially because thjere
were no such problems in the past
Ralf
More information about the Kde-windows
mailing list