<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to BuildOnWindows</title><link>https://sourceforge.net/p/xml-copy-editor/wiki/BuildOnWindows/</link><description>Recent changes to BuildOnWindows</description><atom:link href="https://sourceforge.net/p/xml-copy-editor/wiki/BuildOnWindows/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 25 Jul 2020 10:04:03 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/xml-copy-editor/wiki/BuildOnWindows/feed" rel="self" type="application/rss+xml"/><item><title>BuildOnWindows modified by Zane U. Ji</title><link>https://sourceforge.net/p/xml-copy-editor/wiki/BuildOnWindows/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -5,7 +5,11 @@

 MSYS2 makes building XML Copy Editor much easier:
 1. Visit the [home page of MSYS2](https://www.msys2.org/), then follow the steps to install MSYS2.
-2. Install the required packages listed below in MSYS2 shell. MSYS2 documents how to install a package [here](https://www.msys2.org/docs/package-management/).
+2. Install the required packages listed below in MSYS2 shell.
+~~~sh
+pacman -S zlib aspell expat libiconv libxml2 libxslt pcre ${MINGW_PACKAGE_PREFIX}-wxWidgets ${MINGW_PACKAGE_PREFIX}-xerces-c ${MINGW_PACKAGE_PREFIX}-boost openssl curl
+~~~
+MSYS2 documents how to install a package [here](https://www.msys2.org/docs/package-management/).
 3. Then continue to [Step  14](#14-eclipse-ide-for-cc-developers).

 * [MSYS](https://sourceforge.net/projects/mingw-w64/files/External%20binary%20packages%20%28Win64%20hosted%29/MSYS%20%2832-bit%29/)
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zane U. Ji</dc:creator><pubDate>Sat, 25 Jul 2020 10:04:03 -0000</pubDate><guid>https://sourceforge.net881b42a7a53f3eb3dc8f41ac6887dcefb73caf8f</guid></item><item><title>BuildOnWindows modified by Zane U. Ji</title><link>https://sourceforge.net/p/xml-copy-editor/wiki/BuildOnWindows/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -1,5 +1,13 @@
 [TOC]
 #1. Prerequisites
+
+* [MSYS2](https://www.msys2.org/)
+
+MSYS2 makes building XML Copy Editor much easier:
+1. Visit the [home page of MSYS2](https://www.msys2.org/), then follow the steps to install MSYS2.
+2. Install the required packages listed below in MSYS2 shell. MSYS2 documents how to install a package [here](https://www.msys2.org/docs/package-management/).
+3. Then continue to [Step  14](#14-eclipse-ide-for-cc-developers).
+
 * [MSYS](https://sourceforge.net/projects/mingw-w64/files/External%20binary%20packages%20%28Win64%20hosted%29/MSYS%20%2832-bit%29/)
 * MinGW ([Drangon's realse](http://www.drangon.org/mingw/) or [MinGW32](https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/) or [MinGW64](https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/) or [TDM-GCC](http://tdm-gcc.tdragon.net/))

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zane U. Ji</dc:creator><pubDate>Sat, 25 Jul 2020 09:52:37 -0000</pubDate><guid>https://sourceforge.net1c08ddf050f98185c2c4fe4ab3843904d3cefaca</guid></item><item><title>BuildOnWindows modified by Zane U. Ji</title><link>https://sourceforge.net/p/xml-copy-editor/wiki/BuildOnWindows/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -5,7 +5,7 @@

 Edit etc/fstab file of MSYS. Make sure "/mingw" points to the right directory where MinGW is installed. So I strongly recommend keeping two copies of MSYS for MinGW32 and MinGW64 if both 32-bit and 64-bit build are needed.

-If MSYS is installed in D:\msys and MinGW is installed in D:\mingw32, append "D:\msys\bin,D:\mingw32\bin,D:\mingw32\i686-w64-mingw32\bin" to the PATH environment variable.
+If MSYS is installed in **D:\msys** and MinGW is installed in **D:\mingw32**, append "D:\msys\bin,D:\mingw32\bin,D:\mingw32\i686-w64-mingw32\bin" to the PATH environment variable.

 Then the MinGW console can be started with

@@ -79,7 +79,11 @@
 Download and unpack it. It doesn't need to be compiled.

 #14. [Eclipse IDE for C/C++ Developers](http://eclipse.org/downloads/)
-Open the project in Eclipse and compile it.
+Change the default encoding of text files to **UTF-8**. Click Window menu -&gt; Preferences to open the Preferences dialog of Eclipse. Select General -&gt; Workspace on the left, then click the radio button labeled "Others" on the right panel. Choose **UTF-8** from the combo box, which is next to the radio button.
+
+The project folder is src. Import the project into Eclipse. Then select the project and click Project menu -&gt; Properties. In the pop up dialog, select C/C++ Build -&gt; Build Variables on the left. Make sure the variables listed on the right are correct. Change them if they are not. Then select Environment, which is just below "Build Variables", on the left. Check the variables on the right as well.
+
+Compile the project.

 #15. [Inno Setup](http://www.jrsoftware.org/isinfo.php)
 The script file is src\xmlcopyeditor.iss. After it has been compiled, xmlcopyeditor-x.x.x.x-install.exe will be created.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zane U. Ji</dc:creator><pubDate>Wed, 21 May 2014 00:33:25 -0000</pubDate><guid>https://sourceforge.net933bb62676902263bec6bd864d448409541663b7</guid></item><item><title>BuildOnWindows modified by Zane U. Ji</title><link>https://sourceforge.net/p/xml-copy-editor/wiki/BuildOnWindows/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -23,29 +23,29 @@

 #3. [Aspell](http://aspell.net/)

-    configure --prefix=/mingw/i686-w64-mingw32 &amp;&amp; make install
+    ./configure --prefix=/mingw/i686-w64-mingw32 &amp;&amp; make install

 #4. [expat](http://expat.sourceforge.net/)

-    configure --prefix=/mingw/i686-w64-mingw32 &amp;&amp; make install
+    ./configure --prefix=/mingw/i686-w64-mingw32 &amp;&amp; make install

 #5. [libiconv](https://www.gnu.org/software/libiconv/)

-    configure --prefix=/mingw/i686-w64-mingw32 &amp;&amp; make install
+    ./configure --prefix=/mingw/i686-w64-mingw32 &amp;&amp; make install

 #6. [libxml2](http://www.xmlsoft.org/)
 **Please make sure that D:\mingw32\i686-w64-mingw32\lib\libz.dll.a exists before compiling libxml2**. Otherwise, install [zlib](#2-zlib) to avoid wired problems.

-    configure --prefix=/mingw/i686-w64-mingw32 &amp;&amp; make install
+    ./configure --prefix=/mingw/i686-w64-mingw32 &amp;&amp; make install
     ln -s -t /mingw/i686-w64-mingw32/include libxml2/libxml

 #7. [libxslt](http://xmlsoft.org/libxslt/)

-    configure --prefix=/mingw/i686-w64-mingw32 &amp;&amp; make install
+    ./configure --prefix=/mingw/i686-w64-mingw32 &amp;&amp; make install

 #8. [pcre](http://www.pcre.org/)

-    configure --prefix=/mingw/i686-w64-mingw32 --enable-unicode-properties --enable-newline-is-any
+    ./configure --prefix=/mingw/i686-w64-mingw32 --enable-unicode-properties --enable-newline-is-any
     make install

 #9. [wxWidgets](http://www.wxwidgets.org/)
@@ -60,23 +60,23 @@

 #10. [openssl](https://www.openssl.org/) (to support HTTPS - optional)

-    configure shared --prefix=/mingw/i686-w64-mingw32 mingw &amp;&amp; make install
+    ./configure shared --prefix=/mingw/i686-w64-mingw32 mingw &amp;&amp; make install

 #11. [cURL](http://curl.haxx.se/) (to support HTTPS - optional)

-    configure --prefix=/mingw/i686-w64-mingw32 --with-ca-bundle=curl-ca-bundle.crt
+    ./configure --prefix=/mingw/i686-w64-mingw32 --with-ca-bundle=curl-ca-bundle.crt
     make install

-Download [cacert.pem](http://curl.haxx.se/ca/cacert.pem) and rename it to **curl-ca-bundle.crt**, which is the default file name used by curl.exe on Windows. curl.exe searches for that file. But XML Copy Editor, libcurl actually, doesn't. So keep a copy of that file in XML Copy Editor directory. Or HTTPS won't work.
+Download [cacert.pem](http://curl.haxx.se/ca/cacert.pem) and rename it to **curl-ca-bundle.crt**, which is the default file name used by curl.exe on Windows. curl.exe searches for that file in directories listed in PATH environment variable. But XML Copy Editor, libcurl actually, just search it in the current directory, which is specified at build time. So keep a copy of that file in XML Copy Editor directory. Or HTTPS won't work.

 #12. [Xerces-C++](http://xerces.apache.org/xerces-c/)
 Apply [patches](https://sourceforge.net/projects/xml-copy-editor/files/patches/xerces-c-3.1.1/). [cURL](https://sourceforge.net/p/xml-copy-editor/wiki/BuildOnWindows/#11-curl-to-support-https-optional) is required to support HTTPS.

-    configure --prefix=/mingw/i686-w64-mingw32 --disable-sse2
+    ./configure --prefix=/mingw/i686-w64-mingw32 --disable-sse2
     make install

 #13. [Boost C++ Libraries](http://www.boost.org/)
-Download and extract it. It doesn't need to be compiled.
+Download and unpack it. It doesn't need to be compiled.

 #14. [Eclipse IDE for C/C++ Developers](http://eclipse.org/downloads/)
 Open the project in Eclipse and compile it.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zane U. Ji</dc:creator><pubDate>Mon, 21 Apr 2014 14:52:58 -0000</pubDate><guid>https://sourceforge.net53c02a3cc57077b70dd4a5f87cd3e2f1949e0ba4</guid></item><item><title>BuildOnWindows modified by Zane U. Ji</title><link>https://sourceforge.net/p/xml-copy-editor/wiki/BuildOnWindows/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -34,7 +34,7 @@
     configure --prefix=/mingw/i686-w64-mingw32 &amp;&amp; make install

 #6. [libxml2](http://www.xmlsoft.org/)
-**Please make sure that D:\mingw32\i686-w64-mingw32\lib\libz.dll.a exists before compiling libxml2**. Otherwise, there will be wired problems.
+**Please make sure that D:\mingw32\i686-w64-mingw32\lib\libz.dll.a exists before compiling libxml2**. Otherwise, install [zlib](#2-zlib) to avoid wired problems.

     configure --prefix=/mingw/i686-w64-mingw32 &amp;&amp; make install
     ln -s -t /mingw/i686-w64-mingw32/include libxml2/libxml
@@ -49,7 +49,7 @@
     make install

 #9. [wxWidgets](http://www.wxwidgets.org/)
-Apply patches if you're compiling wxWidgets 2.8.12 using MinGW64.
+Apply [patches](https://sourceforge.net/projects/xml-copy-editor/files/patches/wxWidgets-2.8.12/).

     cd wxWidgets-2.8.12/build/msw
     mingw32-make -f makefile.gcc UNICODE=1 USE_GUI=1 USE_XRC=1 CPPFLAGS="-Wno-unused-local-typedefs -Wno-unused-value" CFG=32 VENDOR=xmci686 SHARED=0 BUILD=release
@@ -69,14 +69,14 @@

 Download [cacert.pem](http://curl.haxx.se/ca/cacert.pem) and rename it to **curl-ca-bundle.crt**, which is the default file name used by curl.exe on Windows. curl.exe searches for that file. But XML Copy Editor, libcurl actually, doesn't. So keep a copy of that file in XML Copy Editor directory. Or HTTPS won't work.

-#12. [Boost C++ Libraries](http://www.boost.org/)
-Download and extract it. It doesn't need to be compiled.
-
-#13. [Xerces-C++](http://xerces.apache.org/xerces-c/)
-cURL is required to support HTTPS.
+#12. [Xerces-C++](http://xerces.apache.org/xerces-c/)
+Apply [patches](https://sourceforge.net/projects/xml-copy-editor/files/patches/xerces-c-3.1.1/). [cURL](https://sourceforge.net/p/xml-copy-editor/wiki/BuildOnWindows/#11-curl-to-support-https-optional) is required to support HTTPS.

     configure --prefix=/mingw/i686-w64-mingw32 --disable-sse2
     make install
+
+#13. [Boost C++ Libraries](http://www.boost.org/)
+Download and extract it. It doesn't need to be compiled.

 #14. [Eclipse IDE for C/C++ Developers](http://eclipse.org/downloads/)
 Open the project in Eclipse and compile it.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zane U. Ji</dc:creator><pubDate>Mon, 21 Apr 2014 14:19:01 -0000</pubDate><guid>https://sourceforge.net341b5fe6a289788f90bf2553ca29417468179b50</guid></item><item><title>BuildOnWindows modified by Zane U. Ji</title><link>https://sourceforge.net/p/xml-copy-editor/wiki/BuildOnWindows/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -17,7 +17,7 @@

 #2. [zlib](http://www.zlib.net/)
-Only needed if D:\mingw32\i686-w64-mingw32\lib\libz.dll.a doesn't exist.
+Only needed if **D:\mingw32\i686-w64-mingw32\lib\libz.dll.a** doesn't exist.

     INCLUDE_PATH=/mingw/i686-w64-mingw32/include LIBRARY_PATH=/mingw/i686-w64-mingw32/lib BINARY_PATH=/mingw/i686-w64-mingw32/bin make install -fwin32/Makefile.gcc SHARED_MODE=1

@@ -34,7 +34,7 @@
     configure --prefix=/mingw/i686-w64-mingw32 &amp;&amp; make install

 #6. [libxml2](http://www.xmlsoft.org/)
-**Please make sure D:\mingw32\i686-w64-mingw32\lib\libz.dll.a exists before compiling libxml2.**
+**Please make sure that D:\mingw32\i686-w64-mingw32\lib\libz.dll.a exists before compiling libxml2**. Otherwise, there will be wired problems.

     configure --prefix=/mingw/i686-w64-mingw32 &amp;&amp; make install
     ln -s -t /mingw/i686-w64-mingw32/include libxml2/libxml
@@ -69,14 +69,17 @@

 Download [cacert.pem](http://curl.haxx.se/ca/cacert.pem) and rename it to **curl-ca-bundle.crt**, which is the default file name used by curl.exe on Windows. curl.exe searches for that file. But XML Copy Editor, libcurl actually, doesn't. So keep a copy of that file in XML Copy Editor directory. Or HTTPS won't work.

-#12. [Xerces-C++](http://xerces.apache.org/xerces-c/)
+#12. [Boost C++ Libraries](http://www.boost.org/)
+Download and extract it. It doesn't need to be compiled.
+
+#13. [Xerces-C++](http://xerces.apache.org/xerces-c/)
 cURL is required to support HTTPS.

-    configure --prefix=/mingw/i686-w64-mingw32 --enable-static --enable-shared --disable-sse2
+    configure --prefix=/mingw/i686-w64-mingw32 --disable-sse2
     make install

-#13. [Eclipse IDE for C/C++ Developers](http://eclipse.org/downloads/)
+#14. [Eclipse IDE for C/C++ Developers](http://eclipse.org/downloads/)
 Open the project in Eclipse and compile it.

-#14. [Inno Setup](http://www.jrsoftware.org/isinfo.php)
-The scipt file is src\xmlcopyeditor.iss. After it has been compiled, xmlcopyeditor-x.x.x.x-install.exe will be created.
+#15. [Inno Setup](http://www.jrsoftware.org/isinfo.php)
+The script file is src\xmlcopyeditor.iss. After it has been compiled, xmlcopyeditor-x.x.x.x-install.exe will be created.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zane U. Ji</dc:creator><pubDate>Mon, 21 Apr 2014 07:54:56 -0000</pubDate><guid>https://sourceforge.net529df950844135ee6eb457af522b40f1d70a478c</guid></item><item><title>BuildOnWindows modified by Zane U. Ji</title><link>https://sourceforge.net/p/xml-copy-editor/wiki/BuildOnWindows/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -9,7 +9,7 @@

 Then the MinGW console can be started with

-    **D:\msys\bin\sh.exe --login **
+    D:\msys\bin\sh.exe --login

 Drangon have created [binary releases](http://www.drangon.org/mingw/) for some libraries listed below.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zane U. Ji</dc:creator><pubDate>Mon, 21 Apr 2014 07:18:55 -0000</pubDate><guid>https://sourceforge.netaf7829e5265d1c8d1038ea8ce37a2ad01b39eca3</guid></item><item><title>BuildOnWindows modified by Zane U. Ji</title><link>https://sourceforge.net/p/xml-copy-editor/wiki/BuildOnWindows/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -79,4 +79,4 @@
 Open the project in Eclipse and compile it.

 #14. [Inno Setup](http://www.jrsoftware.org/isinfo.php)
-The scipt file is src\xmlcopyeditor.iss.
+The scipt file is src\xmlcopyeditor.iss. After it has been compiled, xmlcopyeditor-x.x.x.x-install.exe will be created.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zane U. Ji</dc:creator><pubDate>Mon, 21 Apr 2014 07:16:58 -0000</pubDate><guid>https://sourceforge.net4acd8ae66239fb883800952d584d084c32755e57</guid></item><item><title>BuildOnWindows modified by Zane U. Ji</title><link>https://sourceforge.net/p/xml-copy-editor/wiki/BuildOnWindows/</link><description>&lt;div class="markdown_content"&gt;&lt;div class="toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#1-prerequisites"&gt;1. Prerequisites&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#2-zlib"&gt;2. zlib&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#3-aspell"&gt;3. Aspell&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#4-expat"&gt;4. expat&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#5-libiconv"&gt;5. libiconv&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#6-libxml2"&gt;6. libxml2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#7-libxslt"&gt;7. libxslt&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#8-pcre"&gt;8. pcre&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#9-wxwidgets"&gt;9. wxWidgets&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#10-openssl-to-support-https-optional"&gt;10. openssl (to support HTTPS - optional)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#11-curl-to-support-https-optional"&gt;11. cURL (to support HTTPS - optional)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#12-xerces-c"&gt;12. Xerces-C++&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#13-eclipse-ide-for-cc-developers"&gt;13. Eclipse IDE for C/C++ Developers&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#14-inno-setup"&gt;14. Inno Setup&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h1 id="1-prerequisites"&gt;1. Prerequisites&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="" href="https://sourceforge.net/projects/mingw-w64/files/External%20binary%20packages%20%28Win64%20hosted%29/MSYS%20%2832-bit%29/"&gt;MSYS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;MinGW (&lt;a class="" href="http://www.drangon.org/mingw/" rel="nofollow"&gt;Drangon's realse&lt;/a&gt; or &lt;a class="" href="https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/"&gt;MinGW32&lt;/a&gt; or &lt;a class="" href="https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/"&gt;MinGW64&lt;/a&gt; or &lt;a class="" href="http://tdm-gcc.tdragon.net/" rel="nofollow"&gt;TDM-GCC&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Edit etc/fstab file of MSYS. Make sure "/mingw" points to the right directory where MinGW is installed. So I strongly recommend keeping two copies of MSYS for MinGW32 and MinGW64 if both 32-bit and 64-bit build are needed.&lt;/p&gt;
&lt;p&gt;If MSYS is installed in D:\msys and MinGW is installed in D:\mingw32, append "D:\msys\bin,D:\mingw32\bin,D:\mingw32\i686-w64-mingw32\bin" to the PATH environment variable.&lt;/p&gt;
&lt;p&gt;Then the MinGW console can be started with&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="n"&gt;D&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;msys&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;bin&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;sh&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exe&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;login&lt;/span&gt; &lt;span class="o"&gt;**&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Drangon have created &lt;a class="" href="http://www.drangon.org/mingw/" rel="nofollow"&gt;binary releases&lt;/a&gt; for some libraries listed below.&lt;/p&gt;
&lt;p&gt;"--disable-nls" can be added to the &lt;strong&gt;configure&lt;/strong&gt; command line if the localized messages are confusing.&lt;/p&gt;
&lt;h1 id="2-zlib"&gt;2. &lt;a class="" href="http://www.zlib.net/" rel="nofollow"&gt;zlib&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Only needed if D:\mingw32\i686-w64-mingw32\lib\libz.dll.a doesn't exist.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;INCLUDE_PATH&lt;/span&gt;&lt;span class="o"&gt;=/&lt;/span&gt;&lt;span class="n"&gt;mingw&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;i686&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;w64&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;mingw32&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;include&lt;/span&gt; &lt;span class="n"&gt;LIBRARY_PATH&lt;/span&gt;&lt;span class="o"&gt;=/&lt;/span&gt;&lt;span class="n"&gt;mingw&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;i686&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;w64&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;mingw32&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;lib&lt;/span&gt; &lt;span class="n"&gt;BINARY_PATH&lt;/span&gt;&lt;span class="o"&gt;=/&lt;/span&gt;&lt;span class="n"&gt;mingw&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;i686&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;w64&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;mingw32&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;bin&lt;/span&gt; &lt;span class="n"&gt;make&lt;/span&gt; &lt;span class="n"&gt;install&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;fwin32&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;Makefile&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;gcc&lt;/span&gt; &lt;span class="n"&gt;SHARED_MODE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h1 id="3-aspell"&gt;3. &lt;a class="" href="http://aspell.net/" rel="nofollow"&gt;Aspell&lt;/a&gt;&lt;/h1&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;configure&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;prefix&lt;/span&gt;&lt;span class="o"&gt;=/&lt;/span&gt;&lt;span class="n"&gt;mingw&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;i686&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;w64&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;mingw32&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;make&lt;/span&gt; &lt;span class="n"&gt;install&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h1 id="4-expat"&gt;4. &lt;a class="" href="http://expat.sourceforge.net/"&gt;expat&lt;/a&gt;&lt;/h1&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;configure&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;prefix&lt;/span&gt;&lt;span class="o"&gt;=/&lt;/span&gt;&lt;span class="n"&gt;mingw&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;i686&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;w64&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;mingw32&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;make&lt;/span&gt; &lt;span class="n"&gt;install&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h1 id="5-libiconv"&gt;5. &lt;a class="" href="https://www.gnu.org/software/libiconv/" rel="nofollow"&gt;libiconv&lt;/a&gt;&lt;/h1&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;configure&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;prefix&lt;/span&gt;&lt;span class="o"&gt;=/&lt;/span&gt;&lt;span class="n"&gt;mingw&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;i686&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;w64&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;mingw32&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;make&lt;/span&gt; &lt;span class="n"&gt;install&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h1 id="6-libxml2"&gt;6. &lt;a class="" href="http://www.xmlsoft.org/" rel="nofollow"&gt;libxml2&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;Please make sure D:\mingw32\i686-w64-mingw32\lib\libz.dll.a exists before compiling libxml2.&lt;/strong&gt;&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;configure&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;prefix&lt;/span&gt;&lt;span class="o"&gt;=/&lt;/span&gt;&lt;span class="n"&gt;mingw&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;i686&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;w64&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;mingw32&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;make&lt;/span&gt; &lt;span class="n"&gt;install&lt;/span&gt;
&lt;span class="n"&gt;ln&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;mingw&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;i686&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;w64&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;mingw32&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;include&lt;/span&gt; &lt;span class="n"&gt;libxml2&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;libxml&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h1 id="7-libxslt"&gt;7. &lt;a class="" href="http://xmlsoft.org/libxslt/" rel="nofollow"&gt;libxslt&lt;/a&gt;&lt;/h1&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;configure&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;prefix&lt;/span&gt;&lt;span class="o"&gt;=/&lt;/span&gt;&lt;span class="n"&gt;mingw&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;i686&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;w64&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;mingw32&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;make&lt;/span&gt; &lt;span class="n"&gt;install&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h1 id="8-pcre"&gt;8. &lt;a class="" href="http://www.pcre.org/" rel="nofollow"&gt;pcre&lt;/a&gt;&lt;/h1&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;configure&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;prefix&lt;/span&gt;&lt;span class="o"&gt;=/&lt;/span&gt;&lt;span class="n"&gt;mingw&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;i686&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;w64&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;mingw32&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;enable&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;unicode&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;properties&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;enable&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;newline&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;is&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;any&lt;/span&gt;
&lt;span class="n"&gt;make&lt;/span&gt; &lt;span class="n"&gt;install&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h1 id="9-wxwidgets"&gt;9. &lt;a class="" href="http://www.wxwidgets.org/" rel="nofollow"&gt;wxWidgets&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Apply patches if you're compiling wxWidgets 2.8.12 using MinGW64.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;cd&lt;/span&gt; &lt;span class="n"&gt;wxWidgets&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mf"&gt;2.8.12&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;build&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;msw&lt;/span&gt;
&lt;span class="n"&gt;mingw32&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;make&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt; &lt;span class="n"&gt;makefile&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;gcc&lt;/span&gt; &lt;span class="n"&gt;UNICODE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="n"&gt;USE_GUI&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="n"&gt;USE_XRC&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="n"&gt;CPPFLAGS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;-Wno-unused-local-typedefs -Wno-unused-value&amp;quot;&lt;/span&gt; &lt;span class="n"&gt;CFG&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;32&lt;/span&gt; &lt;span class="n"&gt;VENDOR&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;xmci686&lt;/span&gt; &lt;span class="n"&gt;SHARED&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="n"&gt;BUILD&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;release&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;If &lt;strong&gt;SHARED=1&lt;/strong&gt;, add "wxWidgets-2.8.12\lib\gcc_dll32" to the PATH environment variable.&lt;/p&gt;
&lt;p&gt;Change &lt;strong&gt;CFG&lt;/strong&gt; and &lt;strong&gt;VENDOR&lt;/strong&gt; if it is a x64 build.&lt;/p&gt;
&lt;h1 id="10-openssl-to-support-https-optional"&gt;10. &lt;a class="" href="https://www.openssl.org/" rel="nofollow"&gt;openssl&lt;/a&gt; (to support HTTPS - optional)&lt;/h1&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;configure&lt;/span&gt; &lt;span class="n"&gt;shared&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;prefix&lt;/span&gt;&lt;span class="o"&gt;=/&lt;/span&gt;&lt;span class="n"&gt;mingw&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;i686&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;w64&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;mingw32&lt;/span&gt; &lt;span class="n"&gt;mingw&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;make&lt;/span&gt; &lt;span class="n"&gt;install&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h1 id="11-curl-to-support-https-optional"&gt;11. &lt;a class="" href="http://curl.haxx.se/" rel="nofollow"&gt;cURL&lt;/a&gt; (to support HTTPS - optional)&lt;/h1&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;configure&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;prefix&lt;/span&gt;&lt;span class="o"&gt;=/&lt;/span&gt;&lt;span class="n"&gt;mingw&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;i686&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;w64&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;mingw32&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;with&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ca&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;bundle&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;curl&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ca&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;bundle&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;crt&lt;/span&gt;
&lt;span class="n"&gt;make&lt;/span&gt; &lt;span class="n"&gt;install&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Download &lt;a class="" href="http://curl.haxx.se/ca/cacert.pem" rel="nofollow"&gt;cacert.pem&lt;/a&gt; and rename it to &lt;strong&gt;curl-ca-bundle.crt&lt;/strong&gt;, which is the default file name used by curl.exe on Windows. curl.exe searches for that file. But XML Copy Editor, libcurl actually, doesn't. So keep a copy of that file in XML Copy Editor directory. Or HTTPS won't work.&lt;/p&gt;
&lt;h1 id="12-xerces-c"&gt;12. &lt;a class="" href="http://xerces.apache.org/xerces-c/" rel="nofollow"&gt;Xerces-C++&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;cURL is required to support HTTPS.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;configure&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;prefix&lt;/span&gt;&lt;span class="o"&gt;=/&lt;/span&gt;&lt;span class="n"&gt;mingw&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;i686&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;w64&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;mingw32&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;enable&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="k"&gt;static&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;enable&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;shared&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;disable&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;sse2&lt;/span&gt;
&lt;span class="n"&gt;make&lt;/span&gt; &lt;span class="n"&gt;install&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h1 id="13-eclipse-ide-for-cc-developers"&gt;13. &lt;a class="" href="http://eclipse.org/downloads/" rel="nofollow"&gt;Eclipse IDE for C/C++ Developers&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Open the project in Eclipse and compile it.&lt;/p&gt;
&lt;h1 id="14-inno-setup"&gt;14. &lt;a class="" href="http://www.jrsoftware.org/isinfo.php" rel="nofollow"&gt;Inno Setup&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;The scipt file is src\xmlcopyeditor.iss.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zane U. Ji</dc:creator><pubDate>Mon, 21 Apr 2014 07:13:45 -0000</pubDate><guid>https://sourceforge.net685c24f2ba0b1bcebb9405c88bc3a77c951a1405</guid></item></channel></rss>