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:
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
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-...
u tried tis yet?
:joestandstare:
the pr near the end
wait holy brainfart
😭
the king comptia gunvalid will descend soon
im waiting on him too
🙏
he slacking td smh
normally he would show up before the req was made
Even people like him who can magically detect requests before they get sent deserve a day off every once in a while
… cant figure out how to run that…
so I got it running...
it failed again 😭
who?
it appears that there are even more errors
@ProHacker02 helppppppp
wym
I figured out how to run it
but this happened
is that one line changed ?
installed from the pr
:thinking1:
holon
lets ask our overlord
ai
:joepray:
😭
who is this?

now we wait
@comptia guninvalid+ certified
😭
he responds to every support req
nice

:Bruh:
Isn't that what the pr does?
Step-by-Step Fix (Temporary):
Open public/tier1/utlblockmemory.h.
Locate all lines resembling:
Replace them with:
(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
😭
hmmmm, which line?

failure
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!
okay
sounds like a bad idea
variable1 and two aren't even defined anywhere 😭
send it this:
failure
what went wrong
any error orr
main error:
nah sorry i dont work with macs
:RoverEscape:
I mean, I would say this is general errors
did u literally put variable1 and 2 in the file
:sobbing:
send the file u edited dawg
yes...
LOLL
sec
wait
holon
are we just copy pasting into ai atp?
yessir!!!
😭
try this
im stupid
ai works if u have infinite time
for legal reasons
dont use ai to do everything for u kids
are you telling me "for my kids" or are you accusing me of being a kid?
ive never seen anyone be offended about being called a kid except for actual kids
neither
like <14
who said I was offended?
also
im the one using it
😢
can u send the full thing like u did here
also u can run portal on a potato
go grab someones laptop
and play it on that
:crybaby:
ah yes, let me go steal a laptop
sorry, borrow* !!
start up a virtualbox vm :LivSip:
yk
stealing a laptop
might actually be easier
:stare:
😭
can u send /public/datamodel/dmattributevar.h
💔
try tis
idk gng
💔
are u sure theres no other pc in ur house
bump