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 made by jxhug. video here:
if you enjoy the guide please give the video a like :)
if you enjoy the guide please give the video a like :)




