Starry?!
Starry?!β€’4mo ago

Error while building Portal

Welp, this might be one of the first times I'm asking for help in here, currently trying to follow this guide but I'm running into an error when trying to build. Here's the error:
Build failed
-> task in 'tier0' failed with exit status 1:
{task 4394321632: cxx progressbar.cpp -> progressbar.cpp.31.o}
['/usr/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/starry/source-engine/lib/darwin/x86_64/', '-pthread', '-mfpmath=sse', '-std=c++11', '-fpermissive', '-fPIC', '-Itier0', '-I../tier0', '-Ipublic', '-I../public', '-Ipublic/tier0', '-I../public/tier0', '-I/usr/local/include', '-I/usr/local/include/SDL2', '-I../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-DPLATFORM_64BITS=1', '-DOSX=1', '-D_OSX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.dylib', '-DNO_MEMOVERRIDE_NEW_DELETE=1', '-DNDEBUG', '-DGIT_COMMIT_HASH="29985681"', '-DHAVE_SDL2=1', '-DHAVE_FT2=1', '-DHAVE_FC=1', '-DHAVE_JPEG=1', '-DHAVE_PNG=1', '-DHAVE_CURL=1', '-DHAVE_ZLIB=1', '-DWAF_CFLAGS="[\'-MMD\', \'-fno-strict-aliasing\', \'-fvisibility=hidden\', \'-O2\', \'-funsafe-math-optimizations\', \'-ftree-vectorize\', \'-ffast-math\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DWAF_LDFLAGS="[\'-fvisibility=hidden\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DTIER0_DLL_EXPORT=1', '../tier0/progressbar.cpp', '-c', '-o/Users/starry/source-engine/build/tier0/progressbar.cpp.31.o']
Build failed
-> task in 'tier0' failed with exit status 1:
{task 4394321632: cxx progressbar.cpp -> progressbar.cpp.31.o}
['/usr/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/starry/source-engine/lib/darwin/x86_64/', '-pthread', '-mfpmath=sse', '-std=c++11', '-fpermissive', '-fPIC', '-Itier0', '-I../tier0', '-Ipublic', '-I../public', '-Ipublic/tier0', '-I../public/tier0', '-I/usr/local/include', '-I/usr/local/include/SDL2', '-I../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-DPLATFORM_64BITS=1', '-DOSX=1', '-D_OSX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.dylib', '-DNO_MEMOVERRIDE_NEW_DELETE=1', '-DNDEBUG', '-DGIT_COMMIT_HASH="29985681"', '-DHAVE_SDL2=1', '-DHAVE_FT2=1', '-DHAVE_FC=1', '-DHAVE_JPEG=1', '-DHAVE_PNG=1', '-DHAVE_CURL=1', '-DHAVE_ZLIB=1', '-DWAF_CFLAGS="[\'-MMD\', \'-fno-strict-aliasing\', \'-fvisibility=hidden\', \'-O2\', \'-funsafe-math-optimizations\', \'-ftree-vectorize\', \'-ffast-math\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DWAF_LDFLAGS="[\'-fvisibility=hidden\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DTIER0_DLL_EXPORT=1', '../tier0/progressbar.cpp', '-c', '-o/Users/starry/source-engine/build/tier0/progressbar.cpp.31.o']
jxhug on Notion
Guide to Installing Portal Using Source Engine on macOS | Notion
guide made by jxhug. video here: if you enjoy the guide please give the video a like :)
65 Replies
Cloudyy
Cloudyyβ€’4mo ago
GitHub
fails to build on macos sequoia - error: no member named 'swap' in ...
configure appears to work, then it fails with cryptic C++ errors. I note the repeated occurence of error: no member named 'swap' in 'CUtlBlockMemory<T, I>. Any ideas? james@black-...
Cloudyy
Cloudyyβ€’4mo ago
u tried tis yet? :joestandstare: the pr near the end wait holy brainfart 😭
β‹†ΛšΰΏ” tenshiβ™‘ πœ—πœšΛšβ‹†
the king comptia gunvalid will descend soon
Cloudyy
Cloudyyβ€’4mo ago
im waiting on him too πŸ™ he slacking td smh normally he would show up before the req was made
Foon - THE Prettiest Princess
Even people like him who can magically detect requests before they get sent deserve a day off every once in a while
Starry?!
Starry?!OPβ€’4mo ago
… cant figure out how to run that… so I got it running... it failed again 😭 who?
Starry?!
Starry?!OPβ€’4mo ago
it appears that there are even more errors
Starry?!
Starry?!OPβ€’4mo ago
@ProHacker02 helppppppp
Cloudyy
Cloudyyβ€’4mo ago
wym
Starry?!
Starry?!OPβ€’4mo ago
I figured out how to run it but this happened
Cloudyy
Cloudyyβ€’4mo ago
is that one line changed ?
Starry?!
Starry?!OPβ€’4mo ago
installed from the pr
Cloudyy
Cloudyyβ€’4mo ago
:thinking1: holon lets ask our overlord ai :joepray:
Starry?!
Starry?!OPβ€’4mo ago
😭 who is this?
Cloudyy
Cloudyyβ€’4mo ago
No description
Cloudyy
Cloudyyβ€’4mo ago
now we wait @comptia guninvalid+ certified 😭 he responds to every support req
Starry?!
Starry?!OPβ€’4mo ago
nice
Cloudyy
Cloudyyβ€’4mo ago
No description
Starry?!
Starry?!OPβ€’4mo ago
:Bruh: Isn't that what the pr does?
Cloudyy
Cloudyyβ€’4mo ago
Step-by-Step Fix (Temporary): Open public/tier1/utlblockmemory.h. Locate all lines resembling:
this->swap(variable1, variable2);
this->swap(variable1, variable2);
Replace them with:
std::swap(variable1, variable2);
std::swap(variable1, variable2);
(You might need to add #include <algorithm> at the top of the file if it's not there already.) Retry building. idk vro just try it 😭
Starry?!
Starry?!OPβ€’4mo ago
hmmmm, which line?
No description
Starry?!
Starry?!OPβ€’4mo ago
failure
Cloudyy
Cloudyyβ€’4mo ago
140 | this->swap( m_pMemory, mem.m_pMemory );
std::swap(m_pMemory, mem.m_pMemory); std::swap(m_nBlocks, mem.m_nBlocks); std::swap(m_nIndexMask, mem.m_nIndexMask); std::swap(m_nIndexShift, mem.m_nIndexShift);
replace them all i guess we LOVE vibe coding!
Starry?!
Starry?!OPβ€’4mo ago
okay sounds like a bad idea variable1 and two aren't even defined anywhere 😭
Starry?!
Starry?!OPβ€’4mo ago
Starry?!
Starry?!OPβ€’4mo ago
failure
Cloudyy
Cloudyyβ€’4mo ago
what went wrong any error orr
Starry?!
Starry?!OPβ€’4mo ago
main error:
Build failed
-> task in 'tier0' failed with exit status 1:
{task 4508944096: cxx progressbar.cpp -> progressbar.cpp.31.o}
['/usr/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/starry/source-engine/lib/darwin/x86_64/', '-pthread', '-mfpmath=sse', '-std=c++11', '-fpermissive', '-fPIC', '-Itier0', '-I../tier0', '-Ipublic', '-I../public', '-Ipublic/tier0', '-I../public/tier0', '-I/usr/local/include', '-I/usr/local/include/SDL2', '-I../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-DPLATFORM_64BITS=1', '-DOSX=1', '-D_OSX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.dylib', '-DNO_MEMOVERRIDE_NEW_DELETE=1', '-DNDEBUG', '-DGIT_COMMIT_HASH="29985681-dirty"', '-DHAVE_SDL2=1', '-DHAVE_FT2=1', '-DHAVE_FC=1', '-DHAVE_JPEG=1', '-DHAVE_PNG=1', '-DHAVE_CURL=1', '-DHAVE_ZLIB=1', '-DWAF_CFLAGS="[\'-MMD\', \'-fno-strict-aliasing\', \'-fvisibility=hidden\', \'-O2\', \'-funsafe-math-optimizations\', \'-ftree-vectorize\', \'-ffast-math\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DWAF_LDFLAGS="[\'-fvisibility=hidden\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DTIER0_DLL_EXPORT=1', '../tier0/progressbar.cpp', '-c', '-o/Users/starry/source-engine/build/tier0/progressbar.cpp.31.o']
Build failed
-> task in 'tier0' failed with exit status 1:
{task 4508944096: cxx progressbar.cpp -> progressbar.cpp.31.o}
['/usr/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/starry/source-engine/lib/darwin/x86_64/', '-pthread', '-mfpmath=sse', '-std=c++11', '-fpermissive', '-fPIC', '-Itier0', '-I../tier0', '-Ipublic', '-I../public', '-Ipublic/tier0', '-I../public/tier0', '-I/usr/local/include', '-I/usr/local/include/SDL2', '-I../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-DPLATFORM_64BITS=1', '-DOSX=1', '-D_OSX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.dylib', '-DNO_MEMOVERRIDE_NEW_DELETE=1', '-DNDEBUG', '-DGIT_COMMIT_HASH="29985681-dirty"', '-DHAVE_SDL2=1', '-DHAVE_FT2=1', '-DHAVE_FC=1', '-DHAVE_JPEG=1', '-DHAVE_PNG=1', '-DHAVE_CURL=1', '-DHAVE_ZLIB=1', '-DWAF_CFLAGS="[\'-MMD\', \'-fno-strict-aliasing\', \'-fvisibility=hidden\', \'-O2\', \'-funsafe-math-optimizations\', \'-ftree-vectorize\', \'-ffast-math\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DWAF_LDFLAGS="[\'-fvisibility=hidden\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DTIER0_DLL_EXPORT=1', '../tier0/progressbar.cpp', '-c', '-o/Users/starry/source-engine/build/tier0/progressbar.cpp.31.o']
guninvalid over coax alliance
nah sorry i dont work with macs :RoverEscape:
Starry?!
Starry?!OPβ€’4mo ago
I mean, I would say this is general errors
Cloudyy
Cloudyyβ€’4mo ago
did u literally put variable1 and 2 in the file :sobbing: send the file u edited dawg
Starry?!
Starry?!OPβ€’4mo ago
yes...
Cloudyy
Cloudyyβ€’4mo ago
LOLL sec
Cloudyy
Cloudyyβ€’4mo ago
Cloudyy
Cloudyyβ€’4mo ago
wait holon
Starry?!
Starry?!OPβ€’4mo ago
Build failed
-> task in 'tier3' failed with exit status 1:
{task 4564023824: cxx studiohdrstub.cpp -> studiohdrstub.cpp.34.o}
['/usr/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/starry/source-engine/lib/darwin/x86_64/', '-pthread', '-mfpmath=sse', '-std=c++11', '-fpermissive', '-Itier3', '-I../tier3', '-Icommon', '-I../common', '-Ipublic', '-I../public', '-Ipublic/tier0', '-I../public/tier0', '-Ipublic/tier1', '-I../public/tier1', '-Ipublic/tier2', '-I../public/tier2', '-Ipublic/tier3', '-I../public/tier3', '-I../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-DPLATFORM_64BITS=1', '-DOSX=1', '-D_OSX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.dylib', '-DNO_MEMOVERRIDE_NEW_DELETE=1', '-DNDEBUG', '-DGIT_COMMIT_HASH="29985681-dirty"', '-DHAVE_SDL2=1', '-DHAVE_FT2=1', '-DHAVE_FC=1', '-DHAVE_JPEG=1', '-DHAVE_PNG=1', '-DHAVE_CURL=1', '-DHAVE_ZLIB=1', '../tier3/studiohdrstub.cpp', '-c', '-o/Users/starry/source-engine/build/tier3/studiohdrstub.cpp.34.o']
Build failed
-> task in 'tier3' failed with exit status 1:
{task 4564023824: cxx studiohdrstub.cpp -> studiohdrstub.cpp.34.o}
['/usr/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/starry/source-engine/lib/darwin/x86_64/', '-pthread', '-mfpmath=sse', '-std=c++11', '-fpermissive', '-Itier3', '-I../tier3', '-Icommon', '-I../common', '-Ipublic', '-I../public', '-Ipublic/tier0', '-I../public/tier0', '-Ipublic/tier1', '-I../public/tier1', '-Ipublic/tier2', '-I../public/tier2', '-Ipublic/tier3', '-I../public/tier3', '-I../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-DPLATFORM_64BITS=1', '-DOSX=1', '-D_OSX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.dylib', '-DNO_MEMOVERRIDE_NEW_DELETE=1', '-DNDEBUG', '-DGIT_COMMIT_HASH="29985681-dirty"', '-DHAVE_SDL2=1', '-DHAVE_FT2=1', '-DHAVE_FC=1', '-DHAVE_JPEG=1', '-DHAVE_PNG=1', '-DHAVE_CURL=1', '-DHAVE_ZLIB=1', '../tier3/studiohdrstub.cpp', '-c', '-o/Users/starry/source-engine/build/tier3/studiohdrstub.cpp.34.o']
are we just copy pasting into ai atp?
Cloudyy
Cloudyyβ€’4mo ago
yessir!!!
Cloudyy
Cloudyyβ€’4mo ago
Starry?!
Starry?!OPβ€’4mo ago
😭
Cloudyy
Cloudyyβ€’4mo ago
try this im stupid ai works if u have infinite time
Cloudyy
Cloudyyβ€’4mo ago
Cloudyy
Cloudyyβ€’4mo ago
for legal reasons
Starry?!
Starry?!OPβ€’4mo ago
Build failed
-> task in 'tier3' failed with exit status 1:
{task 4389992976: cxx studiohdrstub.cpp -> studiohdrstub.cpp.34.o}
['/usr/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/starry/source-engine/lib/darwin/x86_64/', '-pthread', '-mfpmath=sse', '-std=c++11', '-fpermissive', '-Itier3', '-I../tier3', '-Icommon', '-I../common', '-Ipublic', '-I../public', '-Ipublic/tier0', '-I../public/tier0', '-Ipublic/tier1', '-I../public/tier1', '-Ipublic/tier2', '-I../public/tier2', '-Ipublic/tier3', '-I../public/tier3', '-I../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-DPLATFORM_64BITS=1', '-DOSX=1', '-D_OSX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.dylib', '-DNO_MEMOVERRIDE_NEW_DELETE=1', '-DNDEBUG', '-DGIT_COMMIT_HASH="29985681-dirty"', '-DHAVE_SDL2=1', '-DHAVE_FT2=1', '-DHAVE_FC=1', '-DHAVE_JPEG=1', '-DHAVE_PNG=1', '-DHAVE_CURL=1', '-DHAVE_ZLIB=1', '../tier3/studiohdrstub.cpp', '-c', '-o/Users/starry/source-engine/build/tier3/studiohdrstub.cpp.34.o']
Build failed
-> task in 'tier3' failed with exit status 1:
{task 4389992976: cxx studiohdrstub.cpp -> studiohdrstub.cpp.34.o}
['/usr/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/starry/source-engine/lib/darwin/x86_64/', '-pthread', '-mfpmath=sse', '-std=c++11', '-fpermissive', '-Itier3', '-I../tier3', '-Icommon', '-I../common', '-Ipublic', '-I../public', '-Ipublic/tier0', '-I../public/tier0', '-Ipublic/tier1', '-I../public/tier1', '-Ipublic/tier2', '-I../public/tier2', '-Ipublic/tier3', '-I../public/tier3', '-I../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-DPLATFORM_64BITS=1', '-DOSX=1', '-D_OSX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.dylib', '-DNO_MEMOVERRIDE_NEW_DELETE=1', '-DNDEBUG', '-DGIT_COMMIT_HASH="29985681-dirty"', '-DHAVE_SDL2=1', '-DHAVE_FT2=1', '-DHAVE_FC=1', '-DHAVE_JPEG=1', '-DHAVE_PNG=1', '-DHAVE_CURL=1', '-DHAVE_ZLIB=1', '../tier3/studiohdrstub.cpp', '-c', '-o/Users/starry/source-engine/build/tier3/studiohdrstub.cpp.34.o']
Cloudyy
Cloudyyβ€’4mo ago
dont use ai to do everything for u kids
Starry?!
Starry?!OPβ€’4mo ago
are you telling me "for my kids" or are you accusing me of being a kid?
guninvalid over coax alliance
ive never seen anyone be offended about being called a kid except for actual kids
Cloudyy
Cloudyyβ€’4mo ago
neither
guninvalid over coax alliance
like <14
Starry?!
Starry?!OPβ€’4mo ago
who said I was offended?
Cloudyy
Cloudyyβ€’4mo ago
also im the one using it 😒 can u send the full thing like u did here
Cloudyy
Cloudyyβ€’4mo ago
also u can run portal on a potato go grab someones laptop and play it on that :crybaby:
Starry?!
Starry?!OPβ€’4mo ago
ah yes, let me go steal a laptop
Cloudyy
Cloudyyβ€’4mo ago
sorry, borrow* !!
guninvalid over coax alliance
start up a virtualbox vm :LivSip:
Cloudyy
Cloudyyβ€’4mo ago
yk stealing a laptop might actually be easier :stare:
Starry?!
Starry?!OPβ€’4mo ago
😭
Cloudyy
Cloudyyβ€’4mo ago
can u send /public/datamodel/dmattributevar.h πŸ’”
Cloudyy
Cloudyyβ€’4mo ago
Cloudyy
Cloudyyβ€’4mo ago
try tis idk gng πŸ’” are u sure theres no other pc in ur house
Starry?!
Starry?!OPβ€’4mo ago
bump

Did you find this page helpful?