Starry?!
Starry?!4w 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
Cloudyy4w 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
Cloudyy4w ago
u tried tis yet? :joestandstare: the pr near the end wait holy brainfart 😭
tenshi♡
tenshi♡4w ago
the king comptia gunvalid will descend soon
Cloudyy
Cloudyy4w 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?!OP3w ago
… cant figure out how to run that… so I got it running... it failed again 😭 who?
Starry?!
Starry?!OP3w ago
it appears that there are even more errors
Starry?!
Starry?!OP3w ago
@ProHacker02 helppppppp
Cloudyy
Cloudyy3w ago
wym
Starry?!
Starry?!OP3w ago
I figured out how to run it but this happened
Cloudyy
Cloudyy3w ago
is that one line changed ?
Starry?!
Starry?!OP3w ago
installed from the pr
Cloudyy
Cloudyy3w ago
:thinking1: holon lets ask our overlord ai :joepray:
Starry?!
Starry?!OP3w ago
😭 who is this?
Cloudyy
Cloudyy3w ago
No description
Cloudyy
Cloudyy3w ago
now we wait @comptia guninvalid+ certified 😭 he responds to every support req
Starry?!
Starry?!OP3w ago
nice
Cloudyy
Cloudyy3w ago
No description
Starry?!
Starry?!OP3w ago
:Bruh: Isn't that what the pr does?
Cloudyy
Cloudyy3w 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?!OP3w ago
hmmmm, which line?
No description
Starry?!
Starry?!OP3w ago
failure
Cloudyy
Cloudyy3w 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?!OP3w ago
okay sounds like a bad idea variable1 and two aren't even defined anywhere 😭
Starry?!
Starry?!OP3w ago
Starry?!
Starry?!OP3w ago
failure
Cloudyy
Cloudyy3w ago
what went wrong any error orr
Starry?!
Starry?!OP3w 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']
comptia guninvalid+ certified
nah sorry i dont work with macs :RoverEscape:
Starry?!
Starry?!OP3w ago
I mean, I would say this is general errors
Cloudyy
Cloudyy3w ago
did u literally put variable1 and 2 in the file :sobbing: send the file u edited dawg
Starry?!
Starry?!OP3w ago
yes...
Cloudyy
Cloudyy3w ago
LOLL sec
Cloudyy
Cloudyy3w ago
wait holon
Starry?!
Starry?!OP3w 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
Cloudyy3w ago
yessir!!!
Starry?!
Starry?!OP3w ago
😭
Cloudyy
Cloudyy3w ago
try this im stupid ai works if u have infinite time
Cloudyy
Cloudyy3w ago
for legal reasons
Starry?!
Starry?!OP3w 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
Cloudyy3w ago
dont use ai to do everything for u kids
Starry?!
Starry?!OP3w ago
are you telling me "for my kids" or are you accusing me of being a kid?
comptia guninvalid+ certified
ive never seen anyone be offended about being called a kid except for actual kids
Cloudyy
Cloudyy3w ago
neither
Starry?!
Starry?!OP3w ago
who said I was offended?
Cloudyy
Cloudyy3w ago
also im the one using it 😢 can u send the full thing like u did here
Cloudyy
Cloudyy3w ago
also u can run portal on a potato go grab someones laptop and play it on that :crybaby:
Starry?!
Starry?!OP3w ago
ah yes, let me go steal a laptop
Cloudyy
Cloudyy3w ago
sorry, borrow* !!
comptia guninvalid+ certified
start up a virtualbox vm :LivSip:
Cloudyy
Cloudyy3w ago
yk stealing a laptop might actually be easier :stare:
Starry?!
Starry?!OP3w ago
😭
Cloudyy
Cloudyy3w ago
can u send /public/datamodel/dmattributevar.h 💔
Cloudyy
Cloudyy3w ago
try tis idk gng 💔 are u sure theres no other pc in ur house
Starry?!
Starry?!OP3w ago
bump

Did you find this page helpful?