nillerusr / source-engine

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

Can't build on Mac Intel 64 bit #398

Open zakhar-gulchak opened 5 hours ago

zakhar-gulchak commented 5 hours ago

I got an issue after running 'python3 waf build'. I have a MacOS Sequoia 15.1. Mac is running on Intel chip

clang++: warning: argument unused during compilation: '-L/Users/zakhargulchak/source-engine/lib/darwin/x86_64/' [-Wunused-command-line-argument]
In file included from ../tier0/systeminformation.cpp:9:
In file included from ../tier0/pch_tier0.h:20:
In file included from ../public/tier0/basetypes.h:11:
In file included from ../public/tier0/commonmacros.h:15:
../public/tier0/platform.h:86:10: fatal error: 'new' file not found
   86 | #include <new>
      |          ^~~~~
1 error generated.
FlamedDogo99 commented 3 hours ago

I have a M2, so this could easily do nothing for you, but uninstalling binutils fixed that for me (@Hakase on the macports discord was super helpful for troubleshooting things last year when I was struggling to get it to build. Would recommend if you continue to have problems)

zakhar-gulchak commented 3 hours ago

this doesn't help me, unfortunatly. Can you clarify which discord channel you mean @FlamedDogo99

FlamedDogo99 commented 3 hours ago

https://discord.gg/5xqUxWWCQa