<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to HOWTO Compile</title><link>https://sourceforge.net/p/chessx/wiki/HOWTO%2520Compile/</link><description>Recent changes to HOWTO Compile</description><atom:link href="https://sourceforge.net/p/chessx/wiki/HOWTO%20Compile/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 23 Feb 2022 17:45:43 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/chessx/wiki/HOWTO%20Compile/feed" rel="self" type="application/rss+xml"/><item><title>Discussion for HOWTO Compile page</title><link>https://sourceforge.net/p/chessx/wiki/HOWTO%2520Compile/?limit=25#511f</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have QT 5.13.2 and I want to compile ChessX.&lt;br/&gt;
In "chessx" folder, when I run:&lt;br/&gt;
C:\Qt\Qt5.13.2\5.13.2\msvc2017_64\bin\lupdate.exe chessx.pro, I get the message:&lt;br/&gt;
"cannot run compiler 'cl' " - see attached file for full message. &lt;br/&gt;
Please tell me what am I doing wrong.&lt;br/&gt;
M J Brown&lt;br/&gt;
mj37brown@gmail.com&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Brown</dc:creator><pubDate>Wed, 23 Feb 2022 17:45:43 -0000</pubDate><guid>https://sourceforge.net5d95d66d4253556846c1e0d7a9fc12fd081df728</guid></item><item><title>HOWTO Compile modified by Jens Nissen</title><link>https://sourceforge.net/p/chessx/wiki/HOWTO%2520Compile/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="requirements"&gt;Requirements&lt;/h1&gt;
&lt;p&gt;To compile ChessX, you need at least Qt5.13. You will also need to download ChessX source code, as described in the download section.&lt;/p&gt;
&lt;h1 id="compilation"&gt;Compilation&lt;/h1&gt;
&lt;p&gt;Compiling the source is simple. Just unpack the sources, go to source directory (chessx) and execute:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;lupdate chessx.pro&lt;br/&gt;
qmake&lt;br/&gt;
make&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;If you receice an error in make related to multimedia, you can comment out the line CONFIG += sound in chessx.pro and call make again.&lt;/p&gt;
&lt;p&gt;If the compilation is successful you should be able to run ChessX executable in release, debug or static subdirectory. It is called:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;chessx on Linux&lt;/li&gt;
&lt;li&gt;chessx.app on Mac OS&lt;/li&gt;
&lt;li&gt;chessx.exe on Windows&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id="debugging"&gt;Debugging&lt;/h1&gt;
&lt;p&gt;To enable debugging, you need to pass debug) variable to qmake:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;qmake -recursive -after CONFIG+=debug&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h1 id="static-linkage"&gt;Static Linkage&lt;/h1&gt;
&lt;p&gt;To enable static linking, you need to pass static) variable to qmake:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;qmake -recursive -after CONFIG+=static&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Static Linkage with Qt requires that you build a complete set of static Qt libraries. See the Qt homepage.&lt;/p&gt;
&lt;h1 id="issues-after-updating-xcode"&gt;Issues after updating Xcode&lt;/h1&gt;
&lt;p&gt;Every once in while Apple updates Xcode. ChessX usually won't compile afterwards:&lt;br/&gt;
Change the line&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;QMAKE_MAC_SDK = macosx10.11&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;to the current Apple SDK, call qmake and make afterwards.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jens Nissen</dc:creator><pubDate>Sun, 19 Apr 2020 16:44:43 -0000</pubDate><guid>https://sourceforge.netcae7f49f45b61039d58a3a5f7b29a7bddb43d217</guid></item></channel></rss>