<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://cegui.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Laputan</id>
		<title>CEGUI Wiki - Crazy Eddie's GUI System (Open Source) - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://cegui.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Laputan"/>
		<link rel="alternate" type="text/html" href="http://cegui.org/wiki/Special:Contributions/Laputan"/>
		<updated>2026-05-20T19:36:05Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>http://cegui.org/wiki/index.php?title=How_to_install_CEGUI_0.8.4_With_MinGW&amp;diff=5550</id>
		<title>How to install CEGUI 0.8.4 With MinGW</title>
		<link rel="alternate" type="text/html" href="http://cegui.org/wiki/index.php?title=How_to_install_CEGUI_0.8.4_With_MinGW&amp;diff=5550"/>
				<updated>2014-10-27T07:29:16Z</updated>
		
		<summary type="html">&lt;p&gt;Laputan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;First, you need to download the CEGUI source package and its dependencies from [http://cegui.org.uk/download The Official Site].&amp;lt;br&amp;gt;&lt;br /&gt;
You also need to download a CMake binary from [http://www.cmake.org/download/ here].&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Second, you build the dependencies.&amp;lt;br&amp;gt;&lt;br /&gt;
Build of the D3DX11 package is currently not supported. Moreover, this version of DirectX is deprecated.&amp;lt;br&amp;gt;&lt;br /&gt;
You had better avoid using this feature if possible.&amp;lt;br&amp;gt;&lt;br /&gt;
Patch a few to build all packages successfully except for D3DX11.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the pngwin.def at &amp;lt;dependencies_source_root&amp;gt;/src/libpng-1.4.7/scripts,&amp;lt;br&amp;gt;&lt;br /&gt;
At the Line 5, modify LIBRARY to LIBRARY libpng. libpng is the missing library name.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the devil_internal_exports.h at &amp;lt;dependencies_source_root&amp;gt;/src/devil-1.7.8/include/IL,&amp;lt;br&amp;gt;&lt;br /&gt;
At the Line 29, change the definition of INLINE from external inline to static inline.&amp;lt;br&amp;gt;&lt;br /&gt;
By this change, you can avoid some multiple definition error.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Then, launch cmake-gui, click configure, select the MinGW Makefiles generator,&amp;lt;br&amp;gt;&lt;br /&gt;
check all options except for CEGUI_BUILD_EFFECTS11 and CEGUI_GNUtoMS, configure again and generate.&amp;lt;br&amp;gt;&lt;br /&gt;
If Cmake have worked successfully, you can see the Makefile at the target binary directory you choose.&amp;lt;br&amp;gt;&lt;br /&gt;
Build it.&amp;lt;br&amp;gt;&lt;br /&gt;
You can find the built dependencies at &amp;lt;dependencies_binary_root&amp;gt;/dependencies.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Third, you build the CEGUI.&amp;lt;br&amp;gt;&lt;br /&gt;
Move the dependencies directory where you built the dependencies from &amp;lt;dependencies_binary_root&amp;gt; to &amp;lt;cegui_source_root&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You also need to modify some files.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the CMakeLists.txt at &amp;lt;cegui_source_root&amp;gt;/cegui/src,&amp;lt;br&amp;gt;&lt;br /&gt;
Between the Line 84 and the Line 85, you have to add&amp;lt;br&amp;gt;&lt;br /&gt;
if(MINGW)&amp;lt;br&amp;gt;&lt;br /&gt;
target_link_libraries(${CEGUI_TARGET_NAME} &amp;lt;mingw_root&amp;gt;/lib/libshlwapi.a)&amp;lt;br&amp;gt;&lt;br /&gt;
endif ()&amp;lt;br&amp;gt;&lt;br /&gt;
Do not forget to replace &amp;lt;mingw_root&amp;gt; with the path to the root directory of the MinGW on your PC.&amp;lt;br&amp;gt;&lt;br /&gt;
This library is needed for the build of MiniZipResourceProvider.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
And to solve the C++ mangling problem, you have to remake an import library for the libxerces-c_3.dll.&amp;lt;br&amp;gt;&lt;br /&gt;
To do this,&amp;lt;br&amp;gt;&lt;br /&gt;
1.Export the .def file from libxerces-c_3.dll at &amp;lt;cegui_source_root&amp;gt;/dependencies/bin.&amp;lt;br&amp;gt;&lt;br /&gt;
2.Modify the exported .def file.&amp;lt;br&amp;gt;&lt;br /&gt;
3.Remake an import library from the modified .def file.&amp;lt;br&amp;gt;&lt;br /&gt;
4.Replace the libxerces-c_3.dll.a at &amp;lt;cegui_source_root&amp;gt;/dependencies/lib/dynamic/ with the new import library.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
For example, with the built-in MinGW dlltool,&amp;lt;br&amp;gt;&lt;br /&gt;
1.Run dlltool --export-all-symbols libxerces-c_3.dll -z temp.txt&amp;lt;br&amp;gt;&lt;br /&gt;
2.Edit the temp.txt.&amp;lt;br&amp;gt;&lt;br /&gt;
At the Line 6919, modify _ZN11xercesc_3_19XMLString7releaseEPPwPNS_13MemoryManagerE to _ZN11xercesc_3_19XMLString7releaseEPPtPNS_13MemoryManagerE = _ZN11xercesc_3_19XMLString7releaseEPPwPNS_13MemoryManagerE.&amp;lt;br&amp;gt;&lt;br /&gt;
At the Line 6977, modify _ZN11xercesc_3_19XMLString9transcodeEPKwPNS_13MemoryManagerE to _ZN11xercesc_3_19XMLString9transcodeEPKtPNS_13MemoryManagerE = _ZN11xercesc_3_19XMLString9transcodeEPKwPNS_13MemoryManagerE.&amp;lt;br&amp;gt;&lt;br /&gt;
3.Run dlltool -d temp.txt -l libxerces-c_3.dll.a.&amp;lt;br&amp;gt;&lt;br /&gt;
4.Replace the old one with the new one.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
This problem occurs because the mangling order of User-defined types is not necessarily the same between the CEGUI and its dependencies.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Then, launch cmake-gui, click configure, select the MinGW Makefiles generator, uncheck CEGUI_BUILD_RENDERER_OPENGL3, reconfigure and generate.&amp;lt;br&amp;gt;&lt;br /&gt;
You should choose the target binary directory same as the source directory, because the reference to datafiles is fixed to the source directory.&amp;lt;br&amp;gt;&lt;br /&gt;
Note that OPENGL3 is not supported for this installation on Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
If Cmake have worked successfully, you can see the Makefile at the target binary directory you choose.&amp;lt;br&amp;gt;&lt;br /&gt;
Build it.&amp;lt;br&amp;gt;&lt;br /&gt;
You can find the built cegui-libraries at &amp;lt;cegui_binary_root&amp;gt;/bin.&amp;lt;br&amp;gt;&lt;br /&gt;
Copy the dll files at &amp;lt;cegui_source_root&amp;gt;/dependencies/bin to this directory.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Finally, launch CEGUISampleFramework-0.8.&amp;lt;br&amp;gt;&lt;br /&gt;
If you have successfully built all the things, you may enjoy a bunch of cegui demos.&amp;lt;br&amp;gt;&lt;br /&gt;
Congratulations!&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials]]&lt;/div&gt;</summary>
		<author><name>Laputan</name></author>	</entry>

	<entry>
		<id>http://cegui.org/wiki/index.php?title=How_to_install_CEGUI_0.8.4_With_MinGW&amp;diff=5549</id>
		<title>How to install CEGUI 0.8.4 With MinGW</title>
		<link rel="alternate" type="text/html" href="http://cegui.org/wiki/index.php?title=How_to_install_CEGUI_0.8.4_With_MinGW&amp;diff=5549"/>
				<updated>2014-10-26T02:22:56Z</updated>
		
		<summary type="html">&lt;p&gt;Laputan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;First, you need to download the CEGUI source package and its dependencies from [http://cegui.org.uk/download The Official Site].&amp;lt;br&amp;gt;&lt;br /&gt;
You also need to download and install CMake binary from [http://www.cmake.org/download/ here].&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Second, you build the dependencies.&amp;lt;br&amp;gt;&lt;br /&gt;
Build of the D3DX11 package is currently not supported. Moreover, this version of DirectX is deprecated.&amp;lt;br&amp;gt;&lt;br /&gt;
You had better avoid using these features if possible.&amp;lt;br&amp;gt;&lt;br /&gt;
Patch a few to build all packages successfully except for D3DX11.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the pngwin.def at &amp;lt;dependencies_source_root&amp;gt;/src/libpng-1.4.7/scripts,&amp;lt;br&amp;gt;&lt;br /&gt;
At Line 5, modify LIBRARY to LIBRARY libpng. libpng is the missing library name.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the devil_internal_exports.h at &amp;lt;dependencies_source_root&amp;gt;/src/devil-1.7.8/include/IL,&amp;lt;br&amp;gt;&lt;br /&gt;
At Line 29, change the definition of INLINE from external inline to static inline.&amp;lt;br&amp;gt;&lt;br /&gt;
By this change, you can avoid some multiple definition error.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Then, you launch cmake-gui, click configure, select the MinGW Makefiles generator,&amp;lt;br&amp;gt;&lt;br /&gt;
check all options except for CEGUI_BUILD_EFFECTS11 and CEGUI_GNUtoMS, configure again and generate.&amp;lt;br&amp;gt;&lt;br /&gt;
If Cmake have worked successfully, you can see the Makefile at the target binary directory you choose.&amp;lt;br&amp;gt;&lt;br /&gt;
Build it.&amp;lt;br&amp;gt;&lt;br /&gt;
You can find the built dependencies at &amp;lt;dependencies_binary_root&amp;gt;/dependencies.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Third, you build the CEGUI.&amp;lt;br&amp;gt;&lt;br /&gt;
Move the dependencies directory where you built the dependencies from &amp;lt;dependencies_binary_root&amp;gt; to &amp;lt;cegui_source_root&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You also need to modify some files.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the CMakeLists.txt at &amp;lt;cegui_source_root&amp;gt;/cegui/src,&amp;lt;br&amp;gt;&lt;br /&gt;
Between Line 84 and Line 85, you have to add&amp;lt;br&amp;gt;&lt;br /&gt;
if(MINGW)&amp;lt;br&amp;gt;&lt;br /&gt;
target_link_libraries(${CEGUI_TARGET_NAME} &amp;lt;mingw_root&amp;gt;/lib/libshlwapi.a)&amp;lt;br&amp;gt;&lt;br /&gt;
endif ()&amp;lt;br&amp;gt;&lt;br /&gt;
This library is needed for the build of MiniZipResourceProvider.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
And to solve the C++ mangling problem, you have to remake an import library for libxerces-c_3.dll.&amp;lt;br&amp;gt;&lt;br /&gt;
To do this,&amp;lt;br&amp;gt;&lt;br /&gt;
1.Export the .def file from libxerces-c_3.dll at &amp;lt;cegui_source_root&amp;gt;/dependencies/bin.&amp;lt;br&amp;gt;&lt;br /&gt;
2.Modify the exported .def file.&amp;lt;br&amp;gt;&lt;br /&gt;
3.Remake an import library from modified .def file.&amp;lt;br&amp;gt;&lt;br /&gt;
4.Replace the libxerces-c_3.dll.a at &amp;lt;cegui_source_root&amp;gt;/dependencies/lib/dynamic/ with the new import library.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
For example, with the built-in MinGW dlltool,&amp;lt;br&amp;gt;&lt;br /&gt;
1.Run dlltool --export-all-symbols libxerces-c_3.dll -z temp.txt&amp;lt;br&amp;gt;&lt;br /&gt;
2.Edit the temp.txt.&amp;lt;br&amp;gt;&lt;br /&gt;
At Line 6919, modify _ZN11xercesc_3_19XMLString7releaseEPPwPNS_13MemoryManagerE to _ZN11xercesc_3_19XMLString7releaseEPPtPNS_13MemoryManagerE = _ZN11xercesc_3_19XMLString7releaseEPPwPNS_13MemoryManagerE.&amp;lt;br&amp;gt;&lt;br /&gt;
At Line 6977, modify _ZN11xercesc_3_19XMLString9transcodeEPKwPNS_13MemoryManagerE to _ZN11xercesc_3_19XMLString9transcodeEPKtPNS_13MemoryManagerE = _ZN11xercesc_3_19XMLString9transcodeEPKwPNS_13MemoryManagerE.&amp;lt;br&amp;gt;&lt;br /&gt;
3.Run dlltool -d temp.txt -l libxerces-c_3.dll.a.&amp;lt;br&amp;gt;&lt;br /&gt;
4.Replace.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
This problem occurs because the number of User-defined types is different between CEGUI and its dependencies.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Then, you launch cmake-gui, click configure, select the MinGW Makefiles generator, uncheck CEGUI_BUILD_RENDERER_OPENGL3, reconfigure and generate.&amp;lt;br&amp;gt;&lt;br /&gt;
You should choose the target binary directory same as the source directory, because the reference to datafiles is fixed to the source directory.&amp;lt;br&amp;gt;&lt;br /&gt;
If Cmake have worked successfully, you can see the Makefile at the target binary directory you choose.&amp;lt;br&amp;gt;&lt;br /&gt;
Build it.&amp;lt;br&amp;gt;&lt;br /&gt;
You can find built cegui-libraries at &amp;lt;cegui_binary_root&amp;gt;/bin.&amp;lt;br&amp;gt;&lt;br /&gt;
Copy the dll files at &amp;lt;cegui_source_root&amp;gt;/dependencies/bin to this directory.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Finally, launch CEGUISampleFramework-0.8.&amp;lt;br&amp;gt;&lt;br /&gt;
If you have successfully built all the things, you may enjoy a bunch of cegui demos.&amp;lt;br&amp;gt;&lt;br /&gt;
Congratulations!&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials]]&lt;/div&gt;</summary>
		<author><name>Laputan</name></author>	</entry>

	<entry>
		<id>http://cegui.org/wiki/index.php?title=How_to_install_CEGUI_0.8.4_With_MinGW&amp;diff=5548</id>
		<title>How to install CEGUI 0.8.4 With MinGW</title>
		<link rel="alternate" type="text/html" href="http://cegui.org/wiki/index.php?title=How_to_install_CEGUI_0.8.4_With_MinGW&amp;diff=5548"/>
				<updated>2014-10-25T02:12:13Z</updated>
		
		<summary type="html">&lt;p&gt;Laputan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;First, you need to download the CEGUI source package and its dependencies from [http://cegui.org.uk/download The Official Site].&amp;lt;br&amp;gt;&lt;br /&gt;
You also need to download and install CMake binary from [http://www.cmake.org/download/ here].&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Second, you build the dependencies.&amp;lt;br&amp;gt;&lt;br /&gt;
Build of the D3DX11 package is currently not supported. Moreover, this version of DirectX is deprecated.&amp;lt;br&amp;gt;&lt;br /&gt;
You had better avoid using these features if possible.&amp;lt;br&amp;gt;&lt;br /&gt;
Patch a few to build all packages successfully except for D3DX11.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the pngwin.def at &amp;lt;dependencies_source_root&amp;gt;/src/libpng-1.4.7/scripts,&amp;lt;br&amp;gt;&lt;br /&gt;
At Line 5, edit LIBRARY to LIBRARY libpng. libpng is the missing library name.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the devil_internal_exports.h at &amp;lt;dependencies_source_root&amp;gt;/src/devil-1.7.8/include/IL,&amp;lt;br&amp;gt;&lt;br /&gt;
At Line 29, change the definition of INLINE from external inline to static inline.&amp;lt;br&amp;gt;&lt;br /&gt;
By this change, you can avoid some multiple definition error.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Then, you launch cmake-gui, click configure, select the MinGW Makefiles generator,&amp;lt;br&amp;gt;&lt;br /&gt;
check all options except for CEGUI_BUILD_EFFECTS11 and CEGUI_GNUtoMS, configure again and generate.&amp;lt;br&amp;gt;&lt;br /&gt;
If Cmake have worked successfully, you can see the Makefile at the target binary directory you choose.&amp;lt;br&amp;gt;&lt;br /&gt;
Build it.&amp;lt;br&amp;gt;&lt;br /&gt;
You could find built dependencies at &amp;lt;dependencies_binary_root&amp;gt;/dependencies.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Third, you build the CEGUI.&amp;lt;br&amp;gt;&lt;br /&gt;
Move the dependencies directory where you built dependencies from &amp;lt;dependencies_binary_root&amp;gt; to &amp;lt;cegui_source_root&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You also need to modify some files.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the CMakeLists.txt at &amp;lt;cegui_source_root&amp;gt;/cegui/src,&amp;lt;br&amp;gt;&lt;br /&gt;
Between Line 84 and Line 85, you have to add&amp;lt;br&amp;gt;&lt;br /&gt;
if(MINGW)&amp;lt;br&amp;gt;&lt;br /&gt;
target_link_libraries(${CEGUI_TARGET_NAME} &amp;lt;mingw_root&amp;gt;/lib/libshlwapi.a)&amp;lt;br&amp;gt;&lt;br /&gt;
endif ()&amp;lt;br&amp;gt;&lt;br /&gt;
This library is needed for the build of MiniZipResourceProvider.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
And to solve the C++ mangling problem, you have to remake an import library to libxerces-c_3.dll.&amp;lt;br&amp;gt;&lt;br /&gt;
To do this,&amp;lt;br&amp;gt;&lt;br /&gt;
1.Export the .def file from libxerces-c_3.dll at &amp;lt;cegui_source_root&amp;gt;/dependencies/bin.&amp;lt;br&amp;gt;&lt;br /&gt;
2.Modify the exported .def file.&amp;lt;br&amp;gt;&lt;br /&gt;
3.Remake an import library from modified .def file.&amp;lt;br&amp;gt;&lt;br /&gt;
4.Replace the libxerces-c_3.dll.a at &amp;lt;cegui_source_root&amp;gt;/dependencies/lib/dynamic/ with the new import library.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
For example, with the built-in MinGW dlltool,&amp;lt;br&amp;gt;&lt;br /&gt;
1.Run dlltool --export-all-symbols libxerces-c_3.dll -z temp.txt&amp;lt;br&amp;gt;&lt;br /&gt;
2.Edit the temp.txt.&amp;lt;br&amp;gt;&lt;br /&gt;
At Line 6919, modify _ZN11xercesc_3_19XMLString7releaseEPPwPNS_13MemoryManagerE to _ZN11xercesc_3_19XMLString7releaseEPPtPNS_13MemoryManagerE = _ZN11xercesc_3_19XMLString7releaseEPPwPNS_13MemoryManagerE.&amp;lt;br&amp;gt;&lt;br /&gt;
At Line 6977, modify _ZN11xercesc_3_19XMLString9transcodeEPKwPNS_13MemoryManagerE to _ZN11xercesc_3_19XMLString9transcodeEPKtPNS_13MemoryManagerE = _ZN11xercesc_3_19XMLString9transcodeEPKwPNS_13MemoryManagerE.&amp;lt;br&amp;gt;&lt;br /&gt;
3.Run dlltool -d temp.txt -l libxerces-c_3.dll.a.&amp;lt;br&amp;gt;&lt;br /&gt;
4.Replace.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
This problem occurs because the number of User-defined types is different between CEGUI and its dependencies.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Then, you launch cmake-gui, click configure, select the MinGW Makefiles generator, uncheck CEGUI_BUILD_RENDERER_OPENGL3, reconfigure and generate.&amp;lt;br&amp;gt;&lt;br /&gt;
You should choose the target binary directory same as the source directory, because the reference to datafiles are fixed to the source directory.&amp;lt;br&amp;gt;&lt;br /&gt;
If Cmake have worked successfully, you can see the Makefile at the target binary directory you choose.&amp;lt;br&amp;gt;&lt;br /&gt;
Build it.&amp;lt;br&amp;gt;&lt;br /&gt;
You could find built cegui-libraries at &amp;lt;cegui_binary_root&amp;gt;/bin.&amp;lt;br&amp;gt;&lt;br /&gt;
Copy the dll files at &amp;lt;cegui_source_root&amp;gt;/dependencies/bin to this directory.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Finally, launch CEGUISampleFramework-0.8.&amp;lt;br&amp;gt;&lt;br /&gt;
If you have successfully built all the things, you may enjoy a bunch of cegui demo.&amp;lt;br&amp;gt;&lt;br /&gt;
Congratulations!&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials]]&lt;/div&gt;</summary>
		<author><name>Laputan</name></author>	</entry>

	<entry>
		<id>http://cegui.org/wiki/index.php?title=How_to_install_CEGUI_0.8.4_With_MinGW&amp;diff=5547</id>
		<title>How to install CEGUI 0.8.4 With MinGW</title>
		<link rel="alternate" type="text/html" href="http://cegui.org/wiki/index.php?title=How_to_install_CEGUI_0.8.4_With_MinGW&amp;diff=5547"/>
				<updated>2014-10-25T01:54:33Z</updated>
		
		<summary type="html">&lt;p&gt;Laputan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;First, you need to download the CEGUI source package and its dependencies from [http://cegui.org.uk/download The Official Site].&amp;lt;br&amp;gt;&lt;br /&gt;
You also need to download and install CMake binary from [http://www.cmake.org/download/ here].&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Second, you build the dependencies.&amp;lt;br&amp;gt;&lt;br /&gt;
Build of the D3DX11 package is currently not supported. Moreover, this version of DirectX is deprecated.&amp;lt;br&amp;gt;&lt;br /&gt;
You had better avoid using these features if possible.&amp;lt;br&amp;gt;&lt;br /&gt;
Patch a few to build all packages successfully except for D3DX11.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the pngwin.def at &amp;lt;dependencies_source_root&amp;gt;/src/libpng-1.4.7/scripts,&amp;lt;br&amp;gt;&lt;br /&gt;
At Line 5, edit LIBRARY to LIBRARY libpng. libpng is the missing library name.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the devil_internal_exports.h at &amp;lt;dependencies_source_root&amp;gt;/src/devil-1.7.8/include/IL,&amp;lt;br&amp;gt;&lt;br /&gt;
At Line 29, change the definition of INLINE from external inline to static inline.&amp;lt;br&amp;gt;&lt;br /&gt;
By this change, you can avoid some multiple definition error.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Then, you launch cmake-gui, click configure, select the MinGW Makefiles generator,&amp;lt;br&amp;gt;&lt;br /&gt;
check all options except for CEGUI_BUILD_EFFECTS11 and CEGUI_GNUtoMS, configure again and generate.&amp;lt;br&amp;gt;&lt;br /&gt;
If Cmake works successfully, you can see the Makefile at the target binary directory you choose.&amp;lt;br&amp;gt;&lt;br /&gt;
Build it.&amp;lt;br&amp;gt;&lt;br /&gt;
You could find built dependencies at &amp;lt;dependencies_binary_root&amp;gt;/dependencies.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Third, you build the CEGUI.&amp;lt;br&amp;gt;&lt;br /&gt;
Move the dependencies directory where you built dependencies from &amp;lt;dependencies_binary_root&amp;gt; to &amp;lt;cegui_source_root&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You also need to modify some files.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the CMakeLists.txt at &amp;lt;cegui_source_root&amp;gt;/cegui/src,&amp;lt;br&amp;gt;&lt;br /&gt;
Between Line 84 and Line 85, you have to add&amp;lt;br&amp;gt;&lt;br /&gt;
if(MINGW)&amp;lt;br&amp;gt;&lt;br /&gt;
target_link_libraries(${CEGUI_TARGET_NAME} &amp;lt;mingw_root&amp;gt;/lib/libshlwapi.a)&amp;lt;br&amp;gt;&lt;br /&gt;
endif ()&amp;lt;br&amp;gt;&lt;br /&gt;
This library is needed for the build of MiniZipResourceProvider.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
And to solve the C++ mangling problem, you have to remake an import library to libxerces-c_3.dll.&amp;lt;br&amp;gt;&lt;br /&gt;
To do this,&amp;lt;br&amp;gt;&lt;br /&gt;
1.Export the .def file from libxerces-c_3.dll at &amp;lt;cegui_source_root&amp;gt;/dependencies/bin.&amp;lt;br&amp;gt;&lt;br /&gt;
2.Modify the exported .def file.&amp;lt;br&amp;gt;&lt;br /&gt;
3.Remake an import library from modified .def file.&amp;lt;br&amp;gt;&lt;br /&gt;
4.Replace the libxerces-c_3.dll.a at &amp;lt;cegui_source_root&amp;gt;/dependencies/lib/dynamic/ with the new import library.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
For example, with the built-in MinGW dlltool,&amp;lt;br&amp;gt;&lt;br /&gt;
1.Run dlltool --export-all-symbols libxerces-c_3.dll -z temp.txt&amp;lt;br&amp;gt;&lt;br /&gt;
2.At Line 6919, modify _ZN11xercesc_3_19XMLString7releaseEPPwPNS_13MemoryManagerE to _ZN11xercesc_3_19XMLString7releaseEPPtPNS_13MemoryManagerE = _ZN11xercesc_3_19XMLString7releaseEPPwPNS_13MemoryManagerE,&amp;lt;br&amp;gt;&lt;br /&gt;
At Line 6977, modify _ZN11xercesc_3_19XMLString9transcodeEPKwPNS_13MemoryManagerE to _ZN11xercesc_3_19XMLString9transcodeEPKtPNS_13MemoryManagerE = _ZN11xercesc_3_19XMLString9transcodeEPKwPNS_13MemoryManagerE.&amp;lt;br&amp;gt;&lt;br /&gt;
3.Run dlltool -d temp.txt -l libxerces-c_3.dll.a.&amp;lt;br&amp;gt;&lt;br /&gt;
4.Replace.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
This problem occurs because the number of User-defined types is different between CEGUI and its dependencies.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Then, you launch cmake-gui, click configure, select the MinGW Makefiles generator, uncheck CEGUI_BUILD_RENDERER_OPENGL3 and generate.&amp;lt;br&amp;gt;&lt;br /&gt;
You should choose the target binary directory same as the source directory, because the reference to datafiles are fixed to the source directory.&amp;lt;br&amp;gt;&lt;br /&gt;
If Cmake works successfully, you can see the Makefile at the target binary directory you choose.&amp;lt;br&amp;gt;&lt;br /&gt;
Build it.&amp;lt;br&amp;gt;&lt;br /&gt;
You could find built cegui-libraries at &amp;lt;cegui_binary_root&amp;gt;/bin.&amp;lt;br&amp;gt;&lt;br /&gt;
Copy the dll files at &amp;lt;cegui_source_root&amp;gt;/dependencies/bin to this directory.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Finally, launch CEGUISampleFramework-0.8.&amp;lt;br&amp;gt;&lt;br /&gt;
If you have successfully built all the things, you may enjoy a bunch of cegui demo.&amp;lt;br&amp;gt;&lt;br /&gt;
Congratulations!&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials]]&lt;/div&gt;</summary>
		<author><name>Laputan</name></author>	</entry>

	<entry>
		<id>http://cegui.org/wiki/index.php?title=How_to_install_CEGUI_0.8.4_With_MinGW&amp;diff=5546</id>
		<title>How to install CEGUI 0.8.4 With MinGW</title>
		<link rel="alternate" type="text/html" href="http://cegui.org/wiki/index.php?title=How_to_install_CEGUI_0.8.4_With_MinGW&amp;diff=5546"/>
				<updated>2014-10-25T01:51:21Z</updated>
		
		<summary type="html">&lt;p&gt;Laputan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;First, you need to download the CEGUI source package and its dependencies from [http://cegui.org.uk/download The Official Site].&amp;lt;br&amp;gt;&lt;br /&gt;
You also need to download and install CMake binary from [http://www.cmake.org/download/ here].&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Second, you build the dependencies.&amp;lt;br&amp;gt;&lt;br /&gt;
Build of the D3DX11 package is currently not supported. Moreover, this version of DirectX is deprecated.&amp;lt;br&amp;gt;&lt;br /&gt;
You had better avoid using these features if possible.&amp;lt;br&amp;gt;&lt;br /&gt;
Patch a few to build all packages successfully except for D3DX11.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the pngwin.def at &amp;lt;dependencies_source_root&amp;gt;/src/libpng-1.4.7/scripts,&amp;lt;br&amp;gt;&lt;br /&gt;
At Line 5, edit LIBRARY to LIBRARY libpng. libpng is the missing library name.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the devil_internal_exports.h at &amp;lt;dependencies_source_root&amp;gt;/src/devil-1.7.8/include/IL,&amp;lt;br&amp;gt;&lt;br /&gt;
At Line 29, change the definition of INLINE from external inline to static inline.&amp;lt;br&amp;gt;&lt;br /&gt;
By this change, you can avoid some multiple definition error.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Then, you launch cmake-gui, click configure, select the MinGW Makefiles generator,&amp;lt;br&amp;gt;&lt;br /&gt;
check all options except for CEGUI_BUILD_EFFECTS11 and CEGUI_GNUtoMS, configure again and generate.&amp;lt;br&amp;gt;&lt;br /&gt;
If Cmake works successfully, you can see the Makefile at the target binary directory you choose.&amp;lt;br&amp;gt;&lt;br /&gt;
Build it.&amp;lt;br&amp;gt;&lt;br /&gt;
You could find built dependencies at &amp;lt;dependencies_binary_root&amp;gt;/dependencies.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Third, you build the CEGUI.&amp;lt;br&amp;gt;&lt;br /&gt;
You need to move dependencies you built from &amp;lt;dependencies_binary_root&amp;gt; to &amp;lt;cegui_source_root&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You also need to modify some files.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the CMakeLists.txt at &amp;lt;cegui_source_root&amp;gt;/cegui/src,&amp;lt;br&amp;gt;&lt;br /&gt;
Between Line 84 and Line 85, you have to add&amp;lt;br&amp;gt;&lt;br /&gt;
if(MINGW)&amp;lt;br&amp;gt;&lt;br /&gt;
target_link_libraries(${CEGUI_TARGET_NAME} &amp;lt;mingw_root&amp;gt;/lib/libshlwapi.a)&amp;lt;br&amp;gt;&lt;br /&gt;
endif ()&amp;lt;br&amp;gt;&lt;br /&gt;
This library is needed for the build of MiniZipResourceProvider.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
And to solve the C++ mangling problem, you have to remake an import library to libxerces-c_3.dll.&amp;lt;br&amp;gt;&lt;br /&gt;
To do this,&amp;lt;br&amp;gt;&lt;br /&gt;
1.Export the .def file from libxerces-c_3.dll at &amp;lt;cegui_source_root&amp;gt;/dependencies/bin.&amp;lt;br&amp;gt;&lt;br /&gt;
2.Modify the exported .def file.&amp;lt;br&amp;gt;&lt;br /&gt;
3.Remake an import library from modified .def file.&amp;lt;br&amp;gt;&lt;br /&gt;
4.Replace the libxerces-c_3.dll.a at &amp;lt;cegui_source_root&amp;gt;/dependencies/lib/dynamic/ with the new import library.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
For example, with the built-in MinGW dlltool,&amp;lt;br&amp;gt;&lt;br /&gt;
1.Run dlltool --export-all-symbols libxerces-c_3.dll -z temp.txt&amp;lt;br&amp;gt;&lt;br /&gt;
2.At Line 6919, modify _ZN11xercesc_3_19XMLString7releaseEPPwPNS_13MemoryManagerE to _ZN11xercesc_3_19XMLString7releaseEPPtPNS_13MemoryManagerE = _ZN11xercesc_3_19XMLString7releaseEPPwPNS_13MemoryManagerE,&amp;lt;br&amp;gt;&lt;br /&gt;
At Line 6977, modify _ZN11xercesc_3_19XMLString9transcodeEPKwPNS_13MemoryManagerE to _ZN11xercesc_3_19XMLString9transcodeEPKtPNS_13MemoryManagerE = _ZN11xercesc_3_19XMLString9transcodeEPKwPNS_13MemoryManagerE.&amp;lt;br&amp;gt;&lt;br /&gt;
3.Run dlltool -d temp.txt -l libxerces-c_3.dll.a.&amp;lt;br&amp;gt;&lt;br /&gt;
4.Replace.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
This problem occurs because the number of User-defined types is different between CEGUI and its dependencies.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Then, you launch cmake-gui, click configure, select the MinGW Makefiles generator, uncheck CEGUI_BUILD_RENDERER_OPENGL3 and generate.&amp;lt;br&amp;gt;&lt;br /&gt;
You should choose the target binary directory same as the source directory, because the reference to datafiles are fixed to the source directory.&amp;lt;br&amp;gt;&lt;br /&gt;
If Cmake works successfully, you can see the Makefile at the target binary directory you choose.&amp;lt;br&amp;gt;&lt;br /&gt;
Build it.&amp;lt;br&amp;gt;&lt;br /&gt;
You could find built cegui-libraries at &amp;lt;cegui_binary_root&amp;gt;/bin.&amp;lt;br&amp;gt;&lt;br /&gt;
Copy the dll files at &amp;lt;cegui_source_root&amp;gt;/dependencies/bin to this directory.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Finally, launch CEGUISampleFramework-0.8.&amp;lt;br&amp;gt;&lt;br /&gt;
If you have successfully built all the things, you may enjoy a bunch of cegui demo.&amp;lt;br&amp;gt;&lt;br /&gt;
Congratulations!&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials]]&lt;/div&gt;</summary>
		<author><name>Laputan</name></author>	</entry>

	<entry>
		<id>http://cegui.org/wiki/index.php?title=How_to_install_CEGUI_0.8.4_With_MinGW&amp;diff=5545</id>
		<title>How to install CEGUI 0.8.4 With MinGW</title>
		<link rel="alternate" type="text/html" href="http://cegui.org/wiki/index.php?title=How_to_install_CEGUI_0.8.4_With_MinGW&amp;diff=5545"/>
				<updated>2014-10-25T01:40:18Z</updated>
		
		<summary type="html">&lt;p&gt;Laputan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;First, you need to download the CEGUI source package and its dependencies from [http://cegui.org.uk/download The Official Site].&amp;lt;br&amp;gt;&lt;br /&gt;
You also need to download and install CMake binary from [http://www.cmake.org/download/ here].&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Second, you build the dependencies.&amp;lt;br&amp;gt;&lt;br /&gt;
Build of the D3DX11 package is currently not supported. Moreover, this version of DirectX is deprecated.&amp;lt;br&amp;gt;&lt;br /&gt;
You had better avoid using these features if possible.&amp;lt;br&amp;gt;&lt;br /&gt;
Patch a few to build all packages successfully except for D3DX11.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the pngwin.def at &amp;lt;dependencies_source_root&amp;gt;/src/libpng-1.4.7/scripts,&amp;lt;br&amp;gt;&lt;br /&gt;
At Line 5, edit LIBRARY to LIBRARY libpng. libpng is the missing library name.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the devil_internal_exports.h at &amp;lt;dependencies_source_root&amp;gt;/src/devil-1.7.8/include/IL,&amp;lt;br&amp;gt;&lt;br /&gt;
At Line 29, change the definition of INLINE from external inline to static inline.&amp;lt;br&amp;gt;&lt;br /&gt;
By this change, you can avoid some multiple definition error.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Then, you launch cmake-gui, click configure, select the MinGW Makefiles generator,&amp;lt;br&amp;gt;&lt;br /&gt;
check all options except for CEGUI_BUILD_EFFECTS11 and CEGUI_GNUtoMS, configure again and generate.&amp;lt;br&amp;gt;&lt;br /&gt;
If Cmake works successfully, you can see the Makefile at the target binary directory you choose.&amp;lt;br&amp;gt;&lt;br /&gt;
Build it.&amp;lt;br&amp;gt;&lt;br /&gt;
You could find built dependencies at &amp;lt;dependencies_binary_root&amp;gt;/dependencies.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Third, you build the CEGUI.&amp;lt;br&amp;gt;&lt;br /&gt;
You need to move dependencies you built from &amp;lt;dependencies_binary_root&amp;gt; to &amp;lt;cegui_source_root&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You also need to modify some files.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the CMakeLists.txt at &amp;lt;cegui_source_root&amp;gt;/cegui/src,&amp;lt;br&amp;gt;&lt;br /&gt;
Between Line 84 and Line 85, you have to add&amp;lt;br&amp;gt;&lt;br /&gt;
if(MINGW)&amp;lt;br&amp;gt;&lt;br /&gt;
target_link_libraries(${CEGUI_TARGET_NAME} &amp;lt;mingw_root&amp;gt;/lib/libshlwapi.a)&amp;lt;br&amp;gt;&lt;br /&gt;
endif ()&amp;lt;br&amp;gt;&lt;br /&gt;
This library is needed for the build of MiniZipResourceProvider.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
And to solve the C++ mangling problem, you have to remake an import library to libxerces-c_3.dll.&amp;lt;br&amp;gt;&lt;br /&gt;
To do this,&amp;lt;br&amp;gt;&lt;br /&gt;
1.Export the .def file from libxerces-c_3.dll at &amp;lt;cegui_source_root&amp;gt;/dependencies/bin.&amp;lt;br&amp;gt;&lt;br /&gt;
2.Modify the exported .def file.&amp;lt;br&amp;gt;&lt;br /&gt;
3.Remake an import library from modified .def file.&amp;lt;br&amp;gt;&lt;br /&gt;
4.Replace the libxerces-c_3.dll.a at &amp;lt;cegui_root&amp;gt;/dependencies/lib/dynamic/ with the new import library.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
For example, with the built-in MinGW dlltool,&amp;lt;br&amp;gt;&lt;br /&gt;
1.Run dlltool --export-all-symbols libxerces-c_3.dll -z temp.txt&amp;lt;br&amp;gt;&lt;br /&gt;
2.At Line 6919, modify _ZN11xercesc_3_19XMLString7releaseEPPwPNS_13MemoryManagerE to _ZN11xercesc_3_19XMLString7releaseEPPtPNS_13MemoryManagerE = _ZN11xercesc_3_19XMLString7releaseEPPwPNS_13MemoryManagerE,&amp;lt;br&amp;gt;&lt;br /&gt;
At Line 6977, modify _ZN11xercesc_3_19XMLString9transcodeEPKwPNS_13MemoryManagerE to _ZN11xercesc_3_19XMLString9transcodeEPKtPNS_13MemoryManagerE = _ZN11xercesc_3_19XMLString9transcodeEPKwPNS_13MemoryManagerE.&amp;lt;br&amp;gt;&lt;br /&gt;
3.Run dlltool -d temp.txt -l libxerces-c_3.dll.a.&amp;lt;br&amp;gt;&lt;br /&gt;
4.Replace.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
This problem occurs because the number of User-defined types is different between CEGUI and its dependencies.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Then, you launch cmake-gui, click configure, select the MinGW Makefiles generator, uncheck CEGUI_BUILD_RENDERER_OPENGL3 and generate.&amp;lt;br&amp;gt;&lt;br /&gt;
You should choose the target binary directory same as the source directory, because the reference to datafiles are fixed to the source directory.&amp;lt;br&amp;gt;&lt;br /&gt;
If Cmake works successfully, you can see the Makefile at the target binary directory you choose.&amp;lt;br&amp;gt;&lt;br /&gt;
Build it.&amp;lt;br&amp;gt;&lt;br /&gt;
You could find built cegui-library at &amp;lt;cegui_target_root&amp;gt;/bin.&amp;lt;br&amp;gt;&lt;br /&gt;
Copy the dll files at &amp;lt;cegui_root&amp;gt;/dependencies/bin to this directory.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Finally, launch CEGUISampleFramework-0.8.&amp;lt;br&amp;gt;&lt;br /&gt;
If you have successfully built all the things, you may enjoy a bunch of cegui demo.&amp;lt;br&amp;gt;&lt;br /&gt;
Congratulations!&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials]]&lt;/div&gt;</summary>
		<author><name>Laputan</name></author>	</entry>

	<entry>
		<id>http://cegui.org/wiki/index.php?title=How_to_install_CEGUI_0.8.4_With_MinGW&amp;diff=5544</id>
		<title>How to install CEGUI 0.8.4 With MinGW</title>
		<link rel="alternate" type="text/html" href="http://cegui.org/wiki/index.php?title=How_to_install_CEGUI_0.8.4_With_MinGW&amp;diff=5544"/>
				<updated>2014-10-25T01:19:15Z</updated>
		
		<summary type="html">&lt;p&gt;Laputan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;First, you need to download the CEGUI source package and its dependencies from [http://cegui.org.uk/download The Official Site].&amp;lt;br&amp;gt;&lt;br /&gt;
You also need to download and install CMake binary from [http://www.cmake.org/download/ here].&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Second, you build the dependencies.&amp;lt;br&amp;gt;&lt;br /&gt;
Build of the D3DX11 package is currently not supported. Moreover, this version of DirectX is deprecated.&amp;lt;br&amp;gt;&lt;br /&gt;
You had better avoid using these features if possible.&amp;lt;br&amp;gt;&lt;br /&gt;
Patch a few to build all packages successfully except for D3DX11.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the pngwin.def at &amp;lt;dependencies_source_root&amp;gt;/src/libpng-1.4.7/scripts,&amp;lt;br&amp;gt;&lt;br /&gt;
At Line 5, edit LIBRARY to LIBRARY libpng. libpng is the missing library name.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the devil_internal_exports.h at &amp;lt;dependencies_source_root&amp;gt;/src/devil-1.7.8/include/IL,&amp;lt;br&amp;gt;&lt;br /&gt;
At Line 29, change the definition of INLINE from external inline to static inline.&amp;lt;br&amp;gt;&lt;br /&gt;
By this change, you can avoid some multiple definition error.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Then, you launch cmake-gui, click configure, select the MinGW Makefiles generator,&amp;lt;br&amp;gt;&lt;br /&gt;
check all options except for CEGUI_BUILD_EFFECTS11 and CEGUI_GNUtoMS, configure again and generate.&amp;lt;br&amp;gt;&lt;br /&gt;
If Cmake works successfully, you can see the Makefile at the target binary directory you choose.&amp;lt;br&amp;gt;&lt;br /&gt;
Build it.&amp;lt;br&amp;gt;&lt;br /&gt;
You could find built dependencies at &amp;lt;dependencies_binary_root&amp;gt;/dependencies.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Third, you build the CEGUI.&amp;lt;br&amp;gt;&lt;br /&gt;
You need to move dependencies you built from &amp;lt;dependencies_binary_root&amp;gt; to &amp;lt;cegui_source_root&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You also need to modify some files.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the CMakeLists.txt at &amp;lt;cegui_source_root&amp;gt;/cegui/src,&amp;lt;br&amp;gt;&lt;br /&gt;
Between Line 84 and Line 85, you have to add&amp;lt;br&amp;gt;&lt;br /&gt;
	if(MINGW)&amp;lt;br&amp;gt;&lt;br /&gt;
		target_link_libraries(${CEGUI_TARGET_NAME} &amp;lt;mingw_root&amp;gt;/lib/libshlwapi.a)&amp;lt;br&amp;gt;&lt;br /&gt;
	endif ()&amp;lt;br&amp;gt;&lt;br /&gt;
This library is needed for the build of MiniZipResourceProvider.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
And to solve the C++ mangling problem, you have to remake import library to libxerces-c_3.dll.&amp;lt;br&amp;gt;&lt;br /&gt;
To do this,&amp;lt;br&amp;gt;&lt;br /&gt;
1.Export the .def file from libxerces-c_3.dll at &amp;lt;cegui_source_root&amp;gt;/dependencies/bin.&amp;lt;br&amp;gt;&lt;br /&gt;
2.Modify the exported .def file.&amp;lt;br&amp;gt;&lt;br /&gt;
3.Remake an import library from modified .def file.&amp;lt;br&amp;gt;&lt;br /&gt;
4.Replace the libxerces-c_3.dll.a at &amp;lt;cegui_root&amp;gt;/dependencies/lib/dynamic/ with the new import library.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
For example, with built-in MinGW dlltool,&amp;lt;br&amp;gt;&lt;br /&gt;
1.Run dlltool --export-all-symbols xerces-c_3.dll -z temp.txt&amp;lt;br&amp;gt;&lt;br /&gt;
2.At Line 6919, modify _ZN11xercesc_3_19XMLString7releaseEPPwPNS_13MemoryManagerE to _ZN11xercesc_3_19XMLString7releaseEPPtPNS_13MemoryManagerE = _ZN11xercesc_3_19XMLString7releaseEPPwPNS_13MemoryManagerE,&amp;lt;br&amp;gt;&lt;br /&gt;
At Line 6977, modify _ZN11xercesc_3_19XMLString9transcodeEPKwPNS_13MemoryManagerE to _ZN11xercesc_3_19XMLString9transcodeEPKtPNS_13MemoryManagerE = _ZN11xercesc_3_19XMLString9transcodeEPKwPNS_13MemoryManagerE.&amp;lt;br&amp;gt;&lt;br /&gt;
3.Run dlltool -d temp.txt -l libxerces-c_3.dll.a.&amp;lt;br&amp;gt;&lt;br /&gt;
4.Replace.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
This problem occurs because the number of User-defined types is different between CEGUI and its dependencies.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Then, you launch cmake-gui, click configure, select the MinGW Makefiles generator, uncheck CEGUI_BUILD_RENDERER_OPENGL3 and generate.&amp;lt;br&amp;gt;&lt;br /&gt;
You should choose the target binary directory same as the source directory, because the reference to datafiles are fixed to the source directory.&amp;lt;br&amp;gt;&lt;br /&gt;
If Cmake works successfully, you can see the Makefile at the target binary directory you choose.&amp;lt;br&amp;gt;&lt;br /&gt;
Build it.&amp;lt;br&amp;gt;&lt;br /&gt;
You could find built cegui-library at &amp;lt;cegui_target_root&amp;gt;/bin.&amp;lt;br&amp;gt;&lt;br /&gt;
Copy the dll files at &amp;lt;cegui_root&amp;gt;/dependencies/bin to this directory.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Finally, launch CEGUISampleFramework-0.8.&amp;lt;br&amp;gt;&lt;br /&gt;
If you have successfully built all the things, you may enjoy a bunch of cegui demo.&amp;lt;br&amp;gt;&lt;br /&gt;
Congratulations!&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials]]&lt;/div&gt;</summary>
		<author><name>Laputan</name></author>	</entry>

	<entry>
		<id>http://cegui.org/wiki/index.php?title=How_to_install_CEGUI_0.8.4_With_MinGW&amp;diff=5543</id>
		<title>How to install CEGUI 0.8.4 With MinGW</title>
		<link rel="alternate" type="text/html" href="http://cegui.org/wiki/index.php?title=How_to_install_CEGUI_0.8.4_With_MinGW&amp;diff=5543"/>
				<updated>2014-10-25T01:13:07Z</updated>
		
		<summary type="html">&lt;p&gt;Laputan: Created page with &amp;quot;First, you need to download the CEGUI source package and its dependencies from [http://cegui.org.uk/download The Official Site].&amp;lt;br&amp;gt; You also need to download and install CMak...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;First, you need to download the CEGUI source package and its dependencies from [http://cegui.org.uk/download The Official Site].&amp;lt;br&amp;gt;&lt;br /&gt;
You also need to download and install CMake binary from [http://www.cmake.org/download/ here].&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Second, you build the dependencies.&amp;lt;br&amp;gt;&lt;br /&gt;
Build of the D3DX11 package is currently not supported. Moreover, this version of DirectX is deprecated.&amp;lt;br&amp;gt;&lt;br /&gt;
You had better avoid using these features if possible.&amp;lt;br&amp;gt;&lt;br /&gt;
Patch a few to build all packages successfully except for D3DX11.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the pngwin.def at &amp;lt;dependencies_source_root&amp;gt;/src/libpng-1.4.7/scripts,&amp;lt;br&amp;gt;&lt;br /&gt;
At Line 5, edit LIBRARY to LIBRARY libpng. libpng is the missing library name.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the devil_internal_exports.h at &amp;lt;dependencies_source_root&amp;gt;/src/devil-1.7.8/include/IL,&amp;lt;br&amp;gt;&lt;br /&gt;
At Line 29, change the definition of INLINE from external inline to static inline.&amp;lt;br&amp;gt;&lt;br /&gt;
By this change, you can avoid some multiple definition error.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Then, you launch cmake-gui, click configure, select the MinGW Makefiles generator,&amp;lt;br&amp;gt;&lt;br /&gt;
check all options except for CEGUI_BUILD_EFFECTS11 and CEGUI_GNUtoMS, configure again and generate.&amp;lt;br&amp;gt;&lt;br /&gt;
If Cmake works successfully, you can see the Makefile at the target binary directory you choose.&amp;lt;br&amp;gt;&lt;br /&gt;
Build it.&amp;lt;br&amp;gt;&lt;br /&gt;
You could find built dependencies at &amp;lt;dependencies_binary_root&amp;gt;/dependencies.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Third, you build the CEGUI.&amp;lt;br&amp;gt;&lt;br /&gt;
You need to move dependencies you built from &amp;lt;dependencies_binary_root&amp;gt; to &amp;lt;cegui_source_root&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You also need to modify some files.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the CMakeLists.txt at &amp;lt;cegui_source_root&amp;gt;/cegui/src,&amp;lt;br&amp;gt;&lt;br /&gt;
Between Line 84 and Line 85, you have to add&amp;lt;br&amp;gt;&lt;br /&gt;
	if(MINGW)&amp;lt;br&amp;gt;&lt;br /&gt;
		target_link_libraries(${CEGUI_TARGET_NAME} &amp;lt;mingw_root&amp;gt;/lib/libshlwapi.a)&amp;lt;br&amp;gt;&lt;br /&gt;
	endif ()&amp;lt;br&amp;gt;&lt;br /&gt;
This library is needed for the build of MiniZipResourceProvider.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
And to solve the C++ mangling problem, you have to remake import library to libxerces-c_3.dll.&amp;lt;br&amp;gt;&lt;br /&gt;
To do this,&amp;lt;br&amp;gt;&lt;br /&gt;
1.Export the .def file from libxerces-c_3.dll at &amp;lt;cegui_source_root&amp;gt;/dependencies/bin.&amp;lt;br&amp;gt;&lt;br /&gt;
2.Modify the exported .def file.&amp;lt;br&amp;gt;&lt;br /&gt;
3.Remake an import library from modified .def file.&amp;lt;br&amp;gt;&lt;br /&gt;
4.Replace the libxerces-c_3.dll.a at &amp;lt;cegui_root&amp;gt;/dependencies/lib/dynamic/ with the new import library.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
For example, with built-in MinGW dlltool,&amp;lt;br&amp;gt;&lt;br /&gt;
1.Run dlltool --export-all-symbols xerces-c_3.dll -z temp.txt&amp;lt;br&amp;gt;&lt;br /&gt;
2.At Line 6919, modify _ZN11xercesc_3_19XMLString7releaseEPPwPNS_13MemoryManagerE to _ZN11xercesc_3_19XMLString7releaseEPPtPNS_13MemoryManagerE = _ZN11xercesc_3_19XMLString7releaseEPPwPNS_13MemoryManagerE,&amp;lt;br&amp;gt;&lt;br /&gt;
At Line 6977, modify _ZN11xercesc_3_19XMLString9transcodeEPKwPNS_13MemoryManagerE to _ZN11xercesc_3_19XMLString9transcodeEPKtPNS_13MemoryManagerE = _ZN11xercesc_3_19XMLString9transcodeEPKwPNS_13MemoryManagerE.&amp;lt;br&amp;gt;&lt;br /&gt;
3.Run dlltool -d temp.txt -l libxerces-c_3.dll.a.&amp;lt;br&amp;gt;&lt;br /&gt;
4.Replace.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
This problem occurs because the number of User-defined types is different between CEGUI and its dependencies.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Then, you launch cmake-gui, click configure, select the MinGW Makefiles generator, uncheck CEGUI_BUILD_RENDERER_OPENGL3 and generate.&amp;lt;br&amp;gt;&lt;br /&gt;
You should choose the target binary directory same as the source directory, because the reference to datafiles are fixed to the source directory.&amp;lt;br&amp;gt;&lt;br /&gt;
If Cmake works successfully, you can see the Makefile at the target binary directory you choose.&amp;lt;br&amp;gt;&lt;br /&gt;
Build it.&amp;lt;br&amp;gt;&lt;br /&gt;
You could find built cegui-library at &amp;lt;cegui_target_root&amp;gt;/bin.&amp;lt;br&amp;gt;&lt;br /&gt;
Copy the dll files at &amp;lt;cegui_root&amp;gt;/dependencies/bin to this directory.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Finally, launch CEGUISampleFramework-0.8.&amp;lt;br&amp;gt;&lt;br /&gt;
If you have successfully built all the things, you may enjoy a bunch of cegui demo.&amp;lt;br&amp;gt;&lt;br /&gt;
Congratulations!&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Laputan</name></author>	</entry>

	</feed>