nillerusr / source-engine

Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
Other
1.13k stars 173 forks source link

Build Failed (macOS Arm / AArch64) #214

Closed isametry closed 1 year ago

isametry commented 1 year ago

Running

python3 ./waf configure --64bits -T release

fails with

log 2023-03-14.txt

Am I doing something wrong? Do I need a different waf config for Apple Silicon than what I used?

MaddTheSane commented 1 year ago

You need to link to libiconv.

isametry commented 1 year ago

Sorry, could you elaborate a bit? I’m kinda new to a lot of this… Thanks!

ege-del commented 1 year ago

Looks like you are missing the library "libiconv" you have to install it with a package manager. notice error message starts with "ld:" meaning it comes from command responsible for linking object files

isametry commented 1 year ago

@ege-del Thanks! Okay so with the help of #179, I managed to get a successful build.

Now if I may have another, even more rookie question: How do I actually run this? This was my config: python3 ./waf configure --64bits -T release --build-games=hl2 --prefix=SteamLibrary/steamapps/common/Half-Life\ 2

I see source-engine-master/build/launcher_main/hl2_launcher, is that what I need to run? What is the next step?

isametry commented 1 year ago

Nevermind, got it to work. That question was probably off-topic for this repo anyway… Thanks again!