Commit f7a5add
committed
feat: add experimental Linux build support
Add Linux build support for ArcGameEngine, enabling compilation and
execution on Linux systems without modifying any third-party vendor
source code.
Build Fixes:
- Add #include <cstdint> to arcpch.h to provide fixed-width integer
types (uint32_t, uint64_t, etc.) before vendor headers are included
- Add forceincludes for <cstdint> in JoltPhysics premake5.lua on Linux,
since JoltPhysics compiles as a separate static library and does not
use Arc's precompiled header
- Add build-time patch in GenerateMake.sh that inserts a NULL stub for
the missing setWindowTitleBar function pointer in GLFW's x11_init.c
platform struct. This is an upstream bug in MohitSethi99/glfw where
the X11 platform struct initializer is missing the setWindowTitleBar
entry that exists in win32_init.c and null_init.c, causing every
function pointer after it to be assigned to the wrong slot
Documentation:
- Add Linux build section to README with dependency installation and
build instructions for Ubuntu/Debian
- Update platform badge to reflect Windows (Primary) | Linux (Experimental)
Tested on Ubuntu/Debian with Clang 18.1.3. The full project (all vendor
libraries, Arc core, and Arc-Editor) builds and runs successfully.1 parent 14739ba commit f7a5add
4 files changed
Lines changed: 37 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 37 | + | |
41 | 38 | | |
42 | 39 | | |
43 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
29 | 48 | | |
30 | 49 | | |
31 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
1 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
2 | 15 | | |
0 commit comments