<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.sim-im.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Berniyh</id>
	<title>Sim-Im - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://www.sim-im.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Berniyh"/>
	<link rel="alternate" type="text/html" href="http://www.sim-im.org/index.php?title=Special:Contributions/Berniyh"/>
	<updated>2026-04-28T15:20:41Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.9</generator>
	<entry>
		<id>http://www.sim-im.org/index.php?title=Building_with_CMake&amp;diff=2267</id>
		<title>Building with CMake</title>
		<link rel="alternate" type="text/html" href="http://www.sim-im.org/index.php?title=Building_with_CMake&amp;diff=2267"/>
		<updated>2008-01-30T15:13:12Z</updated>

		<summary type="html">&lt;p&gt;Berniyh: /* Building for Linux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building for Linux ==&lt;br /&gt;
===Requirements===&lt;br /&gt;
* [http://subversion.tigris.org/ Subversion] (If you want to build the latest revision.)&lt;br /&gt;
* [http://www.cmake.org CMake 2.4] (Version 2.4.7 recommend.)&lt;br /&gt;
* [http://doc.trolltech.com/3.3/aboutqt.html Qt3] &lt;br /&gt;
* [http://gcc.gnu.org GCC] (Version 4.1 or 4.2 recommend.)&lt;br /&gt;
* [http://xmlsoft.org LibXML2]&lt;br /&gt;
* [http://xmlsoft.org/XSLT LibXSLT]&lt;br /&gt;
* [http://www.zlib.net zlib] &lt;br /&gt;
* [http://www.x.org libXScrnSaver]&lt;br /&gt;
Note: If you use binary packages for these dependencies you will need the header packages (normally named package-dev or package-devel) of these packages, too.&lt;br /&gt;
You might also need header packages of dependencies of these, for example:&lt;br /&gt;
* [http://www.libpng.org/ libpng] (Dependency of QT3)&lt;br /&gt;
* [http://www.libmng.com/ libmng] (Dependency of QT3)&lt;br /&gt;
* Maybe others&lt;br /&gt;
&lt;br /&gt;
Optional Packages:&lt;br /&gt;
* [http://www.openssl.org OpenSSL] (For using encrypted connections, some plugins need this.)&lt;br /&gt;
* [http://aspell.net/win32/ ASpell] (If you want spell checking and are not using KDE.)&lt;br /&gt;
* [http://www.kde.org kdelibs] (For KDE integration.)&lt;br /&gt;
* [http://www.gnupg.org GnuPG] (Not required at build time; required if you want to use GPG encryption for messages.)&lt;br /&gt;
&lt;br /&gt;
===Compilation===&lt;br /&gt;
&lt;br /&gt;
First create a build dir &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;mkdir -p sim/source sim/build&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Put the source code in the source dir, cd to the build dir and run:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;code&amp;gt;cmake ../source&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That will run cmake's configure checks which will check if you have got every programs/libraries/headers,that are needed to compile sim.&lt;br /&gt;
If you want to tune some of the variables, you can either use the interactive mode of cmake&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;cmake -i ../source&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or you can use cmake's nice gui:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;ccmake ../source&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that is done just run&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
in the build dir to build sim. When it finished, run&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;make install&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to install sim.&lt;br /&gt;
&lt;br /&gt;
==Building for Windows ==&lt;br /&gt;
===Requirements===&lt;br /&gt;
* [http://tortoisesvn.tigris.org TortoiseSVN] for getting the Sources &lt;br /&gt;
* [http://www.cmake.org CMake 2.4.2]&lt;br /&gt;
* [http://doc.trolltech.com/3.3/aboutqt.html Qt3] for your platform ([http://sourceforge.net/projects/qtwin Q.../Free] will be fine)&lt;br /&gt;
* A supported compiler ([http://mingw.org/download.shtml MinGW] or [http://en.wikipedia.org/wiki/Visual_Studio Visual Studio] &amp;gt;= 7) &lt;br /&gt;
* [http://xmlsoft.org LibXML2]&lt;br /&gt;
* [http://xmlsoft.org/XSLT LibXSLT]&lt;br /&gt;
* [http://www.zlib.net zlib] &lt;br /&gt;
* [http://sourceforge.net/project/showfiles.php?group_id=25167 gettext &amp;amp; iconv for win32]&lt;br /&gt;
* [http://www.openssl.org OpenSSL] (optional, required for some plugins) &lt;br /&gt;
* [http://aspell.net/win32/ ASpell] (optional, required for spell plugin)&lt;br /&gt;
&lt;br /&gt;
=== Environment ===&lt;br /&gt;
Once you've installed all requried packages, make sure you've set the following environment variables are correct:&lt;br /&gt;
* '''QTDIR''' - the path to your Qt3 installation &lt;br /&gt;
* '''CMAKE_INCLUDE_PATH''' -  paths to the headers of all installed packages&lt;br /&gt;
* '''CMAKE_LIBRARY_PATH''' - paths to the libraries of all installed packages&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 C:\&amp;gt;set&lt;br /&gt;
 QTDIR=&amp;lt;nowiki&amp;gt;[TODO: write an example value here]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 CMAKE_INCLUDE_PATH=D:\Programm\GnuWin32\Include;D:\Programm\OpneSSL\Include&lt;br /&gt;
 CMAKE_LIBRARY_PATH=D:\Programm\GnuWin32\Lib;D:\Programm\OpenSSL\Lib\MSVC&lt;br /&gt;
If some values are missing, use should set them using &amp;lt;code&amp;gt;set&amp;lt;/code&amp;gt; command:&lt;br /&gt;
  C:\&amp;gt;set QTDIR=&amp;lt;nowiki&amp;gt;[TODO: write an example value here]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
  C:\&amp;gt;set CMAKE_INCLUDE_PATH=%CMAKE_INCLUDE_PATH%;D:\Programm\OpneSSL\Include&lt;br /&gt;
&lt;br /&gt;
=== Compilation ===&lt;br /&gt;
After you've checked out the sources, create a new directory 'sim-im-build'. &lt;br /&gt;
Now you can call cmake (or cmakesetup on win32) by switching into 'sim-im-build': &lt;br /&gt;
 cmake ..\sim-im &lt;br /&gt;
When cmake is ready and all required packages were found you can start compiling sim with 'make' (or mingw32-make or nmake)&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
[[Building_with_Cmake_FAQ| Building with Cmake FAQ]]&lt;/div&gt;</summary>
		<author><name>Berniyh</name></author>
	</entry>
	<entry>
		<id>http://www.sim-im.org/index.php?title=Building_with_Cmake_FAQ&amp;diff=2266</id>
		<title>Building with Cmake FAQ</title>
		<link rel="alternate" type="text/html" href="http://www.sim-im.org/index.php?title=Building_with_Cmake_FAQ&amp;diff=2266"/>
		<updated>2008-01-25T01:56:15Z</updated>

		<summary type="html">&lt;p&gt;Berniyh: /* Q: How to build Sim-IM when both KDE4 and KDE3 are installed? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Linux ==&lt;br /&gt;
=== Q: How to build Sim-IM without KDE support? ===&lt;br /&gt;
&lt;br /&gt;
'''A:''' For Sim-IM 0.9.4.* and for old revisions of Sim-IM 0.9.5 you should use &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;cmake -D USE_KDE3:boolean=false&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and for Sim-IM 0.9.5 rev. 2106 or newer&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;cmake -D ENABLE_KDE3:boolean=false&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Q: How to build Sim-IM when both KDE4 and KDE3 are installed? ===&lt;br /&gt;
&lt;br /&gt;
'''A:''' You have to make sure, that both the KDEDIR and the KDEDIRS variables are set correctly, so, that cmake finds the correct libraries.&lt;br /&gt;
For example, if you installed kde3 in /opt/kde3 this might look like this:&lt;br /&gt;
 &amp;lt;code&amp;gt;export KDEDIR=&amp;quot;/opt/kde3&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
 &amp;lt;code&amp;gt;export KDEDIRS=&amp;quot;/usr:/usr/local:/opt/kde3&amp;lt;/code&amp;gt;&lt;br /&gt;
After that, run cmake as usual.&lt;br /&gt;
&lt;br /&gt;
=== Q: How to build Sim-IM with debug info? ===&lt;br /&gt;
'''A:''' &lt;br /&gt;
 &amp;lt;code&amp;gt;cmake -D CMAKE_BUILD_TYPE=Debug&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Berniyh</name></author>
	</entry>
	<entry>
		<id>http://www.sim-im.org/index.php?title=Building_with_CMake&amp;diff=2265</id>
		<title>Building with CMake</title>
		<link rel="alternate" type="text/html" href="http://www.sim-im.org/index.php?title=Building_with_CMake&amp;diff=2265"/>
		<updated>2008-01-23T13:13:34Z</updated>

		<summary type="html">&lt;p&gt;Berniyh: /* Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building for Linux ==&lt;br /&gt;
===Requirements===&lt;br /&gt;
* [http://subversion.tigris.org/ Subversion] (If you want to build the latest revision.)&lt;br /&gt;
* [http://www.cmake.org CMake 2.4] (Version 2.4.7 recommend.)&lt;br /&gt;
* [http://doc.trolltech.com/3.3/aboutqt.html Qt3] &lt;br /&gt;
* [http://gcc.gnu.org GCC] (Version 4.1 or 4.2 recommend.)&lt;br /&gt;
* [http://xmlsoft.org LibXML2]&lt;br /&gt;
* [http://xmlsoft.org/XSLT LibXSLT]&lt;br /&gt;
* [http://www.zlib.net zlib] &lt;br /&gt;
* [http://www.x.org libXScrnSaver]&lt;br /&gt;
Note: If you use binary packages for these dependencies you will need the header packages (normally named package-dev or package-devel) of these packages, too.&lt;br /&gt;
You might also need header packages of dependencies of these, for example:&lt;br /&gt;
* [http://www.libpng.org/ libpng] (Dependency of QT3)&lt;br /&gt;
* [http://www.libmng.com/ libmng] (Dependency of QT3)&lt;br /&gt;
* Maybe others&lt;br /&gt;
&lt;br /&gt;
Optional Packages:&lt;br /&gt;
* [http://www.openssl.org OpenSSL] (For using encrypted connections, some plugins need this.)&lt;br /&gt;
* [http://aspell.net/win32/ ASpell] (If you want spell checking and are not using KDE.)&lt;br /&gt;
* [http://www.kde.org kdelibs] (For KDE integration.)&lt;br /&gt;
* [http://www.gnupg.org GnuPG] (Not required at build time; required if you want to use GPG encryption for messages.)&lt;br /&gt;
&lt;br /&gt;
First create a build dir &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;mkdir -p sim/source sim/build&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Put the source code in the source dir, cd to the build dir and run:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;code&amp;gt;cmake ../source&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That will run cmake's configure checks which will check if you have got every programs/libraries/headers,that are needed to compile sim.&lt;br /&gt;
If you want to tune some of the variables, you can either use the interactive mode of cmake&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;cmake -i ../source&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or you can use cmake's nice gui:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;ccmake ../source&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that is done just run&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
in the build dir to build sim. When it finished, run&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;make install&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to install sim.&lt;br /&gt;
&lt;br /&gt;
==Building for Windows ==&lt;br /&gt;
===Requirements===&lt;br /&gt;
* [http://tortoisesvn.tigris.org TortoiseSVN] for getting the Sources &lt;br /&gt;
* [http://www.cmake.org CMake 2.4.2]&lt;br /&gt;
* [http://doc.trolltech.com/3.3/aboutqt.html Qt3] for your platform ([http://sourceforge.net/projects/qtwin Q.../Free] will be fine)&lt;br /&gt;
* A supported compiler ([http://mingw.org/download.shtml MinGW] or [http://en.wikipedia.org/wiki/Visual_Studio Visual Studio] &amp;gt;= 7) &lt;br /&gt;
* [http://xmlsoft.org LibXML2]&lt;br /&gt;
* [http://xmlsoft.org/XSLT LibXSLT]&lt;br /&gt;
* [http://www.zlib.net zlib] &lt;br /&gt;
* [http://sourceforge.net/project/showfiles.php?group_id=25167 gettext &amp;amp; iconv for win32]&lt;br /&gt;
* [http://www.openssl.org OpenSSL] (optional, required for some plugins) &lt;br /&gt;
* [http://aspell.net/win32/ ASpell] (optional, required for spell plugin)&lt;br /&gt;
&lt;br /&gt;
=== Environment ===&lt;br /&gt;
Once you've installed all requried packages, make sure you've set the following environment variables are correct:&lt;br /&gt;
* '''QTDIR''' - the path to your Qt3 installation &lt;br /&gt;
* '''CMAKE_INCLUDE_PATH''' -  paths to the headers of all installed packages&lt;br /&gt;
* '''CMAKE_LIBRARY_PATH''' - paths to the libraries of all installed packages&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 C:\&amp;gt;set&lt;br /&gt;
 QTDIR=&amp;lt;nowiki&amp;gt;[TODO: write an example value here]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 CMAKE_INCLUDE_PATH=D:\Programm\GnuWin32\Include;D:\Programm\OpneSSL\Include&lt;br /&gt;
 CMAKE_LIBRARY_PATH=D:\Programm\GnuWin32\Lib;D:\Programm\OpenSSL\Lib\MSVC&lt;br /&gt;
If some values are missing, use should set them using &amp;lt;code&amp;gt;set&amp;lt;/code&amp;gt; command:&lt;br /&gt;
  C:\&amp;gt;set QTDIR=&amp;lt;nowiki&amp;gt;[TODO: write an example value here]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
  C:\&amp;gt;set CMAKE_INCLUDE_PATH=%CMAKE_INCLUDE_PATH%;D:\Programm\OpneSSL\Include&lt;br /&gt;
&lt;br /&gt;
=== Compilation ===&lt;br /&gt;
After you've checked out the sources, create a new directory 'sim-im-build'. &lt;br /&gt;
Now you can call cmake (or cmakesetup on win32) by switching into 'sim-im-build': &lt;br /&gt;
 cmake ..\sim-im &lt;br /&gt;
When cmake is ready and all required packages were found you can start compiling sim with 'make' (or mingw32-make or nmake)&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
[[Building_with_Cmake_FAQ| Building with Cmake FAQ]]&lt;/div&gt;</summary>
		<author><name>Berniyh</name></author>
	</entry>
	<entry>
		<id>http://www.sim-im.org/index.php?title=Building_with_CMake&amp;diff=2264</id>
		<title>Building with CMake</title>
		<link rel="alternate" type="text/html" href="http://www.sim-im.org/index.php?title=Building_with_CMake&amp;diff=2264"/>
		<updated>2008-01-23T13:12:27Z</updated>

		<summary type="html">&lt;p&gt;Berniyh: Add dependencies on linux, please verify if possible&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building for Linux ==&lt;br /&gt;
===Requirements===&lt;br /&gt;
* [http://subversion.tigris.org/ Subversion] (If you want to build the latest revision.)&lt;br /&gt;
* [http://www.cmake.org CMake 2.4] (Version 2.4.7 recommend.)&lt;br /&gt;
* [http://doc.trolltech.com/3.3/aboutqt.html Qt3] &lt;br /&gt;
* [http://gcc.gnu.org GCC] (Version 4.1 or 4.2 recommend.)&lt;br /&gt;
* [http://xmlsoft.org LibXML2]&lt;br /&gt;
* [http://xmlsoft.org/XSLT LibXSLT]&lt;br /&gt;
* [http://www.zlib.net zlib] &lt;br /&gt;
* [http://www.x.org libXScrnSaver]&lt;br /&gt;
Note: If you use binary packages for these dependencies you will need the header packages (normally named package-dev or package-devel) of these packages, too.&lt;br /&gt;
You might also need header packages of dependencies of these, for example:&lt;br /&gt;
* [http://www.libpng.org/ libpng]&lt;br /&gt;
* [http://www.libmng.com/ libmng]&lt;br /&gt;
* Maybe others&lt;br /&gt;
&lt;br /&gt;
Optional Packages:&lt;br /&gt;
* [http://www.openssl.org OpenSSL] (For using encrypted connections, some plugins need this.)&lt;br /&gt;
* [http://aspell.net/win32/ ASpell] (If you want spell checking and are not using KDE.)&lt;br /&gt;
* [http://www.kde.org kdelibs] (For KDE integration.)&lt;br /&gt;
* [http://www.gnupg.org GnuPG] (Not required at build time; required if you want to use GPG encryption for messages.)&lt;br /&gt;
&lt;br /&gt;
First create a build dir &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;mkdir -p sim/source sim/build&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Put the source code in the source dir, cd to the build dir and run:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;code&amp;gt;cmake ../source&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That will run cmake's configure checks which will check if you have got every programs/libraries/headers,that are needed to compile sim.&lt;br /&gt;
If you want to tune some of the variables, you can either use the interactive mode of cmake&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;cmake -i ../source&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or you can use cmake's nice gui:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;ccmake ../source&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that is done just run&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
in the build dir to build sim. When it finished, run&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;make install&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to install sim.&lt;br /&gt;
&lt;br /&gt;
==Building for Windows ==&lt;br /&gt;
===Requirements===&lt;br /&gt;
* [http://tortoisesvn.tigris.org TortoiseSVN] for getting the Sources &lt;br /&gt;
* [http://www.cmake.org CMake 2.4.2]&lt;br /&gt;
* [http://doc.trolltech.com/3.3/aboutqt.html Qt3] for your platform ([http://sourceforge.net/projects/qtwin Q.../Free] will be fine)&lt;br /&gt;
* A supported compiler ([http://mingw.org/download.shtml MinGW] or [http://en.wikipedia.org/wiki/Visual_Studio Visual Studio] &amp;gt;= 7) &lt;br /&gt;
* [http://xmlsoft.org LibXML2]&lt;br /&gt;
* [http://xmlsoft.org/XSLT LibXSLT]&lt;br /&gt;
* [http://www.zlib.net zlib] &lt;br /&gt;
* [http://sourceforge.net/project/showfiles.php?group_id=25167 gettext &amp;amp; iconv for win32]&lt;br /&gt;
* [http://www.openssl.org OpenSSL] (optional, required for some plugins) &lt;br /&gt;
* [http://aspell.net/win32/ ASpell] (optional, required for spell plugin)&lt;br /&gt;
&lt;br /&gt;
=== Environment ===&lt;br /&gt;
Once you've installed all requried packages, make sure you've set the following environment variables are correct:&lt;br /&gt;
* '''QTDIR''' - the path to your Qt3 installation &lt;br /&gt;
* '''CMAKE_INCLUDE_PATH''' -  paths to the headers of all installed packages&lt;br /&gt;
* '''CMAKE_LIBRARY_PATH''' - paths to the libraries of all installed packages&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 C:\&amp;gt;set&lt;br /&gt;
 QTDIR=&amp;lt;nowiki&amp;gt;[TODO: write an example value here]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 CMAKE_INCLUDE_PATH=D:\Programm\GnuWin32\Include;D:\Programm\OpneSSL\Include&lt;br /&gt;
 CMAKE_LIBRARY_PATH=D:\Programm\GnuWin32\Lib;D:\Programm\OpenSSL\Lib\MSVC&lt;br /&gt;
If some values are missing, use should set them using &amp;lt;code&amp;gt;set&amp;lt;/code&amp;gt; command:&lt;br /&gt;
  C:\&amp;gt;set QTDIR=&amp;lt;nowiki&amp;gt;[TODO: write an example value here]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
  C:\&amp;gt;set CMAKE_INCLUDE_PATH=%CMAKE_INCLUDE_PATH%;D:\Programm\OpneSSL\Include&lt;br /&gt;
&lt;br /&gt;
=== Compilation ===&lt;br /&gt;
After you've checked out the sources, create a new directory 'sim-im-build'. &lt;br /&gt;
Now you can call cmake (or cmakesetup on win32) by switching into 'sim-im-build': &lt;br /&gt;
 cmake ..\sim-im &lt;br /&gt;
When cmake is ready and all required packages were found you can start compiling sim with 'make' (or mingw32-make or nmake)&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
[[Building_with_Cmake_FAQ| Building with Cmake FAQ]]&lt;/div&gt;</summary>
		<author><name>Berniyh</name></author>
	</entry>
	<entry>
		<id>http://www.sim-im.org/index.php?title=Building_with_Cmake_FAQ&amp;diff=2260</id>
		<title>Building with Cmake FAQ</title>
		<link rel="alternate" type="text/html" href="http://www.sim-im.org/index.php?title=Building_with_Cmake_FAQ&amp;diff=2260"/>
		<updated>2008-01-20T18:20:04Z</updated>

		<summary type="html">&lt;p&gt;Berniyh: move the build faq to the cmake howto&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Linux ==&lt;br /&gt;
=== Q: How to build Sim-IM without KDE support? ===&lt;br /&gt;
&lt;br /&gt;
'''A:''' For Sim-IM 0.9.4.* and for old revisions of Sim-IM 0.9.5 you should use &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;cmake -D USE_KDE3:boolean=false&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and for Sim-IM 0.9.5 rev. 2106 or newer&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;cmake -D ENABLE_KDE3:boolean=false&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Q: How to build Sim-IM when both KDE4 and KDE3 are installed? ===&lt;br /&gt;
&lt;br /&gt;
'''A:''' TODO&lt;br /&gt;
&lt;br /&gt;
=== Q: How to build Sim-IM with debug info? ===&lt;br /&gt;
'''A:''' &lt;br /&gt;
 &amp;lt;code&amp;gt;cmake -D CMAKE_BUILD_TYPE=Debug&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Berniyh</name></author>
	</entry>
	<entry>
		<id>http://www.sim-im.org/index.php?title=Building_with_CMake&amp;diff=2259</id>
		<title>Building with CMake</title>
		<link rel="alternate" type="text/html" href="http://www.sim-im.org/index.php?title=Building_with_CMake&amp;diff=2259"/>
		<updated>2008-01-20T18:18:59Z</updated>

		<summary type="html">&lt;p&gt;Berniyh: /* Building for Linux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building for Linux ==&lt;br /&gt;
First create a build dir &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;mkdir -p sim/source sim/build&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Put the source code in the source dir, cd to the build dir and run:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;code&amp;gt;cmake ../source&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That will run cmake's configure checks which will check if you have got every programs/libraries/headers,that are needed to compile sim.&lt;br /&gt;
If you want to tune some of the variables, you can either use the interactive mode of cmake&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;cmake -i ../source&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or you can use cmake's nice gui:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;ccmake ../source&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that is done just run&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
in the build dir to build sim. When it finished, run&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;make install&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to install sim.&lt;br /&gt;
&lt;br /&gt;
==Building for Windows ==&lt;br /&gt;
===Requirements===&lt;br /&gt;
* [http://tortoisesvn.tigris.org TortoiseSVN] for getting the Sources &lt;br /&gt;
* [http://www.cmake.org CMake 2.4.2]&lt;br /&gt;
* [http://doc.trolltech.com/3.3/aboutqt.html Qt3] for your platform ([http://sourceforge.net/projects/qtwin Q.../Free] will be fine)&lt;br /&gt;
* A supported compiler ([http://mingw.org/download.shtml MinGW] or [http://en.wikipedia.org/wiki/Visual_Studio Visual Studio] &amp;gt;= 7) &lt;br /&gt;
* [http://xmlsoft.org LibXML2]&lt;br /&gt;
* [http://xmlsoft.org/XSLT LibXSLT]&lt;br /&gt;
* [http://www.zlib.net zlib] &lt;br /&gt;
* [http://sourceforge.net/project/showfiles.php?group_id=25167 gettext &amp;amp; iconv for win32]&lt;br /&gt;
* [http://www.openssl.org OpenSSL] (optional, required for some plugins) &lt;br /&gt;
* [http://aspell.net/win32/ ASpell] (optional, required for spell plugin)&lt;br /&gt;
&lt;br /&gt;
=== Environment ===&lt;br /&gt;
Once you've installed all requried packages, make sure you've set the following environment variables are correct:&lt;br /&gt;
* '''QTDIR''' - the path to your Qt3 installation &lt;br /&gt;
* '''CMAKE_INCLUDE_PATH''' -  paths to the headers of all installed packages&lt;br /&gt;
* '''CMAKE_LIBRARY_PATH''' - paths to the libraries of all installed packages&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 C:\&amp;gt;set&lt;br /&gt;
 QTDIR=&amp;lt;nowiki&amp;gt;[TODO: write an example value here]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 CMAKE_INCLUDE_PATH=D:\Programm\GnuWin32\Include;D:\Programm\OpneSSL\Include&lt;br /&gt;
 CMAKE_LIBRARY_PATH=D:\Programm\GnuWin32\Lib;D:\Programm\OpenSSL\Lib\MSVC&lt;br /&gt;
If some values are missing, use should set them using &amp;lt;code&amp;gt;set&amp;lt;/code&amp;gt; command:&lt;br /&gt;
  C:\&amp;gt;set QTDIR=&amp;lt;nowiki&amp;gt;[TODO: write an example value here]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
  C:\&amp;gt;set CMAKE_INCLUDE_PATH=%CMAKE_INCLUDE_PATH%;D:\Programm\OpneSSL\Include&lt;br /&gt;
&lt;br /&gt;
=== Compilation ===&lt;br /&gt;
After you've checked out the sources, create a new directory 'sim-im-build'. &lt;br /&gt;
Now you can call cmake (or cmakesetup on win32) by switching into 'sim-im-build': &lt;br /&gt;
 cmake ..\sim-im &lt;br /&gt;
When cmake is ready and all required packages were found you can start compiling sim with 'make' (or mingw32-make or nmake)&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
[[Building_with_Cmake_FAQ| Building with Cmake FAQ]]&lt;/div&gt;</summary>
		<author><name>Berniyh</name></author>
	</entry>
	<entry>
		<id>http://www.sim-im.org/index.php?title=Building_with_Cmake_FAQ&amp;diff=2258</id>
		<title>Building with Cmake FAQ</title>
		<link rel="alternate" type="text/html" href="http://www.sim-im.org/index.php?title=Building_with_Cmake_FAQ&amp;diff=2258"/>
		<updated>2008-01-20T03:01:32Z</updated>

		<summary type="html">&lt;p&gt;Berniyh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Linux ==&lt;br /&gt;
=== Q: What is the correct way to build sim using cmake? ===&lt;br /&gt;
'''A:''' First create a build directory outside the source code, then cd to that dir and run, for example:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;code&amp;gt;mkdir -p sim/source sim/build&amp;lt;/code&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Put the source code in the source dir, cd to the build dir and run:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;code&amp;gt;cmake ../source&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That will run cmake's configure checks which will check if you have got every programs/libraries/headers,that are needed to compile sim.&lt;br /&gt;
If you want to tune some of the variables, you can either use the interactive mode of cmake&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;cmake -i ../source&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or you can use cmake's nice gui:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;ccmake ../source&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that is done just run&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
in the build dir to build sim. When it finished, run&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;make install&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to install sim.&lt;br /&gt;
&lt;br /&gt;
=== Q: How to build Sim-IM without KDE support? ===&lt;br /&gt;
&lt;br /&gt;
'''A:''' For Sim-IM 0.9.4.* and for old revisions of Sim-IM 0.9.5 you should use &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;cmake -D USE_KDE3:boolean=false&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and for Sim-IM 0.9.5 rev. 2106 or newer&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;cmake -D ENABLE_KDE3:boolean=false&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Q: How to build Sim-IM when both KDE4 and KDE3 are installed? ===&lt;br /&gt;
&lt;br /&gt;
'''A:''' TODO&lt;br /&gt;
&lt;br /&gt;
=== Q: How to build Sim-IM with debug info? ===&lt;br /&gt;
'''A:''' &lt;br /&gt;
 &amp;lt;code&amp;gt;cmake -D CMAKE_BUILD_TYPE=Debug&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Berniyh</name></author>
	</entry>
	<entry>
		<id>http://www.sim-im.org/index.php?title=Building_with_Cmake_FAQ&amp;diff=2257</id>
		<title>Building with Cmake FAQ</title>
		<link rel="alternate" type="text/html" href="http://www.sim-im.org/index.php?title=Building_with_Cmake_FAQ&amp;diff=2257"/>
		<updated>2008-01-20T02:44:01Z</updated>

		<summary type="html">&lt;p&gt;Berniyh: /* Linux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Linux ==&lt;br /&gt;
=== Q: What is the correct way to build sim using cmake? ===&lt;br /&gt;
'''A:''' First create a build directory outside the source code, then cd to that dir and run, for example:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;code&amp;gt;mkdir -p sim/source sim/build&amp;lt;/code&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Put the source code in the source dir, cd to the build dir and run:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;code&amp;gt;cmake ../source&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That will run cmake's configure checks which will check if you have got every programs/libraries/headers,that are needed to compile sim.&lt;br /&gt;
If you want to tune some of the variables, you can either use the interactive mode of cmake&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;cmake -i ../source&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or you can use cmake's nice gui:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;ccmake ../source&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that is done just run&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
in the build dir to build sim. When it finished, run&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;make install&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to install sim.&lt;br /&gt;
&lt;br /&gt;
=== Q: How to build Sim-IM without KDE support? ===&lt;br /&gt;
&lt;br /&gt;
'''A:''' For Sim-IM 0.9.4.* and for old revisions of Sim-IM 0.9.5 you should use &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;cmake -D USE_KDE3:boolean=false&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and for Sim-IM 0.9.5 rev. 2106 or newer&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;cmake -D ENABLE_KDE3:boolean=false&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Q: How to build Sim-IM with debug info? ===&lt;br /&gt;
'''A:''' &amp;lt;code&amp;gt;cmake -D CMAKE_BUILD_TYPE=Debug&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Berniyh</name></author>
	</entry>
</feed>