DBus problems

Andreas Pakulat apaku at gmx.de
Tue Jun 19 21:15:05 CEST 2007


On 19.06.07 21:08:20, Christian Ehrlicher wrote:
> Andrew Berg schrieb:
> >After configuring Qt (I used configure.exe included with the binary
> >release) because soprano, strigi, and qca complained about not finding
> >Qt components, with
> >configure -openssl -I "C:\dep\GnuWin32\include\openssl" -L
> >"C:\dep\GnuWin32\bin" -qdbus -I "c:\dep\dbus\include\dbus" -L
> >"C:\dep\dbus\bin".
> >I ran mingw32-make, but it (after hours of compiling), returned:
> >>g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE
> >>-DQT_LARGEFILE_SUPPORT -DQT_SHARED -DQT_NO_CAST_TO_ASCII
> >>-DQT_NO_CAST_FROM_ASCII -DQDBUS_MAKEDLL
> >>-DDBUS_API_SUBJECT_TO_CHANGE -DQT_DLL -DQT_XML_LIB -DQT_CORE_LIB
> >>-DQT_THREAD_SUPPORT -I"..\..\..\include\QtCore"
> >>-I"..\..\..\include\QtCore" -I"..\..\..\include\ QtXml"
> >>-I"..\..\..\include\QtXml" -I"..\..\..\include"
> >>-I"c:\dep\GnuWin32\include\openssl" -I"c:\dep\dbus\include\dbus"
> >>-I"." -I"c:\Program Files\dbus\includ e"
> >>-I"..\..\..\include\ActiveQt" -I"tmp" -I"."
> >>-I"..\..\..\mkspecs\win32-g++" -o
> >>tmp\obj\debug_shared\qdbusconnection.o qdbusconnection.cpp In file
> >>included from qdbusconnection.cpp:33: qdbusconnection_p.h:52:23:
> >>dbus/dbus.h: No such file or directory In file included from
> >>qdbusconnection.cpp:33: qdbusconnection_p.h:70: error: field
> >>`error' has incomplete type qdbusconnection_p.h: In constructor
> >>`QDBusErrorInternal::QDBusErrorInternal()': qdbusconnection_p.h:73:
> >>error: `error' was not declared in this scope
> >There were a ton of other errors with qdbusconnection_p.h, but it's
> >probably not necessary to list them all. I have the Oct 11 2006 build
> >of windbus, which seems to be the latest. I also downloaded the
> >"Library for MinGW and MSVC" package.
> >Sorry to put it on the list again, but I'm really stuck because if I
> >can't reconfigure/recompile Qt, I can't compile much of anything else.
> What's the problem with this error message?
> 
> >> dbus/dbus.h: No such file or directory In file included from
> 
> I would say there is no dbus/dbus.h inside "c:\dep\dbus\include\dbus"

And to give you a more direct hint: You probably want -I
"C:\dep\dbus\include" (i.e. without the trailing dbus).

Andreas

-- 
You are capable of planning your future.



More information about the Kde-windows mailing list