This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
cre:compiling [2024/03/20 01:01] leaf [Linux] Grammar and format updates to the Linux compile section |
cre:compiling [2024/04/25 00:28] leaf [Fedora .] |
||
---|---|---|---|
Line 2: | Line 2: | ||
- | To build CRE, you first need to [[:server:server_compiling|build the server]] and install it (''make install'' if running under Linux). | + | To build CRE, you first need to [[:server:server_compiling|build the server]] and install it (''sh autogen.sh && make install'' if running under Linux). |
- | CRE sources are part of the server sources. | + | The sources for CRE are included in the server sources. |
===== Requirements ===== | ===== Requirements ===== | ||
- | You need Qt5 and the associated development package. | + | You will need Qt5 and its associated development package. |
- | Depending on your system, installing ''qt5-default'' may be enough. | + | Depending on your system, simply installing ''qmake'' or ''qt5-default'' may suffice. |
===== Distribution Specific Requirements ===== | ===== Distribution Specific Requirements ===== | ||
Line 103: | Line 103: | ||
Last tested date: 2024-March-02 | Last tested date: 2024-March-02 | ||
+ | ==== Fedora 40 ==== | ||
+ | |||
+ | A quick reference for Fedora 40 | ||
+ | |||
+ | sudo dnf install qt5-qtbase-devel qt5-qtscript-devel qt5-qttools-devel | ||
+ | | ||
+ | Instructions creation date: 2024-April-25 | ||
+ | |||
+ | Last tested date: 2024-April-25 | ||
==== Linux Mint ==== | ==== Linux Mint ==== | ||
Line 283: | Line 292: | ||
Last tested date: 2024-March-11 | Last tested date: 2024-March-11 | ||
+ | ==== Ubuntu 24.04-Beta (Noble Numbat) ==== | ||
+ | A quick reference for Ubuntu 24.04-Beta (Noble Numbat) | ||
+ | |||
+ | sudo apt install qttools5-dev qttools5-dev-tools qtscript5-dev | ||
+ | |||
+ | Instructions creation date: 2024-April-23 | ||
+ | |||
+ | Last tested date: 2024-April-23 | ||
====== Building ====== | ====== Building ====== | ||
===== Linux ===== | ===== Linux ===== | ||
- | Once the server has been built and installed (i.e., by running ''sh autogen.sh && make install''), navigate to the ''utils'' directory from the server source root. | + | Once the server has been built and installed (i.e., by running ''sh autogen.sh && make install''), navigate to the ''utils/cre'' directory from the server source root. |
- | cd utils | + | cd utils/cre |
Check you are in the correct directory with the ''pwd'' command: | Check you are in the correct directory with the ''pwd'' command: | ||
$ pwd | $ pwd | ||
- | /home/<username>/crossfire-crossfire-server/utils | + | /home/<username>/crossfire-crossfire-server/utils/cre |
The first compilation step depends on the version of QT installed and the Linux distribution being used. Here are some guidelines: | The first compilation step depends on the version of QT installed and the Linux distribution being used. Here are some guidelines: | ||
Line 314: | Line 331: | ||
Once the compilation process is complete, change directory to ''cre''. | Once the compilation process is complete, change directory to ''cre''. | ||
+ | |||
+ | $ cd cre | ||
Verify your location using the ''pwd'' command: | Verify your location using the ''pwd'' command: |