← Getting Started/Build/Windows/Building DBus You do not have permission to edit this page, for the following reason: The action you have requested is limited to users in one of the groups: Users, Administrators, trusted, KDEDevelopers. You can view and copy the source of this page. First, be sure you have installed [http://techbase.kde.org/Getting_Started/Build/KDE4/Windows/3rd-party_libraries win32libs]. Instructions below apply to msvc and mingw. '''msvc and mingw:''' Either *Download the latest [http://sourceforge.net/project/showfiles.php?group_id=171968 winDBus sources] (which are already patched) and extract them into place like <tt>C:\svn\windbus</tt>, or *Get the latest [http://sourceforge.net/svn/?group_id=171968 svn sources]; in this case use<br/><tt><nowiki>svn co https://windbus.svn.sourceforge.net/svnroot/windbus/trunk windbus</nowiki></tt> '''msvc and mingw:''' Creating the build dir. Once you have the source code, <pre> cd c:\svn\windbus patch -p0 < DBus-win32.patch cd .. mkdir windbus-build cd windbus-build cmake -G "Visual Studio 8 2005" ..\windbus\cmake\ </pre> (use <tt>-G "MinGW Makefiles"</tt> for the mingw compiler) '''msvc and mingw:''' for debug build, add -DCMAKE_BUILD_TYPE=Debug before "-G". '''msvc:''' <tt>dbus.sln</tt> solution file will be created. Build and '''install''' the Debug and Release builds with the IDE. You can switch between the Debug and Release configuration in the <tt>Build -> Configuration Manager</tt> menu. '''msvc tip:''' to perform compilation and installation from the command line, type: devenv /build Debug /project INSTALL dbus.sln devenv /build Release /project INSTALL dbus.sln '''msvc:''' then use<pre> nmake nmake install </pre> (in the build directory) '''mingw:''' then use<pre> mingw32-make mingw32-make install </pre> (in the build directory) Default target for the installation is <tt>%PROGRAMFILES%\dbus</tt>. Template used on this page: Template:Moved To Community (view source) Return to Getting Started/Build/Windows/Building DBus. Retrieved from "https://techbase.kde.org/Getting_Started/Build/Windows/Building_DBus"