<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to LinuxBuild</title><link>https://sourceforge.net/p/xtrkcad-fork/wiki/LinuxBuild/</link><description>Recent changes to LinuxBuild</description><atom:link href="https://sourceforge.net/p/xtrkcad-fork/wiki/LinuxBuild/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 28 Jul 2025 21:41:58 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/xtrkcad-fork/wiki/LinuxBuild/feed" rel="self" type="application/rss+xml"/><item><title>LinuxBuild modified by strobelight</title><link>https://sourceforge.net/p/xtrkcad-fork/wiki/LinuxBuild/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v9
+++ v10
@@ -220,7 +220,7 @@

 &amp;gt; $ make flatpak

-This will create a _.flatpak_ file in the **build** directory. For more information, see [flatpak].
+This will create a _.flatpak_ file in the **build** directory. For more information, see [Flatpak].

 &amp;gt;
 $ make package_source
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">strobelight</dc:creator><pubDate>Mon, 28 Jul 2025 21:41:58 -0000</pubDate><guid>https://sourceforge.net4f48fb86b5e69f838b1054b493dacc61ed2e6867</guid></item><item><title>LinuxBuild modified by strobelight</title><link>https://sourceforge.net/p/xtrkcad-fork/wiki/LinuxBuild/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -220,7 +220,7 @@

 &amp;gt; $ make flatpak

-This will create a _.flatpak_ file in the **build** directory.
+This will create a _.flatpak_ file in the **build** directory. For more information, see [flatpak].

 &amp;gt;
 $ make package_source
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">strobelight</dc:creator><pubDate>Mon, 28 Jul 2025 21:41:20 -0000</pubDate><guid>https://sourceforge.net527d7b16c0e0436253e5aa80423905db93933185</guid></item><item><title>LinuxBuild modified by strobelight</title><link>https://sourceforge.net/p/xtrkcad-fork/wiki/LinuxBuild/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -215,6 +215,13 @@


 This step will create the three install packages in the **build** directory.
+
+If flatpak was detected, a _flatpak_ target will be available:
+
+&amp;gt; $ make flatpak
+
+This will create a _.flatpak_ file in the **build** directory.
+
 &amp;gt;
 $ make package_source

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">strobelight</dc:creator><pubDate>Mon, 28 Jul 2025 21:39:09 -0000</pubDate><guid>https://sourceforge.netd490bbfe542aed98d67b7ef7724e81a3b75f36ea</guid></item><item><title>LinuxBuild modified by Dave Bullis</title><link>https://sourceforge.net/p/xtrkcad-fork/wiki/LinuxBuild/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -59,7 +59,7 @@
 &amp;gt;
 add-apt-repository ppa:inkscape.dev/stable
 apt update
-apt install inkscape libfreeimage-dev
+apt install inkscape


 When running **InkScape** you may see warnings like
@@ -70,6 +70,14 @@

 before building the project
 You may want to put this in ~/.profile or ~/.bashrc.
+
+Note: **FreeImage** is not needed for building post-5.3.0.
+If you are building 5.3.0 and before you should do
+&amp;gt;apt install libfreeimage-dev
+
+#### **Doxygen**
+If you chose to build Doxygen (XTRKCAD_USE_DOXYGEN ON) you need to
+&amp;gt;apt install doxygen

 ### Directory structure

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Bullis</dc:creator><pubDate>Wed, 12 Feb 2025 18:37:02 -0000</pubDate><guid>https://sourceforge.net7168c0ed1b7270fdf296f50cbe08a707cabde2d7</guid></item><item><title>LinuxBuild modified by Dave Bullis</title><link>https://sourceforge.net/p/xtrkcad-fork/wiki/LinuxBuild/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -1,9 +1,9 @@
 ## Linux Build
+### Build Products
+
+'Currently Linux Builds are done on Ubuntu 20.04 as 64-bt executables.    We build for Ubuntu 20.04 (or later), Fedora 
 Applicable to V5.3.0 **Beta1 ** and later.
-
-### Build Products
-
-'Currently Linux Builds are done on Ubuntu 20.04 as 64-bt executables.    We build for Ubuntu 20.04 (or later), Fedora and their derivatives.  We also build a elf-extracting shell script for old-style installs.  Source tar balls are also produced.
+and their derivatives.  We also build a elf-extracting shell script for old-style installs.  Source tar balls are also produced.
 All of these (and more) are available at the download directory. https://sourceforge.net/p/xtrkcad-fork/wiki/DownloadInstall/

 **XTrackCad** has been built on a variety of Unix and Linux based systems.  We can not provide support for these systems.  Please contact your system maintainers for any issues you might have.
@@ -57,7 +57,7 @@

 You will need at least version 1.0 or Inkscape.  You can install current version by
 &amp;gt;
-add-apt-repository ppa:inkscap.dev/stable
+add-apt-repository ppa:inkscape.dev/stable
 apt update
 apt install inkscape libfreeimage-dev

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Bullis</dc:creator><pubDate>Tue, 11 Feb 2025 21:34:12 -0000</pubDate><guid>https://sourceforge.nete1dcca9198ca50647ee3d608feddef8baf5a6898</guid></item><item><title>LinuxBuild modified by Dave Bullis</title><link>https://sourceforge.net/p/xtrkcad-fork/wiki/LinuxBuild/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -40,15 +40,8 @@
 Libzip is used to support **.xtce** format files.  Currently **XTrackCad** uses version 4.
 &amp;gt;apt install libzip4 libzip-dev

-On Ubuntu 20.04, libzip4 was been replaced by libzip5.  Later releases have reversed that change back to libzip4.
-Please visit https://ubuntu.pkgs.org/18.04/ubuntu-universe-amd64/libzip4_1.1.2-1.1_amd64.deb.html
-
-Because of the change from libzip4 to libzip5 and back again we statically link libzip.a so we are not affected by this chage.
-Unfortunately, the static libzip.a library is not available on our build platform (Ubuntu 20.04).
-If you wish to create a build that will run on many platfors you will need to aquire libzip.a.  
-To make this possible libzip.a is available at
-https://sourceforge.net/projects/xtrkcad-fork/files/Development/Linux%20Lib/x86_64/
-Copy libzlib.a to somewhere on on your linker path such as /usr/local/lib
+For Releases, we use the static library (libzip.a) .  For details please see [LinuxLibzip]
+

 #### **MiniXML**

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Bullis</dc:creator><pubDate>Tue, 30 Apr 2024 18:58:35 -0000</pubDate><guid>https://sourceforge.net5415f5e467ac193cf0991afa2dc0cf572b8acfad</guid></item><item><title>LinuxBuild modified by Dave Bullis</title><link>https://sourceforge.net/p/xtrkcad-fork/wiki/LinuxBuild/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Bullis</dc:creator><pubDate>Mon, 29 Apr 2024 20:35:32 -0000</pubDate><guid>https://sourceforge.netab20b1d5f7397068c8d3ea85d7eec77fc360da7d</guid></item><item><title>LinuxBuild modified by Dave Bullis</title><link>https://sourceforge.net/p/xtrkcad-fork/wiki/LinuxBuild/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -40,11 +40,11 @@
 Libzip is used to support **.xtce** format files.  Currently **XTrackCad** uses version 4.
 &amp;gt;apt install libzip4 libzip-dev

-On Ubuntu 20.04, libzip4 was been replaced by libzip5.
+On Ubuntu 20.04, libzip4 was been replaced by libzip5.  Later releases have reversed that change back to libzip4.
 Please visit https://ubuntu.pkgs.org/18.04/ubuntu-universe-amd64/libzip4_1.1.2-1.1_amd64.deb.html

-Because of the change from libzip4 to libzip5 and back again we statically link libzip.a so we are not affected by this chages.
-Unfortuntionly, the static libzip.a library is not available on our build platform (Ubuntu 20.04).
+Because of the change from libzip4 to libzip5 and back again we statically link libzip.a so we are not affected by this chage.
+Unfortunately, the static libzip.a library is not available on our build platform (Ubuntu 20.04).
 If you wish to create a build that will run on many platfors you will need to aquire libzip.a.  
 To make this possible libzip.a is available at
 https://sourceforge.net/projects/xtrkcad-fork/files/Development/Linux%20Lib/x86_64/
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Bullis</dc:creator><pubDate>Mon, 29 Apr 2024 20:22:20 -0000</pubDate><guid>https://sourceforge.net80a3b489694fdec8429791fe52d3dfc926cd1d9a</guid></item><item><title>LinuxBuild modified by Dave Bullis</title><link>https://sourceforge.net/p/xtrkcad-fork/wiki/LinuxBuild/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,8 +1,12 @@
 ## Linux Build
-
-### Applicable to V5.3.0 **Beta1** and later
-
-Currently Linux Builds are done on Ubuntu 20.04.
+Applicable to V5.3.0 **Beta1 ** and later.
+
+### Build Products
+
+'Currently Linux Builds are done on Ubuntu 20.04 as 64-bt executables.    We build for Ubuntu 20.04 (or later), Fedora and their derivatives.  We also build a elf-extracting shell script for old-style installs.  Source tar balls are also produced.
+All of these (and more) are available at the download directory. https://sourceforge.net/p/xtrkcad-fork/wiki/DownloadInstall/
+
+**XTrackCad** has been built on a variety of Unix and Linux based systems.  We can not provide support for these systems.  Please contact your system maintainers for any issues you might have.

 ### Build Prerequisites

@@ -38,6 +42,13 @@

 On Ubuntu 20.04, libzip4 was been replaced by libzip5.
 Please visit https://ubuntu.pkgs.org/18.04/ubuntu-universe-amd64/libzip4_1.1.2-1.1_amd64.deb.html
+
+Because of the change from libzip4 to libzip5 and back again we statically link libzip.a so we are not affected by this chages.
+Unfortuntionly, the static libzip.a library is not available on our build platform (Ubuntu 20.04).
+If you wish to create a build that will run on many platfors you will need to aquire libzip.a.  
+To make this possible libzip.a is available at
+https://sourceforge.net/projects/xtrkcad-fork/files/Development/Linux%20Lib/x86_64/
+Copy libzlib.a to somewhere on on your linker path such as /usr/local/lib

 #### **MiniXML**

@@ -218,6 +229,6 @@

 to create the internals documentation. Read this documentation by pointing your web browser at ${SOURCE}/${BRANCH}/install/docs/doxygen/html/index.html.

-**XTrackCAD** has been compiled and tested on **FreeBSD** and **OpenSolaris**. But there is no official support for these operating systems.
+**XTrackCAD** is reased for Ubuntu. Fedora and their derivates. But there is no official support for these operating systems.

 CategoryDevel
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Bullis</dc:creator><pubDate>Mon, 29 Apr 2024 02:21:08 -0000</pubDate><guid>https://sourceforge.net29e2fe3cbf498b5a9703ff3e3b76064846e1d749</guid></item><item><title>LinuxBuild modified by Russell Shilling</title><link>https://sourceforge.net/p/xtrkcad-fork/wiki/LinuxBuild/</link><description>&lt;div class="markdown_content"&gt;&lt;h2 id="linux-build"&gt;Linux Build&lt;/h2&gt;
&lt;h3 id="applicable-to-v530-beta1-and-later"&gt;Applicable to V5.3.0 &lt;strong&gt;Beta1&lt;/strong&gt; and later&lt;/h3&gt;
&lt;p&gt;Currently Linux Builds are done on Ubuntu 20.04.&lt;/p&gt;
&lt;h3 id="build-prerequisites"&gt;Build Prerequisites&lt;/h3&gt;
&lt;p&gt;The following &lt;strong&gt;apt&lt;/strong&gt; commands are for a Debian/Ubuntu system.  Equivalent commands are available of other systems.&lt;/p&gt;
&lt;h4 id="mercurial"&gt;Mercurial&lt;/h4&gt;
&lt;p&gt;Mercurial is the software control system used by the &lt;strong&gt;XTrackCad&lt;/strong&gt; project.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;apt install mercurial&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;You will probably want the GUI as well&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;apt install tortoisehg&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Or visit &lt;a href="http://mercurial-scm.org" rel="nofollow"&gt;http://mercurial-scm.org&lt;/a&gt;&lt;/p&gt;
&lt;h4 id="cmake"&gt;CMake&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;CMake&lt;/strong&gt; configures the build system and Makefiles.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;apt install cmake cmake-curses-gui&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Or visit &lt;a href="http://cmake.org/download" rel="nofollow"&gt;http://cmake.org/download&lt;/a&gt;&lt;/p&gt;
&lt;h4 id="developer-tools"&gt;Developer Tools&lt;/h4&gt;
&lt;p&gt;Install the compiler, pkg-config and gtk libs:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;apt install g++ pkg-config libgtk2.0-dev&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h4 id="libzip"&gt;Libzip&lt;/h4&gt;
&lt;p&gt;Libzip is used to support &lt;strong&gt;.xtce&lt;/strong&gt; format files.  Currently &lt;strong&gt;XTrackCad&lt;/strong&gt; uses version 4.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;apt install libzip4 libzip-dev&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;On Ubuntu 20.04, libzip4 was been replaced by libzip5.&lt;br/&gt;
Please visit &lt;a href="https://ubuntu.pkgs.org/18.04/ubuntu-universe-amd64/libzip4_1.1.2-1.1_amd64.deb.html" rel="nofollow"&gt;https://ubuntu.pkgs.org/18.04/ubuntu-universe-amd64/libzip4_1.1.2-1.1_amd64.deb.html&lt;/a&gt;&lt;/p&gt;
&lt;h4 id="minixml"&gt;&lt;strong&gt;MiniXML&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;Creating SVG exports depends on the &lt;em&gt;MiniXML:&lt;/em&gt; &lt;span&gt;[https://www.msweet.org/mxml/]&lt;/span&gt; library. If this library cannot be found in the build system &lt;strong&gt;XTrackCAD&lt;/strong&gt; is built anyway but won't include SVG export.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;apt install libmxml-dev libmxml1&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h4 id="icon-bitmaps"&gt;Icon Bitmaps&lt;/h4&gt;
&lt;p&gt;Most icons are built from .svg files.&lt;br/&gt;
To build the bitmap icons you need to install &lt;strong&gt;InkScape&lt;/strong&gt; and &lt;strong&gt;FreeImage&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You will need at least version 1.0 or Inkscape.  You can install current version by&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;add-apt-repository ppa:inkscap.dev/stable&lt;br/&gt;
apt update&lt;br/&gt;
apt install inkscape libfreeimage-dev&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;When running &lt;strong&gt;InkScape&lt;/strong&gt; you may see warnings like&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;...dbind-WARNING **: 17:21:19.754: Couldn't register with accessibility bus:...&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;You can suppress this warning by&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;export NO_AT_BRIDGE=1&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;before building the project&lt;br/&gt;
You may want to put this in ~/.profile or ~/.bashrc.&lt;/p&gt;
&lt;h3 id="directory-structure"&gt;Directory structure&lt;/h3&gt;
&lt;p&gt;You can have any structure you like, as long as your build directories are not descendants of your source directory.&lt;br/&gt;
This description assumes your project is ${SOURCE}/${BRANCH}/, where &lt;strong&gt;SOURCE&lt;/strong&gt; is someplace where you do &lt;strong&gt;XTrackCad&lt;/strong&gt; development and &lt;strong&gt;BRANCH&lt;/strong&gt; is related to the Mercurial branch you're working on.&lt;/p&gt;
&lt;p&gt;You can have any number of projects for different branches.&lt;/p&gt;
&lt;p&gt;Create at least one build directory&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;$ mkdir -p ${SOURCE}/${BRANCH}/build&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;But eventually (after source fetch and build/install for debug) it will look like&lt;/p&gt;
&lt;blockquote&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;src-branch/
build/
install/
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;/blockquote&gt;
&lt;h3 id="fetching-source"&gt;Fetching Source&lt;/h3&gt;
&lt;p&gt;Obtain the current sources from Mercurial where USERNAME is your &lt;strong&gt;SourceForge&lt;/strong&gt; user name.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;$ cd ${SOURCE}/${BRANCH}&lt;br/&gt;
$ hg clone ssh://USERNAME@hg.code.sf.net/p/xtrkcad-fork/xtrkcad src-${BRANCH}&lt;br/&gt;
$ cd src-${BRANCH}&lt;br/&gt;
$ hg update ${BRANCH}&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;For readonly access use&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;$ hg clone &lt;a href="http://hg.code.sf.net/p/xtrkcad-fork/xtrkcad" rel="nofollow"&gt;http://hg.code.sf.net/p/xtrkcad-fork/xtrkcad&lt;/a&gt; src-${BRANCH}&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3 id="configuring-the-build"&gt;Configuring the build&lt;/h3&gt;
&lt;p&gt;We will describe a &lt;strong&gt;debug&lt;/strong&gt; build here.&lt;br/&gt;
&lt;strong&gt;Non-Debug&lt;/strong&gt; builds are not required.&lt;/p&gt;
&lt;p&gt;Change to the build directory and run ccmake to configure the build.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;$ cd ${SOURCE}/${BRANCH}/build&lt;br/&gt;
$ ccmake ../src-${BRANCH}&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Press the "c" key to configure the build. &lt;br/&gt;
After a few moments you will see some options to configure.&lt;/p&gt;
&lt;p&gt;You only need to adjust the first two entries.&lt;br/&gt;
Use &lt;strong&gt;CMAKE_BUILD_TYPE&lt;/strong&gt; to control the build type. Enter "Debug".&lt;br/&gt;
Use &lt;strong&gt;CMAKE_INSTALL_PREFIX&lt;/strong&gt; to control where the software will be installed. For this example, we'll use "../install".&lt;br/&gt;
Use &lt;strong&gt;XTRKCAD_USE_DOXYGEN&lt;/strong&gt; to enable the production of type, function, etc., documentation from the the source code. Requires doxygen if enabled. Enable if and only if you intend to hack on the code.  See below.&lt;br/&gt;
Use &lt;strong&gt;XTRKCAD_USE_GETTEXT&lt;/strong&gt; to add new locales (language translations). Choose "ON" to enable support for multiple languages.&lt;br/&gt;
Refer to &lt;a href="http://www.xtrkcad.org/Wikka/Internationalization" rel="nofollow"&gt;http://www.xtrkcad.org/Wikka/Internationalization&lt;/a&gt; for additional information.&lt;/p&gt;
&lt;p&gt;At this point your screen should look like&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;CMAKE_BUILD_TYPE                 Debug&lt;br/&gt;
 CMAKE_INSTALL_PREFIX             ../install&lt;br/&gt;
 FreeImage_VERSION                3.18.0&lt;br/&gt;
 INTL_LIBRARY                     INTL_LIBRARY-NOTFOUND&lt;br/&gt;
 Inkscape_EXECUTABLE              /usr/bin/inkscape&lt;br/&gt;
 Inkscape_EXPORT                  --export-filename=&lt;br/&gt;
 Inkscape_VERSION                 1.3.2&lt;br/&gt;
 LIBZIP_VERSION                   1.7.3&lt;br/&gt;
 MINIXML_STATIC_LIBRARY           /usr/lib/x86_64-linux-gnu/libmxml.a&lt;br/&gt;
 MiniXML_VERSION                  3.2&lt;br/&gt;
 XTRKCAD_USE_BROWSER              ON&lt;br/&gt;
 XTRKCAD_USE_DOXYGEN              OFF&lt;br/&gt;
 XTRKCAD_USE_GETTEXT              ON&lt;br/&gt;
 XTRKCAD_USE_GTK                  ON&lt;br/&gt;
 ZLIB_VERSION                     1.2.11&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Toggle the advanced mode ('t') and set &lt;strong&gt;CMAKE_C_FLAGS&lt;/strong&gt; to '-Wpointer-sign'&lt;br/&gt;
If you made any changes, press the "c" key again to update your new configuration.&lt;br/&gt;
Once everything is configured to your satisfaction, press the "g" key to generate makefiles for your build.&lt;/p&gt;
&lt;h3 id="building"&gt;Building&lt;/h3&gt;
&lt;p&gt;Compile &lt;strong&gt;XTrackCad&lt;/strong&gt; using your new configuration:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;$ make&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3 id="installing"&gt;Installing&lt;/h3&gt;
&lt;p&gt;Install the new binary:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;$ make install&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3 id="run"&gt;Run&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;XTrackCad&lt;/strong&gt; needs to know where it's support files have been installed.&lt;br/&gt;
For development purposes we can set the environment variable:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;$ export XTRKCADLIB=../share/xtrkcad&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Run the installed binary:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;$ cd ../install/bin&lt;br/&gt;
$ ./xtrkcad&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;At this point you should run the #%&lt;em&gt;Regression tests:&lt;/em&gt; &lt;span&gt;[RegressionTesting]&lt;/span&gt;#%.&lt;/p&gt;
&lt;h3 id="beta-build"&gt;Beta Build&lt;/h3&gt;
&lt;p&gt;You have the option of building a normal release or a Beta release.&lt;br/&gt;
For a &lt;strong&gt;Beta&lt;/strong&gt; release:&lt;br/&gt;
* the executable is xtrkcad-beta&lt;br/&gt;
* the install directory will be &lt;strong&gt;CMAKE_INSTALL_PREFIX/share/xtrkcad-beta&lt;/strong&gt;&lt;br/&gt;
* the working directory will be &lt;strong&gt;${HOME}/.xtrkcad-beta&lt;/strong&gt;&lt;br/&gt;
* The &lt;strong&gt;XTRKCADLIB&lt;/strong&gt; environment variable should be set to the working directory.&lt;/p&gt;
&lt;p&gt;A &lt;strong&gt;Beta&lt;/strong&gt; build is triggered by this line in &lt;strong&gt;${SRCDIR}/ProgramVersion.cmake&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;set(XTRKCAD_VERSION_MODIFIER "Beta1")&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;If this value contains Beta then a Beta release will be built.&lt;br/&gt;
Otherwise, a normal release is built.&lt;/p&gt;
&lt;p&gt;See LinuxInstall for run-time impacts of a &lt;strong&gt;Beta&lt;/strong&gt; build.&lt;/p&gt;
&lt;h4 id="packaging"&gt;Packaging&lt;/h4&gt;
&lt;blockquote&gt;
&lt;p&gt;$ make package&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This step will create the three install packages in the &lt;strong&gt;build&lt;/strong&gt; directory.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;$ make package_source&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This last step will create three source tarballs with various compression methods.&lt;br/&gt;
Note the build needs to be configured as described above.&lt;/p&gt;
&lt;h3 id="extras"&gt;Extras&lt;/h3&gt;
&lt;p&gt;If &lt;strong&gt;XTRKCAD_USE_DOXYGEN&lt;/strong&gt; was enabled:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;$ make docs-doxygen&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;to create the internals documentation. Read this documentation by pointing your web browser at ${SOURCE}/${BRANCH}/install/docs/doxygen/html/index.html.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;XTrackCAD&lt;/strong&gt; has been compiled and tested on &lt;strong&gt;FreeBSD&lt;/strong&gt; and &lt;strong&gt;OpenSolaris&lt;/strong&gt;. But there is no official support for these operating systems.&lt;/p&gt;
&lt;p&gt;CategoryDevel&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Russell Shilling</dc:creator><pubDate>Thu, 28 Mar 2024 01:31:32 -0000</pubDate><guid>https://sourceforge.net93d23a964806662c259b43ebb7fc92cdd6066a8e</guid></item></channel></rss>