nillerusr / source-engine

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

Compilation fails, almost was about to finish, only arrived to [1932/2182] #69

Closed LegendaryGuard closed 2 years ago

LegendaryGuard commented 2 years ago

The first error caused this:

freetype2 not available! Install freetype2 development package. Also you may need to set PKG_CONFIG_PATH environment variable

I tried to solve using this: export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig sudo apt-get install cmake libfreetype6-dev libfontconfig1-dev xclip

But there's another error: I was searching the source of this issue, but still I don't know what's wrong. I did sudo apt-get install freetype2-demos once and appears this error when sanity is checked telling 'no', log:

$ ./waf configure -T debug
Setting top to                                          : /home/us/source-engine
Setting out to                                          : /home/us/source-engine/build
Checking for 'gcc' (C compiler)                         : /usr/bin/gcc
Target OS                                               : linux
Target CPU                                              : x86_64
Target binfmt                                           : elf
Checking for 'g++' (C++ compiler)                       : /usr/bin/g++
Target OS                                               : linux
Target CPU                                              : x86_64
Target binfmt                                           : elf
Checking for program 'git'                              : /usr/bin/git
Checking git hash                                       : a5e9cdc
Checking for program 'strip'                            : /usr/bin/strip
Checking for program 'objcopy'                          : /usr/bin/objcopy
WARNING: will build engine for 32-bit target
Checking if 'gcc' can target 32-bit                     : no
...trying with additional flags                         : yes
Checking for required C flags                           : yes
Checking for required C++ flags                         : yes
Checking supported flags for g++ in parallel            : started
... -pipe                                               : yes
... -Wstrict-aliasing                                   : yes
... -Wuninitialized                                     : yes
... -Wcast-align                                        : yes
... -Wall                                               : yes
... -fdiagnostics-color=always                          : yes
... -faligned-new                                       : yes
... -Winit-self                                         : yes
-> processing test results                              : all ok
Checking supported flags for gcc in parallel            : started
... -pipe                                               : yes
... -fnonconst-initializers                             : no
... -faligned-new                                       : no
... -Wstrict-aliasing                                   : yes
... -Winit-self                                         : yes
... -Wall                                               : yes
... -fdiagnostics-color=always                          : yes
... -Wcast-align                                        : yes
... -Wuninitialized                                     : yes
-> processing test results                              : 2 test failed
Checking for program 'pkg-config'                       : /usr/bin/pkg-config
Checking for 'sdl2'                                     : yes
Checking for 'freetype2'                                : yes
Checking for 'freetype2' sanity                         : no
freetype2 isn't installed correctly. Make sure you installed proper development package for target architecture


What is failing?

kkw070504 commented 2 years ago

You should use 32bit linux to build it

LegendaryGuard commented 2 years ago

You should use 32bit linux to build it

Ok, I did what you said. I did the following:

  1. Install Ubuntu 16.04.6 Desktop i386 in a VM.
  2. Execute: sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install git
  3. Cloning the repository following as README.md says.
  4. Execute: sudo apt-get install libsdl2-dev cmake libfreetype6-dev libfontconfig1-dev xclip libalut-dev libjpeg-dev libcurl4-gnutls-dev libopus-dev
  5. Result after executing ./waf configure -T debug:
    vjubuntu@vjubuntu-VirtualBox:~/Escritorio/source-engine$ ./waf configure -T debug
    Setting top to                                          : /home/vjubuntu/Escritorio/source-engine 
    Setting out to                                          : /home/vjubuntu/Escritorio/source-engine/build 
    Checking for 'gcc' (C compiler)                         : /usr/bin/gcc 
    Target OS                                               : linux 
    Target CPU                                              : x86 
    Target binfmt                                           : elf 
    Checking for 'g++' (C++ compiler)                       : /usr/bin/g++ 
    Target OS                                               : linux 
    Target CPU                                              : x86 
    Target binfmt                                           : elf 
    Checking for program 'git'                              : /usr/bin/git 
    Checking git hash                                       : a5e9cdc 
    Checking for program 'strip'                            : /usr/bin/strip 
    Checking for program 'objcopy'                          : /usr/bin/objcopy 
    Checking if 'gcc' can target 32-bit                     : yes 
    Checking for required C flags                           : yes 
    Checking for required C++ flags                         : yes 
    Checking supported flags for g++ in parallel            : started 
    ... -pipe                                               : yes 
    ... -Wstrict-aliasing                                   : yes 
    ... -Wuninitialized                                     : yes 
    ... -Wall                                               : yes 
    ... -faligned-new                                       : no 
    ... -Wcast-align                                        : yes 
    ... -fdiagnostics-color=always                          : yes 
    ... -Winit-self                                         : yes 
    -> processing test results                              : 1 test failed 
    Checking supported flags for gcc in parallel            : started 
    ... -Wstrict-aliasing                                   : yes 
    ... -pipe                                               : yes 
    ... -fnonconst-initializers                             : no 
    ... -faligned-new                                       : no 
    ... -Wall                                               : yes 
    ... -Wuninitialized                                     : yes 
    ... -Winit-self                                         : yes 
    ... -fdiagnostics-color=always                          : yes 
    ... -Wcast-align                                        : yes 
    -> processing test results                              : 2 test failed 
    Checking for program 'pkg-config'                       : /usr/bin/pkg-config 
    Checking for 'sdl2'                                     : yes 
    Checking for 'freetype2'                                : yes 
    Checking for 'freetype2' sanity                         : yes 
    Checking for 'fontconfig'                               : yes 
    Checking for 'fontconfig' sanity                        : yes 
    Checking for 'openal'                                   : yes 
    Checking for 'libjpeg'                                  : yes 
    Checking for 'libpng'                                   : yes 
    Checking for 'libcurl'                                  : yes 
    Checking for 'zlib'                                     : yes 
    Checking for 'opus'                                     : yes 
    Checking for library dl                                 : yes 
    Checking for library bz2                                : not found 
    Checking for library rt                                 : yes 
    Checking for library m                                  : yes 
    --> appframework                                        : in progress 
    <-- appframework                                        : done 
    --> bitmap                                              : in progress 
    <-- bitmap                                              : done 
    --> choreoobjects                                       : in progress 
    <-- choreoobjects                                       : done 
    --> datacache                                           : in progress 
    <-- datacache                                           : done 
    --> datamodel                                           : in progress 
    <-- datamodel                                           : done 
    --> dmxloader                                           : in progress 
    <-- dmxloader                                           : done 
    --> engine                                              : in progress 
    <-- engine                                              : done 
    --> engine/voice_codecs/minimp3                         : in progress 
    <-- engine/voice_codecs/minimp3                         : done 
    --> engine/voice_codecs/opus                            : in progress 
    <-- engine/voice_codecs/opus                            : done 
    --> filesystem                                          : in progress 
    <-- filesystem                                          : done 
    --> game/client                                         : in progress 
    <-- game/client                                         : done 
    --> game/server                                         : in progress 
    <-- game/server                                         : done 
    --> gameui                                              : in progress 
    <-- gameui                                              : done 
    --> inputsystem                                         : in progress 
    <-- inputsystem                                         : done 
    --> ivp/havana                                          : in progress 
    <-- ivp/havana                                          : done 
    --> ivp/havana/havok/hk_base                            : in progress 
    <-- ivp/havana/havok/hk_base                            : done 
    --> ivp/havana/havok/hk_math                            : in progress 
    <-- ivp/havana/havok/hk_math                            : done 
    --> ivp/ivp_compact_builder                             : in progress 
    <-- ivp/ivp_compact_builder                             : done 
    --> ivp/ivp_physics                                     : in progress 
    <-- ivp/ivp_physics                                     : done 
    --> launcher                                            : in progress 
    <-- launcher                                            : done 
    --> launcher_main                                       : in progress 
    <-- launcher_main                                       : done 
    --> materialsystem                                      : in progress 
    <-- materialsystem                                      : done 
    --> materialsystem/shaderapidx9                         : in progress 
    <-- materialsystem/shaderapidx9                         : done 
    --> materialsystem/shaderlib                            : in progress 
    <-- materialsystem/shaderlib                            : done 
    --> materialsystem/stdshaders                           : in progress 
    <-- materialsystem/stdshaders                           : done 
    --> mathlib                                             : in progress 
    <-- mathlib                                             : done 
    --> particles                                           : in progress 
    <-- particles                                           : done 
    --> scenefilecache                                      : in progress 
    <-- scenefilecache                                      : done 
    --> serverbrowser                                       : in progress 
    <-- serverbrowser                                       : done 
    --> soundemittersystem                                  : in progress 
    <-- soundemittersystem                                  : done 
    --> studiorender                                        : in progress 
    <-- studiorender                                        : done 
    --> thirdparty/StubSteamAPI                             : in progress 
    <-- thirdparty/StubSteamAPI                             : done 
    --> tier0                                               : in progress 
    <-- tier0                                               : done 
    --> tier1                                               : in progress 
    <-- tier1                                               : done 
    --> tier2                                               : in progress 
    <-- tier2                                               : done 
    --> tier3                                               : in progress 
    <-- tier3                                               : done 
    --> vgui2/matsys_controls                               : in progress 
    <-- vgui2/matsys_controls                               : done 
    --> vgui2/src                                           : in progress 
    <-- vgui2/src                                           : done 
    --> vgui2/vgui_controls                                 : in progress 
    <-- vgui2/vgui_controls                                 : done 
    --> vgui2/vgui_surfacelib                               : in progress 
    <-- vgui2/vgui_surfacelib                               : done 
    --> vguimatsurface                                      : in progress 
    <-- vguimatsurface                                      : done 
    --> video                                               : in progress 
    <-- video                                               : done 
    --> vphysics                                            : in progress 
    <-- vphysics                                            : done 
    --> vpklib                                              : in progress 
    <-- vpklib                                              : done 
    --> vstdlib                                             : in progress 
    <-- vstdlib                                             : done 
    --> vtf                                                 : in progress 
    <-- vtf                                                 : done 
    --> togl                                                : in progress 
    <-- togl                                                : done 
    'configure' finished successfully (1.126s)



  6. After executing ./waf build (log):
    
    engine/voice_codecs/opus/voiceencoder_opus.cpp.8.o: En la función `VoiceEncoder_Opus::EncodeFrame(char const*, char*)':
    voiceencoder_opus.cpp:(.text+0xc3): referencia a `opus_custom_encode' sin definir
    engine/voice_codecs/opus/voiceencoder_opus.cpp.8.o: En la función `VoiceEncoder_Opus::ResetState()':
    voiceencoder_opus.cpp:(.text+0x149): referencia a `opus_custom_encoder_ctl' sin definir
    voiceencoder_opus.cpp:(.text+0x15c): referencia a `opus_custom_decoder_ctl' sin definir
    engine/voice_codecs/opus/voiceencoder_opus.cpp.8.o: En la función `VoiceEncoder_Opus::DecodeFrame(char const*, char*)':
    voiceencoder_opus.cpp:(.text+0x362): referencia a `opus_custom_decode' sin definir
    voiceencoder_opus.cpp:(.text+0x3cf): referencia a `opus_custom_decode' sin definir
    engine/voice_codecs/opus/voiceencoder_opus.cpp.8.o: En la función `VoiceEncoder_Opus::Init(int, int&, int&)':
    voiceencoder_opus.cpp:(.text+0x46b): referencia a `opus_custom_mode_create' sin definir
    voiceencoder_opus.cpp:(.text+0x486): referencia a `opus_custom_encoder_create' sin definir
    voiceencoder_opus.cpp:(.text+0x4a4): referencia a `opus_custom_decoder_create' sin definir
    voiceencoder_opus.cpp:(.text+0x4c2): referencia a `opus_custom_encoder_ctl' sin definir
    voiceencoder_opus.cpp:(.text+0x4d5): referencia a `opus_custom_decoder_ctl' sin definir
    engine/voice_codecs/opus/voiceencoder_opus.cpp.8.o: En la función `VoiceEncoder_Opus::~VoiceEncoder_Opus()':
    voiceencoder_opus.cpp:(.text+0x54d): referencia a `opus_custom_encoder_destroy' sin definir
    voiceencoder_opus.cpp:(.text+0x563): referencia a `opus_custom_decoder_destroy' sin definir
    voiceencoder_opus.cpp:(.text+0x575): referencia a `opus_custom_mode_destroy' sin definir
    engine/voice_codecs/opus/voiceencoder_opus.cpp.8.o: En la función `VoiceEncoder_Opus::~VoiceEncoder_Opus()':
    voiceencoder_opus.cpp:(.text+0x5b7): referencia a `opus_custom_encoder_destroy' sin definir
    voiceencoder_opus.cpp:(.text+0x5cd): referencia a `opus_custom_decoder_destroy' sin definir
    voiceencoder_opus.cpp:(.text+0x5df): referencia a `opus_custom_mode_destroy' sin definir
    engine/voice_codecs/opus/voiceencoder_opus.cpp.8.o: En la función `VoiceEncoder_Opus::Release()':
    voiceencoder_opus.cpp:(.text+0x63a): referencia a `opus_custom_encoder_destroy' sin definir
    voiceencoder_opus.cpp:(.text+0x650): referencia a `opus_custom_decoder_destroy' sin definir
    voiceencoder_opus.cpp:(.text+0x662): referencia a `opus_custom_mode_destroy' sin definir
    engine/voice_codecs/opus/voiceencoder_opus.cpp.8.o: En la función `VoiceEncoder_Opus::InitStates()':
    voiceencoder_opus.cpp:(.text+0x706): referencia a `opus_custom_encoder_ctl' sin definir
    voiceencoder_opus.cpp:(.text+0x719): referencia a `opus_custom_decoder_ctl' sin definir
    engine/voice_codecs/opus/voiceencoder_opus.cpp.8.o: En la función `VoiceEncoder_Opus::TermStates()':
    voiceencoder_opus.cpp:(.text+0x755): referencia a `opus_custom_encoder_destroy' sin definir
    voiceencoder_opus.cpp:(.text+0x76b): referencia a `opus_custom_decoder_destroy' sin definir
    voiceencoder_opus.cpp:(.text+0x77d): referencia a `opus_custom_mode_destroy' sin definir
    collect2: error: ld returned 1 exit status

engine/download.cpp.6.o: En la función DecompressBZipToDisk(char const*, char const*, char*, int)': download.cpp:(.text+0x4c8): referencia aBZ2_bzopen' sin definir download.cpp:(.text+0x569): referencia a BZ2_bzread' sin definir download.cpp:(.text+0x591): referencia aBZ2_bzclose' sin definir download.cpp:(.text+0x76e): referencia a `BZ2_bzclose' sin definir collect2: error: ld returned 1 exit status

Build failed -> task in 'vaudio_opus' failed with exit status 1: {task 3051987212L: cxxshlib voiceencoder_opus.cpp.8.o,voice_codec_frame.cpp.8.o,interface.cpp.8.o -> libvaudio_opus.so} ['/usr/bin/g++', '-Wl,--no-undefined', '-fPIC', '-march=native', '-mtune=native', '-mfpmath=sse', '-msse', '-msse2', '-pthread', '-shared', 'engine/voice_codecs/opus/voiceencoder_opus.cpp.8.o', 'engine/voice_codecs/frame_encoder/voice_codec_frame.cpp.8.o', 'tier1/interface.cpp.8.o', '-o/home/vjubuntu/Escritorio/source-engine/build/engine/voice_codecs/opus/libvaudio_opus.so', '-Wl,-Bstatic', '-Ltier1', '-ltier1', '-Wl,-Bdynamic', '-Lvstdlib', '-Ltier0', '-lvstdlib', '-ltier0', '-ldl', '-lm', '-lopus'] -> task in 'engine' failed with exit status 1: {task 3051962748L: cxxshlib socketcreator.cpp.6.o,clientframe.cpp.6.o,decal_clip.cpp.6.o,demofile.cpp.6.o,DevShotGenerator.cpp.6.o,OcclusionSystem.cpp.6.o,tmessage.cpp.6.o,baseclient.cpp.6.o,baseclientstate.cpp.6.o,cbenchmark.cpp.6.o,console.cpp.6.o,render_pch.cpp.6.o,decals.cpp.6.o,disp.cpp.6.o,disp_interface.cpp.6.o,disp_mapload.cpp.6.o,gl_draw.cpp.6.o,gl_rsurf.cpp.6.o,gl_shader.cpp.6.o,l_studio.cpp.6.o,matsys_interface.cpp.6.o,modelloader.cpp.6.o,Overlay.cpp.6.o,r_decal.cpp.6.o,r_linefile.cpp.6.o,server_pch.cpp.6.o,sv_ipratelimit.cpp.6.o,sv_rcon.cpp.6.o,sv_steamauth.cpp.6.o,sv_uploaddata.cpp.6.o,sv_uploadgamestats.cpp.6.o,vengineserver_impl.cpp.6.o,sv_main.cpp.6.o,sv_client.cpp.6.o,sv_ents_write.cpp.6.o,sv_filter.cpp.6.o,sv_framesnapshot.cpp.6.o,sv_log.cpp.6.o,sv_packedentities.cpp.6.o,sv_plugin.cpp.6.o,sv_precache.cpp.6.o,sv_redirect.cpp.6.o,sv_remoteaccess.cpp.6.o,baseautocompletefilelist.cpp.6.o,baseserver.cpp.6.o,bitbuf_errorhandler.cpp.6.o,blockingudpsocket.cpp.6.o,bsptreedata.cpp.6.o,builddisp.cpp.6.o,changeframelist.cpp.6.o,checksum_engine.cpp.6.o,ccs.cpp.6.o,clockdriftmgr.cpp.6.o,cl_check_process.cpp.6.o,cmd.cpp.6.o,cmodel.cpp.6.o,cmodel_bsp.cpp.6.o,cmodel_disp.cpp.6.o,collisionutils.cpp.6.o,common.cpp.6.o,crtmemdebug.cpp.6.o,cvar.cpp.6.o,disp_common.cpp.6.o,disp_defs.cpp.6.o,disp_helpers.cpp.6.o,disp_powerinfo.cpp.6.o,dispcoll_common.cpp.6.o,DownloadListGenerator.cpp.6.o,dt.cpp.6.o,dt_common_eng.cpp.6.o,dt_encode.cpp.6.o,dt_instrumentation.cpp.6.o,dt_instrumentation_server.cpp.6.o,dt_localtransfer.cpp.6.o,dt_recv.cpp.6.o,dt_recv_decoder.cpp.6.o,dt_recv_eng.cpp.6.o,dt_send.cpp.6.o,dt_send_eng.cpp.6.o,dt_stack.cpp.6.o,dt_test.cpp.6.o,dt_utlvector_common.cpp.6.o,dt_utlvector_recv.cpp.6.o,dt_utlvector_send.cpp.6.o,enginesingleuserfilter.cpp.6.o,enginestats.cpp.6.o,enginethreads.cpp.6.o,enginetrace.cpp.6.o,filesystem_engine.cpp.6.o,filesystem_helpers.cpp.6.o,filesystem_init.cpp.6.o,filetransfermgr.cpp.6.o,GameEventManager.cpp.6.o,GameEventManagerOld.cpp.6.o,gametrace_engine.cpp.6.o,hltvclient.cpp.6.o,hltvclientstate.cpp.6.o,hltvdemo.cpp.6.o,hltvserver.cpp.6.o,hltvtest.cpp.6.o,host.cpp.6.o,host_cmd.cpp.6.o,host_listmaps.cpp.6.o,host_phonehome.cpp.6.o,host_state.cpp.6.o,initmathlib.cpp.6.o,language.cpp.6.o,LocalNetworkBackdoor.cpp.6.o,lumpfiles.cpp.6.o,MapReslistGenerator.cpp.6.o,materialproxyfactory.cpp.6.o,mem_fgets.cpp.6.o,mod_vis.cpp.6.o,ModelInfo.cpp.6.o,net_chan.cpp.6.o,net_synctags.cpp.6.o,net_ws.cpp.6.o,net_ws_queued_packet_sender.cpp.6.o,netmessages.cpp.6.o,steamid.cpp.6.o,networkstringtable.cpp.6.o,NetworkStringTableItem.cpp.6.o,networkstringtableserver.cpp.6.o,networkvar.cpp.6.o,packed_entity.cpp.6.o,pure_server.cpp.6.o,pr_edict.cpp.6.o,precache.cpp.6.o,quakedef.cpp.6.o,randomstream.cpp.6.o,randoverride.cpp.6.o,registry.cpp.6.o,engine_replay_int.cpp.6.o,replay_internal.cpp.6.o,replaydemo.cpp.6.o,replayserver.cpp.6.o,sentence.cpp.6.o,sound_shared.cpp.6.o,spatialpartition.cpp.6.o,staticpropmgr.cpp.6.o,studio.cpp.6.o,sys_dll.cpp.6.o,sys_dll2.cpp.6.o,sys_engine.cpp.6.o,sys_linuxwind.cpp.6.o,testscriptmgr.cpp.6.o,traceinit.cpp.6.o,vallocator.cpp.6.o,voiceserver_impl.cpp.6.o,vprof_engine.cpp.6.o,vprof_record.cpp.6.o,world.cpp.6.o,XZip.cpp.6.o,XUnzip.cpp.6.o,zone.cpp.6.o,cheatcodes.cpp.6.o,editor_sendcommand.cpp.6.o,keys.cpp.6.o,networkstringtableclient.cpp.6.o,scratchpad3d.cpp.6.o,servermsghandler.cpp.6.o,SourceAppInfo.cpp.6.o,snd_io.cpp.6.o,EngineSoundServer.cpp.6.o,voice_wavefile.cpp.6.o,vox.cpp.6.o,snd_posix.cpp.6.o,snd_dev_sdl.cpp.6.o,client_pch.cpp.6.o,cl_rcon.cpp.6.o,r_efx.cpp.6.o,view.cpp.6.o,rpt_engine.cpp.6.o,cl_steamauth.cpp.6.o,cdll_engine_int.cpp.6.o,cl_main.cpp.6.o,cl_demo.cpp.6.o,cl_demoaction.cpp.6.o,cl_demoaction_types.cpp.6.o,cl_demoactioneditors.cpp.6.o,cl_demoactionmanager.cpp.6.o,cl_demoeditorpanel.cpp.6.o,cl_demosmootherpanel.cpp.6.o,cl_demouipanel.cpp.6.o,cl_foguipanel.cpp.6.o,cl_txviewpanel.cpp.6.o,cl_entityreport.cpp.6.o,cl_ents_parse.cpp.6.o,cl_localnetworkbackdoor.cpp.6.o,cl_parse_event.cpp.6.o,cl_pluginhelpers.cpp.6.o,cl_pred.cpp.6.o,cl_texturelistpanel.cpp.6.o,client.cpp.6.o,colorcorrectionpanel.cpp.6.o,buildcubemaps.cpp.6.o,debug_leafvis.cpp.6.o,debugoverlay.cpp.6.o,LoadScreenUpdate.cpp.6.o,enginetool.cpp.6.o,gl_drawlights.cpp.6.o,gl_lightmap.cpp.6.o,gl_matsysiface.cpp.6.o,gl_rlight.cpp.6.o,gl_rmain.cpp.6.o,gl_rmisc.cpp.6.o,gl_screen.cpp.6.o,gl_warp.cpp.6.o,r_areaportal.cpp.6.o,shadowmgr.cpp.6.o,cl_bounded_cvars.cpp.6.o,downloadthread.cpp.6.o,matchmakinghost.cpp.6.o,matchmakingqos.cpp.6.o,matchmakingclient.cpp.6.o,matchmakingshared.cpp.6.o,matchmakingmigrate.cpp.6.o,replaydemoplayer.cpp.6.o,Session.cpp.6.o,sys_mainwind.cpp.6.o,bugreporter.cpp.6.o,download.cpp.6.o,host_saverestore.cpp.6.o,lightcache.cpp.6.o,saverestore_filesystem.cpp.6.o,sys_getmodes.cpp.6.o,vgui_askconnectpanel.cpp.6.o,xboxsystem.cpp.6.o,audio_pch.cpp.6.o,EngineSoundClient.cpp.6.o,engsoundservice.cpp.6.o,MPAFile.cpp.6.o,MPAHeader.cpp.6.o,circularbuffer.cpp.6.o,snd_dev_common.cpp.6.o,snd_dma.cpp.6.o,snd_dsp.cpp.6.o,snd_mix.cpp.6.o,snd_sentence_mixer.cpp.6.o,snd_wave_data.cpp.6.o,snd_wave_mixer.cpp.6.o,snd_wave_mixer_adpcm.cpp.6.o,snd_wave_source.cpp.6.o,snd_wave_temp.cpp.6.o,snd_win.cpp.6.o,voice_gain.cpp.6.o,snd_mp3_source.cpp.6.o,snd_wave_mixer_mp3.cpp.6.o,VBRHeader.cpp.6.o,voice.cpp.6.o,voice_sound_engine_interface.cpp.6.o,voice_mixer_controls_openal.cpp.6.o,voice_record_openal.cpp.6.o,voice_record_sdl.cpp.6.o,vgui_controls.cpp.6.o,vgui_basebudgetpanel.cpp.6.o,vgui_budgetbargraphpanel.cpp.6.o,vgui_budgethistorypanel.cpp.6.o,vgui_budgetpanelshared.cpp.6.o,perfuipanel.cpp.6.o,vgui_basepanel.cpp.6.o,vgui_baseui_interface.cpp.6.o,vgui_budgetpanel.cpp.6.o,vgui_DebugSystemPanel.cpp.6.o,vgui_drawtreepanel.cpp.6.o,vgui_helpers.cpp.6.o,vgui_texturebudgetpanel.cpp.6.o,vgui_vprofgraphpanel.cpp.6.o,vgui_vprofpanel.cpp.6.o,toolframework.cpp.6.o -> libengine.so} ['/usr/bin/g++', '-Wl,--no-undefined', '-fPIC', '-march=native', '-mtune=native', '-mfpmath=sse', '-msse', '-msse2', '-pthread', '-shared', 'engine/socketcreator.cpp.6.o', 'engine/clientframe.cpp.6.o', 'engine/decal_clip.cpp.6.o', 'engine/demofile.cpp.6.o', 'engine/DevShotGenerator.cpp.6.o', 'engine/OcclusionSystem.cpp.6.o', 'engine/tmessage.cpp.6.o', 'engine/baseclient.cpp.6.o', 'engine/baseclientstate.cpp.6.o', 'engine/cbenchmark.cpp.6.o', 'engine/console.cpp.6.o', 'engine/render_pch.cpp.6.o', 'engine/decals.cpp.6.o', 'engine/disp.cpp.6.o', 'engine/disp_interface.cpp.6.o', 'engine/disp_mapload.cpp.6.o', 'engine/gl_draw.cpp.6.o', 'engine/gl_rsurf.cpp.6.o', 'engine/gl_shader.cpp.6.o', 'engine/l_studio.cpp.6.o', 'engine/matsys_interface.cpp.6.o', 'engine/modelloader.cpp.6.o', 'engine/Overlay.cpp.6.o', 'engine/r_decal.cpp.6.o', 'engine/r_linefile.cpp.6.o', 'engine/server_pch.cpp.6.o', 'engine/sv_ipratelimit.cpp.6.o', 'engine/sv_rcon.cpp.6.o', 'engine/sv_steamauth.cpp.6.o', 'engine/sv_uploaddata.cpp.6.o', 'engine/sv_uploadgamestats.cpp.6.o', 'engine/vengineserver_impl.cpp.6.o', 'engine/sv_main.cpp.6.o', 'engine/sv_client.cpp.6.o', 'engine/sv_ents_write.cpp.6.o', 'engine/sv_filter.cpp.6.o', 'engine/sv_framesnapshot.cpp.6.o', 'engine/sv_log.cpp.6.o', 'engine/sv_packedentities.cpp.6.o', 'engine/sv_plugin.cpp.6.o', 'engine/sv_precache.cpp.6.o', 'engine/sv_redirect.cpp.6.o', 'engine/sv_remoteaccess.cpp.6.o', 'engine/baseautocompletefilelist.cpp.6.o', 'engine/baseserver.cpp.6.o', 'engine/bitbuf_errorhandler.cpp.6.o', 'public/blockingudpsocket.cpp.6.o', 'public/bsptreedata.cpp.6.o', 'public/builddisp.cpp.6.o', 'engine/changeframelist.cpp.6.o', 'engine/checksum_engine.cpp.6.o', 'engine/ccs.cpp.6.o', 'engine/clockdriftmgr.cpp.6.o', 'engine/cl_check_process.cpp.6.o', 'engine/cmd.cpp.6.o', 'engine/cmodel.cpp.6.o', 'engine/cmodel_bsp.cpp.6.o', 'engine/cmodel_disp.cpp.6.o', 'public/collisionutils.cpp.6.o', 'engine/common.cpp.6.o', 'public/crtmemdebug.cpp.6.o', 'engine/cvar.cpp.6.o', 'public/disp_common.cpp.6.o', 'engine/disp_defs.cpp.6.o', 'engine/disp_helpers.cpp.6.o', 'public/disp_powerinfo.cpp.6.o', 'public/dispcoll_common.cpp.6.o', 'engine/DownloadListGenerator.cpp.6.o', 'engine/dt.cpp.6.o', 'engine/dt_common_eng.cpp.6.o', 'engine/dt_encode.cpp.6.o', 'engine/dt_instrumentation.cpp.6.o', 'engine/dt_instrumentation_server.cpp.6.o', 'engine/dt_localtransfer.cpp.6.o', 'public/dt_recv.cpp.6.o', 'engine/dt_recv_decoder.cpp.6.o', 'engine/dt_recv_eng.cpp.6.o', 'public/dt_send.cpp.6.o', 'engine/dt_send_eng.cpp.6.o', 'engine/dt_stack.cpp.6.o', 'engine/dt_test.cpp.6.o', 'public/dt_utlvector_common.cpp.6.o', 'public/dt_utlvector_recv.cpp.6.o', 'public/dt_utlvector_send.cpp.6.o', 'engine/enginesingleuserfilter.cpp.6.o', 'engine/enginestats.cpp.6.o', 'engine/enginethreads.cpp.6.o', 'engine/enginetrace.cpp.6.o', 'engine/filesystem_engine.cpp.6.o', 'public/filesystem_helpers.cpp.6.o', 'public/filesystem_init.cpp.6.o', 'engine/filetransfermgr.cpp.6.o', 'engine/GameEventManager.cpp.6.o', 'engine/GameEventManagerOld.cpp.6.o', 'engine/gametrace_engine.cpp.6.o', 'engine/hltvclient.cpp.6.o', 'engine/hltvclientstate.cpp.6.o', 'engine/hltvdemo.cpp.6.o', 'engine/hltvserver.cpp.6.o', 'engine/hltvtest.cpp.6.o', 'engine/host.cpp.6.o', 'engine/host_cmd.cpp.6.o', 'engine/host_listmaps.cpp.6.o', 'engine/host_phonehome.cpp.6.o', 'engine/host_state.cpp.6.o', 'engine/initmathlib.cpp.6.o', 'common/language.cpp.6.o', 'engine/LocalNetworkBackdoor.cpp.6.o', 'public/lumpfiles.cpp.6.o', 'engine/MapReslistGenerator.cpp.6.o', 'engine/materialproxyfactory.cpp.6.o', 'engine/mem_fgets.cpp.6.o', 'engine/mod_vis.cpp.6.o', 'engine/ModelInfo.cpp.6.o', 'engine/net_chan.cpp.6.o', 'engine/net_synctags.cpp.6.o', 'engine/net_ws.cpp.6.o', 'engine/net_ws_queued_packet_sender.cpp.6.o', 'common/netmessages.cpp.6.o', 'common/steamid.cpp.6.o', 'engine/networkstringtable.cpp.6.o', 'engine/NetworkStringTableItem.cpp.6.o', 'engine/networkstringtableserver.cpp.6.o', 'public/networkvar.cpp.6.o', 'engine/packed_entity.cpp.6.o', 'engine/pure_server.cpp.6.o', 'engine/pr_edict.cpp.6.o', 'engine/precache.cpp.6.o', 'engine/quakedef.cpp.6.o', 'engine/randomstream.cpp.6.o', 'common/randoverride.cpp.6.o', 'public/registry.cpp.6.o', 'engine/engine_replay_int.cpp.6.o', 'engine/replay_internal.cpp.6.o', 'engine/replaydemo.cpp.6.o', 'engine/replayserver.cpp.6.o', 'public/sentence.cpp.6.o', 'engine/sound_shared.cpp.6.o', 'engine/spatialpartition.cpp.6.o', 'engine/staticpropmgr.cpp.6.o', 'public/studio.cpp.6.o', 'engine/sys_dll.cpp.6.o', 'engine/sys_dll2.cpp.6.o', 'engine/sys_engine.cpp.6.o', 'engine/sys_linuxwind.cpp.6.o', 'engine/testscriptmgr.cpp.6.o', 'engine/traceinit.cpp.6.o', 'public/vallocator.cpp.6.o', 'engine/voiceserver_impl.cpp.6.o', 'engine/vprof_engine.cpp.6.o', 'engine/vprof_record.cpp.6.o', 'engine/world.cpp.6.o', 'public/XZip.cpp.6.o', 'public/XUnzip.cpp.6.o', 'engine/zone.cpp.6.o', 'engine/cheatcodes.cpp.6.o', 'public/editor_sendcommand.cpp.6.o', 'engine/keys.cpp.6.o', 'engine/networkstringtableclient.cpp.6.o', 'public/scratchpad3d.cpp.6.o', 'engine/servermsghandler.cpp.6.o', 'common/SourceAppInfo.cpp.6.o', 'engine/snd_io.cpp.6.o', 'engine/EngineSoundServer.cpp.6.o', 'engine/audio/private/voice_wavefile.cpp.6.o', 'engine/audio/private/vox.cpp.6.o', 'engine/audio/private/snd_posix.cpp.6.o', 'engine/audio/private/snd_dev_sdl.cpp.6.o', 'engine/client_pch.cpp.6.o', 'engine/cl_rcon.cpp.6.o', 'engine/r_efx.cpp.6.o', 'engine/view.cpp.6.o', 'engine/rpt_engine.cpp.6.o', 'engine/cl_steamauth.cpp.6.o', 'engine/cdll_engine_int.cpp.6.o', 'engine/cl_main.cpp.6.o', 'engine/cl_demo.cpp.6.o', 'engine/cl_demoaction.cpp.6.o', 'engine/cl_demoaction_types.cpp.6.o', 'engine/cl_demoactioneditors.cpp.6.o', 'engine/cl_demoactionmanager.cpp.6.o', 'engine/cl_demoeditorpanel.cpp.6.o', 'engine/cl_demosmootherpanel.cpp.6.o', 'engine/cl_demouipanel.cpp.6.o', 'engine/cl_foguipanel.cpp.6.o', 'engine/cl_txviewpanel.cpp.6.o', 'engine/cl_entityreport.cpp.6.o', 'engine/cl_ents_parse.cpp.6.o', 'engine/cl_localnetworkbackdoor.cpp.6.o', 'engine/cl_parse_event.cpp.6.o', 'engine/cl_pluginhelpers.cpp.6.o', 'engine/cl_pred.cpp.6.o', 'engine/cl_texturelistpanel.cpp.6.o', 'engine/client.cpp.6.o', 'engine/colorcorrectionpanel.cpp.6.o', 'engine/buildcubemaps.cpp.6.o', 'engine/debug_leafvis.cpp.6.o', 'engine/debugoverlay.cpp.6.o', 'engine/LoadScreenUpdate.cpp.6.o', 'engine/enginetool.cpp.6.o', 'engine/gl_drawlights.cpp.6.o', 'engine/gl_lightmap.cpp.6.o', 'engine/gl_matsysiface.cpp.6.o', 'engine/gl_rlight.cpp.6.o', 'engine/gl_rmain.cpp.6.o', 'engine/gl_rmisc.cpp.6.o', 'engine/gl_screen.cpp.6.o', 'engine/gl_warp.cpp.6.o', 'engine/r_areaportal.cpp.6.o', 'engine/shadowmgr.cpp.6.o', 'engine/cl_bounded_cvars.cpp.6.o', 'engine/downloadthread.cpp.6.o', 'engine/matchmakinghost.cpp.6.o', 'engine/matchmakingqos.cpp.6.o', 'engine/matchmakingclient.cpp.6.o', 'engine/matchmakingshared.cpp.6.o', 'engine/matchmakingmigrate.cpp.6.o', 'engine/replaydemoplayer.cpp.6.o', 'engine/Session.cpp.6.o', 'engine/sys_mainwind.cpp.6.o', 'engine/bugreporter.cpp.6.o', 'engine/download.cpp.6.o', 'engine/host_saverestore.cpp.6.o', 'engine/lightcache.cpp.6.o', 'engine/saverestore_filesystem.cpp.6.o', 'engine/sys_getmodes.cpp.6.o', 'engine/vgui_askconnectpanel.cpp.6.o', 'engine/xboxsystem.cpp.6.o', 'engine/audio/audio_pch.cpp.6.o', 'engine/EngineSoundClient.cpp.6.o', 'engine/engsoundservice.cpp.6.o', 'engine/audio/private/MPAFile.cpp.6.o', 'engine/audio/private/MPAHeader.cpp.6.o', 'engine/audio/private/circularbuffer.cpp.6.o', 'engine/audio/private/snd_dev_common.cpp.6.o', 'engine/audio/private/snd_dma.cpp.6.o', 'engine/audio/private/snd_dsp.cpp.6.o', 'engine/audio/private/snd_mix.cpp.6.o', 'engine/audio/private/snd_sentence_mixer.cpp.6.o', 'engine/audio/private/snd_wave_data.cpp.6.o', 'engine/audio/private/snd_wave_mixer.cpp.6.o', 'engine/audio/private/snd_wave_mixer_adpcm.cpp.6.o', 'engine/audio/private/snd_wave_source.cpp.6.o', 'engine/audio/private/snd_wave_temp.cpp.6.o', 'engine/audio/private/snd_win.cpp.6.o', 'engine/audio/private/voice_gain.cpp.6.o', 'engine/audio/private/snd_mp3_source.cpp.6.o', 'engine/audio/private/snd_wave_mixer_mp3.cpp.6.o', 'engine/audio/private/VBRHeader.cpp.6.o', 'engine/audio/private/voice.cpp.6.o', 'engine/audio/private/voice_sound_engine_interface.cpp.6.o', 'engine/audio/private/voice_mixer_controls_openal.cpp.6.o', 'engine/audio/private/voice_record_openal.cpp.6.o', 'engine/audio/private/voice_record_sdl.cpp.6.o', 'public/vgui_controls/vgui_controls.cpp.6.o', 'common/vgui/vgui_basebudgetpanel.cpp.6.o', 'common/vgui/vgui_budgetbargraphpanel.cpp.6.o', 'common/vgui/vgui_budgethistorypanel.cpp.6.o', 'common/vgui/vgui_budgetpanelshared.cpp.6.o', 'engine/perfuipanel.cpp.6.o', 'engine/vgui_basepanel.cpp.6.o', 'engine/vgui_baseui_interface.cpp.6.o', 'engine/vgui_budgetpanel.cpp.6.o', 'engine/vgui_DebugSystemPanel.cpp.6.o', 'engine/vgui_drawtreepanel.cpp.6.o', 'engine/vgui_helpers.cpp.6.o', 'engine/vgui_texturebudgetpanel.cpp.6.o', 'engine/vgui_vprofgraphpanel.cpp.6.o', 'engine/vgui_vprofpanel.cpp.6.o', 'engine/toolframework.cpp.6.o', '-o/home/vjubuntu/Escritorio/source-engine/build/engine/libengine.so', '-Wl,-Bstatic', '-Lvgui2/vgui_controls', '-Ldmxloader', '-Ltier1', '-Ltier2', '-Ltier3', '-Lbitmap', '-Lappframework', '-Ldatamodel', '-Lvtf', '-Lmathlib', '-Lvgui2/matsys_controls', '-lvgui_controls', '-ldmxloader', '-ltier1', '-ltier2', '-ltier3', '-lbitmap', '-lappframework', '-ldatamodel', '-lvtf', '-lmathlib', '-lmatsys_controls', '-Wl,-Bdynamic', '-Lvstdlib', '-Ltier0', '-Lthirdparty/StubSteamAPI', '-lvstdlib', '-ltier0', '-lsteam_api', '-ldl', '-lm', '-lSDL2', '-ljpeg', '-lz', '-lopenal', '-lcurl']



Compilation failed at `./waf build`, I wonder why.
LegendaryGuard commented 2 years ago

Why using 64bit Linux won't work? It should do.

LegendaryGuard commented 2 years ago
  1. After executing ./waf build (log):
engine/voice_codecs/opus/voiceencoder_opus.cpp.8.o: En la función `VoiceEncoder_Opus::EncodeFrame(char const*, char*)':
voiceencoder_opus.cpp:(.text+0xc3): referencia a `opus_custom_encode' sin definir
engine/voice_codecs/opus/voiceencoder_opus.cpp.8.o: En la función `VoiceEncoder_Opus::ResetState()':
voiceencoder_opus.cpp:(.text+0x149): referencia a `opus_custom_encoder_ctl' sin definir
voiceencoder_opus.cpp:(.text+0x15c): referencia a `opus_custom_decoder_ctl' sin definir
engine/voice_codecs/opus/voiceencoder_opus.cpp.8.o: En la función `VoiceEncoder_Opus::DecodeFrame(char const*, char*)':
voiceencoder_opus.cpp:(.text+0x362): referencia a `opus_custom_decode' sin definir
voiceencoder_opus.cpp:(.text+0x3cf): referencia a `opus_custom_decode' sin definir
engine/voice_codecs/opus/voiceencoder_opus.cpp.8.o: En la función `VoiceEncoder_Opus::Init(int, int&, int&)':
voiceencoder_opus.cpp:(.text+0x46b): referencia a `opus_custom_mode_create' sin definir
voiceencoder_opus.cpp:(.text+0x486): referencia a `opus_custom_encoder_create' sin definir
voiceencoder_opus.cpp:(.text+0x4a4): referencia a `opus_custom_decoder_create' sin definir
voiceencoder_opus.cpp:(.text+0x4c2): referencia a `opus_custom_encoder_ctl' sin definir
voiceencoder_opus.cpp:(.text+0x4d5): referencia a `opus_custom_decoder_ctl' sin definir
engine/voice_codecs/opus/voiceencoder_opus.cpp.8.o: En la función `VoiceEncoder_Opus::~VoiceEncoder_Opus()':
voiceencoder_opus.cpp:(.text+0x54d): referencia a `opus_custom_encoder_destroy' sin definir
voiceencoder_opus.cpp:(.text+0x563): referencia a `opus_custom_decoder_destroy' sin definir
voiceencoder_opus.cpp:(.text+0x575): referencia a `opus_custom_mode_destroy' sin definir
engine/voice_codecs/opus/voiceencoder_opus.cpp.8.o: En la función `VoiceEncoder_Opus::~VoiceEncoder_Opus()':
voiceencoder_opus.cpp:(.text+0x5b7): referencia a `opus_custom_encoder_destroy' sin definir
voiceencoder_opus.cpp:(.text+0x5cd): referencia a `opus_custom_decoder_destroy' sin definir
voiceencoder_opus.cpp:(.text+0x5df): referencia a `opus_custom_mode_destroy' sin definir
engine/voice_codecs/opus/voiceencoder_opus.cpp.8.o: En la función `VoiceEncoder_Opus::Release()':
voiceencoder_opus.cpp:(.text+0x63a): referencia a `opus_custom_encoder_destroy' sin definir
voiceencoder_opus.cpp:(.text+0x650): referencia a `opus_custom_decoder_destroy' sin definir
voiceencoder_opus.cpp:(.text+0x662): referencia a `opus_custom_mode_destroy' sin definir
engine/voice_codecs/opus/voiceencoder_opus.cpp.8.o: En la función `VoiceEncoder_Opus::InitStates()':
voiceencoder_opus.cpp:(.text+0x706): referencia a `opus_custom_encoder_ctl' sin definir
voiceencoder_opus.cpp:(.text+0x719): referencia a `opus_custom_decoder_ctl' sin definir
engine/voice_codecs/opus/voiceencoder_opus.cpp.8.o: En la función `VoiceEncoder_Opus::TermStates()':
voiceencoder_opus.cpp:(.text+0x755): referencia a `opus_custom_encoder_destroy' sin definir
voiceencoder_opus.cpp:(.text+0x76b): referencia a `opus_custom_decoder_destroy' sin definir
voiceencoder_opus.cpp:(.text+0x77d): referencia a `opus_custom_mode_destroy' sin definir
collect2: error: ld returned 1 exit status

engine/download.cpp.6.o: En la función `DecompressBZipToDisk(char const*, char const*, char*, int)':
download.cpp:(.text+0x4c8): referencia a `BZ2_bzopen' sin definir
download.cpp:(.text+0x569): referencia a `BZ2_bzread' sin definir
download.cpp:(.text+0x591): referencia a `BZ2_bzclose' sin definir
download.cpp:(.text+0x76e): referencia a `BZ2_bzclose' sin definir
collect2: error: ld returned 1 exit status

Build failed
 -> task in 'vaudio_opus' failed with exit status 1: 
  {task 3051987212L: cxxshlib voiceencoder_opus.cpp.8.o,voice_codec_frame.cpp.8.o,interface.cpp.8.o -> libvaudio_opus.so}
['/usr/bin/g++', '-Wl,--no-undefined', '-fPIC', '-march=native', '-mtune=native', '-mfpmath=sse', '-msse', '-msse2', '-pthread', '-shared', 'engine/voice_codecs/opus/voiceencoder_opus.cpp.8.o', 'engine/voice_codecs/frame_encoder/voice_codec_frame.cpp.8.o', 'tier1/interface.cpp.8.o', '-o/home/vjubuntu/Escritorio/source-engine/build/engine/voice_codecs/opus/libvaudio_opus.so', '-Wl,-Bstatic', '-Ltier1', '-ltier1', '-Wl,-Bdynamic', '-Lvstdlib', '-Ltier0', '-lvstdlib', '-ltier0', '-ldl', '-lm', '-lopus']
 -> task in 'engine' failed with exit status 1: 
  {task 3051962748L: cxxshlib socketcreator.cpp.6.o,clientframe.cpp.6.o,decal_clip.cpp.6.o,demofile.cpp.6.o,DevShotGenerator.cpp.6.o,OcclusionSystem.cpp.6.o,tmessage.cpp.6.o,baseclient.cpp.6.o,baseclientstate.cpp.6.o,cbenchmark.cpp.6.o,console.cpp.6.o,render_pch.cpp.6.o,decals.cpp.6.o,disp.cpp.6.o,disp_interface.cpp.6.o,disp_mapload.cpp.6.o,gl_draw.cpp.6.o,gl_rsurf.cpp.6.o,gl_shader.cpp.6.o,l_studio.cpp.6.o,matsys_interface.cpp.6.o,modelloader.cpp.6.o,Overlay.cpp.6.o,r_decal.cpp.6.o,r_linefile.cpp.6.o,server_pch.cpp.6.o,sv_ipratelimit.cpp.6.o,sv_rcon.cpp.6.o,sv_steamauth.cpp.6.o,sv_uploaddata.cpp.6.o,sv_uploadgamestats.cpp.6.o,vengineserver_impl.cpp.6.o,sv_main.cpp.6.o,sv_client.cpp.6.o,sv_ents_write.cpp.6.o,sv_filter.cpp.6.o,sv_framesnapshot.cpp.6.o,sv_log.cpp.6.o,sv_packedentities.cpp.6.o,sv_plugin.cpp.6.o,sv_precache.cpp.6.o,sv_redirect.cpp.6.o,sv_remoteaccess.cpp.6.o,baseautocompletefilelist.cpp.6.o,baseserver.cpp.6.o,bitbuf_errorhandler.cpp.6.o,blockingudpsocket.cpp.6.o,bsptreedata.cpp.6.o,builddisp.cpp.6.o,changeframelist.cpp.6.o,checksum_engine.cpp.6.o,ccs.cpp.6.o,clockdriftmgr.cpp.6.o,cl_check_process.cpp.6.o,cmd.cpp.6.o,cmodel.cpp.6.o,cmodel_bsp.cpp.6.o,cmodel_disp.cpp.6.o,collisionutils.cpp.6.o,common.cpp.6.o,crtmemdebug.cpp.6.o,cvar.cpp.6.o,disp_common.cpp.6.o,disp_defs.cpp.6.o,disp_helpers.cpp.6.o,disp_powerinfo.cpp.6.o,dispcoll_common.cpp.6.o,DownloadListGenerator.cpp.6.o,dt.cpp.6.o,dt_common_eng.cpp.6.o,dt_encode.cpp.6.o,dt_instrumentation.cpp.6.o,dt_instrumentation_server.cpp.6.o,dt_localtransfer.cpp.6.o,dt_recv.cpp.6.o,dt_recv_decoder.cpp.6.o,dt_recv_eng.cpp.6.o,dt_send.cpp.6.o,dt_send_eng.cpp.6.o,dt_stack.cpp.6.o,dt_test.cpp.6.o,dt_utlvector_common.cpp.6.o,dt_utlvector_recv.cpp.6.o,dt_utlvector_send.cpp.6.o,enginesingleuserfilter.cpp.6.o,enginestats.cpp.6.o,enginethreads.cpp.6.o,enginetrace.cpp.6.o,filesystem_engine.cpp.6.o,filesystem_helpers.cpp.6.o,filesystem_init.cpp.6.o,filetransfermgr.cpp.6.o,GameEventManager.cpp.6.o,GameEventManagerOld.cpp.6.o,gametrace_engine.cpp.6.o,hltvclient.cpp.6.o,hltvclientstate.cpp.6.o,hltvdemo.cpp.6.o,hltvserver.cpp.6.o,hltvtest.cpp.6.o,host.cpp.6.o,host_cmd.cpp.6.o,host_listmaps.cpp.6.o,host_phonehome.cpp.6.o,host_state.cpp.6.o,initmathlib.cpp.6.o,language.cpp.6.o,LocalNetworkBackdoor.cpp.6.o,lumpfiles.cpp.6.o,MapReslistGenerator.cpp.6.o,materialproxyfactory.cpp.6.o,mem_fgets.cpp.6.o,mod_vis.cpp.6.o,ModelInfo.cpp.6.o,net_chan.cpp.6.o,net_synctags.cpp.6.o,net_ws.cpp.6.o,net_ws_queued_packet_sender.cpp.6.o,netmessages.cpp.6.o,steamid.cpp.6.o,networkstringtable.cpp.6.o,NetworkStringTableItem.cpp.6.o,networkstringtableserver.cpp.6.o,networkvar.cpp.6.o,packed_entity.cpp.6.o,pure_server.cpp.6.o,pr_edict.cpp.6.o,precache.cpp.6.o,quakedef.cpp.6.o,randomstream.cpp.6.o,randoverride.cpp.6.o,registry.cpp.6.o,engine_replay_int.cpp.6.o,replay_internal.cpp.6.o,replaydemo.cpp.6.o,replayserver.cpp.6.o,sentence.cpp.6.o,sound_shared.cpp.6.o,spatialpartition.cpp.6.o,staticpropmgr.cpp.6.o,studio.cpp.6.o,sys_dll.cpp.6.o,sys_dll2.cpp.6.o,sys_engine.cpp.6.o,sys_linuxwind.cpp.6.o,testscriptmgr.cpp.6.o,traceinit.cpp.6.o,vallocator.cpp.6.o,voiceserver_impl.cpp.6.o,vprof_engine.cpp.6.o,vprof_record.cpp.6.o,world.cpp.6.o,XZip.cpp.6.o,XUnzip.cpp.6.o,zone.cpp.6.o,cheatcodes.cpp.6.o,editor_sendcommand.cpp.6.o,keys.cpp.6.o,networkstringtableclient.cpp.6.o,scratchpad3d.cpp.6.o,servermsghandler.cpp.6.o,SourceAppInfo.cpp.6.o,snd_io.cpp.6.o,EngineSoundServer.cpp.6.o,voice_wavefile.cpp.6.o,vox.cpp.6.o,snd_posix.cpp.6.o,snd_dev_sdl.cpp.6.o,client_pch.cpp.6.o,cl_rcon.cpp.6.o,r_efx.cpp.6.o,view.cpp.6.o,rpt_engine.cpp.6.o,cl_steamauth.cpp.6.o,cdll_engine_int.cpp.6.o,cl_main.cpp.6.o,cl_demo.cpp.6.o,cl_demoaction.cpp.6.o,cl_demoaction_types.cpp.6.o,cl_demoactioneditors.cpp.6.o,cl_demoactionmanager.cpp.6.o,cl_demoeditorpanel.cpp.6.o,cl_demosmootherpanel.cpp.6.o,cl_demouipanel.cpp.6.o,cl_foguipanel.cpp.6.o,cl_txviewpanel.cpp.6.o,cl_entityreport.cpp.6.o,cl_ents_parse.cpp.6.o,cl_localnetworkbackdoor.cpp.6.o,cl_parse_event.cpp.6.o,cl_pluginhelpers.cpp.6.o,cl_pred.cpp.6.o,cl_texturelistpanel.cpp.6.o,client.cpp.6.o,colorcorrectionpanel.cpp.6.o,buildcubemaps.cpp.6.o,debug_leafvis.cpp.6.o,debugoverlay.cpp.6.o,LoadScreenUpdate.cpp.6.o,enginetool.cpp.6.o,gl_drawlights.cpp.6.o,gl_lightmap.cpp.6.o,gl_matsysiface.cpp.6.o,gl_rlight.cpp.6.o,gl_rmain.cpp.6.o,gl_rmisc.cpp.6.o,gl_screen.cpp.6.o,gl_warp.cpp.6.o,r_areaportal.cpp.6.o,shadowmgr.cpp.6.o,cl_bounded_cvars.cpp.6.o,downloadthread.cpp.6.o,matchmakinghost.cpp.6.o,matchmakingqos.cpp.6.o,matchmakingclient.cpp.6.o,matchmakingshared.cpp.6.o,matchmakingmigrate.cpp.6.o,replaydemoplayer.cpp.6.o,Session.cpp.6.o,sys_mainwind.cpp.6.o,bugreporter.cpp.6.o,download.cpp.6.o,host_saverestore.cpp.6.o,lightcache.cpp.6.o,saverestore_filesystem.cpp.6.o,sys_getmodes.cpp.6.o,vgui_askconnectpanel.cpp.6.o,xboxsystem.cpp.6.o,audio_pch.cpp.6.o,EngineSoundClient.cpp.6.o,engsoundservice.cpp.6.o,MPAFile.cpp.6.o,MPAHeader.cpp.6.o,circularbuffer.cpp.6.o,snd_dev_common.cpp.6.o,snd_dma.cpp.6.o,snd_dsp.cpp.6.o,snd_mix.cpp.6.o,snd_sentence_mixer.cpp.6.o,snd_wave_data.cpp.6.o,snd_wave_mixer.cpp.6.o,snd_wave_mixer_adpcm.cpp.6.o,snd_wave_source.cpp.6.o,snd_wave_temp.cpp.6.o,snd_win.cpp.6.o,voice_gain.cpp.6.o,snd_mp3_source.cpp.6.o,snd_wave_mixer_mp3.cpp.6.o,VBRHeader.cpp.6.o,voice.cpp.6.o,voice_sound_engine_interface.cpp.6.o,voice_mixer_controls_openal.cpp.6.o,voice_record_openal.cpp.6.o,voice_record_sdl.cpp.6.o,vgui_controls.cpp.6.o,vgui_basebudgetpanel.cpp.6.o,vgui_budgetbargraphpanel.cpp.6.o,vgui_budgethistorypanel.cpp.6.o,vgui_budgetpanelshared.cpp.6.o,perfuipanel.cpp.6.o,vgui_basepanel.cpp.6.o,vgui_baseui_interface.cpp.6.o,vgui_budgetpanel.cpp.6.o,vgui_DebugSystemPanel.cpp.6.o,vgui_drawtreepanel.cpp.6.o,vgui_helpers.cpp.6.o,vgui_texturebudgetpanel.cpp.6.o,vgui_vprofgraphpanel.cpp.6.o,vgui_vprofpanel.cpp.6.o,toolframework.cpp.6.o -> libengine.so}
['/usr/bin/g++', '-Wl,--no-undefined', '-fPIC', '-march=native', '-mtune=native', '-mfpmath=sse', '-msse', '-msse2', '-pthread', '-shared', 'engine/socketcreator.cpp.6.o', 'engine/clientframe.cpp.6.o', 'engine/decal_clip.cpp.6.o', 'engine/demofile.cpp.6.o', 'engine/DevShotGenerator.cpp.6.o', 'engine/OcclusionSystem.cpp.6.o', 'engine/tmessage.cpp.6.o', 'engine/baseclient.cpp.6.o', 'engine/baseclientstate.cpp.6.o', 'engine/cbenchmark.cpp.6.o', 'engine/console.cpp.6.o', 'engine/render_pch.cpp.6.o', 'engine/decals.cpp.6.o', 'engine/disp.cpp.6.o', 'engine/disp_interface.cpp.6.o', 'engine/disp_mapload.cpp.6.o', 'engine/gl_draw.cpp.6.o', 'engine/gl_rsurf.cpp.6.o', 'engine/gl_shader.cpp.6.o', 'engine/l_studio.cpp.6.o', 'engine/matsys_interface.cpp.6.o', 'engine/modelloader.cpp.6.o', 'engine/Overlay.cpp.6.o', 'engine/r_decal.cpp.6.o', 'engine/r_linefile.cpp.6.o', 'engine/server_pch.cpp.6.o', 'engine/sv_ipratelimit.cpp.6.o', 'engine/sv_rcon.cpp.6.o', 'engine/sv_steamauth.cpp.6.o', 'engine/sv_uploaddata.cpp.6.o', 'engine/sv_uploadgamestats.cpp.6.o', 'engine/vengineserver_impl.cpp.6.o', 'engine/sv_main.cpp.6.o', 'engine/sv_client.cpp.6.o', 'engine/sv_ents_write.cpp.6.o', 'engine/sv_filter.cpp.6.o', 'engine/sv_framesnapshot.cpp.6.o', 'engine/sv_log.cpp.6.o', 'engine/sv_packedentities.cpp.6.o', 'engine/sv_plugin.cpp.6.o', 'engine/sv_precache.cpp.6.o', 'engine/sv_redirect.cpp.6.o', 'engine/sv_remoteaccess.cpp.6.o', 'engine/baseautocompletefilelist.cpp.6.o', 'engine/baseserver.cpp.6.o', 'engine/bitbuf_errorhandler.cpp.6.o', 'public/blockingudpsocket.cpp.6.o', 'public/bsptreedata.cpp.6.o', 'public/builddisp.cpp.6.o', 'engine/changeframelist.cpp.6.o', 'engine/checksum_engine.cpp.6.o', 'engine/ccs.cpp.6.o', 'engine/clockdriftmgr.cpp.6.o', 'engine/cl_check_process.cpp.6.o', 'engine/cmd.cpp.6.o', 'engine/cmodel.cpp.6.o', 'engine/cmodel_bsp.cpp.6.o', 'engine/cmodel_disp.cpp.6.o', 'public/collisionutils.cpp.6.o', 'engine/common.cpp.6.o', 'public/crtmemdebug.cpp.6.o', 'engine/cvar.cpp.6.o', 'public/disp_common.cpp.6.o', 'engine/disp_defs.cpp.6.o', 'engine/disp_helpers.cpp.6.o', 'public/disp_powerinfo.cpp.6.o', 'public/dispcoll_common.cpp.6.o', 'engine/DownloadListGenerator.cpp.6.o', 'engine/dt.cpp.6.o', 'engine/dt_common_eng.cpp.6.o', 'engine/dt_encode.cpp.6.o', 'engine/dt_instrumentation.cpp.6.o', 'engine/dt_instrumentation_server.cpp.6.o', 'engine/dt_localtransfer.cpp.6.o', 'public/dt_recv.cpp.6.o', 'engine/dt_recv_decoder.cpp.6.o', 'engine/dt_recv_eng.cpp.6.o', 'public/dt_send.cpp.6.o', 'engine/dt_send_eng.cpp.6.o', 'engine/dt_stack.cpp.6.o', 'engine/dt_test.cpp.6.o', 'public/dt_utlvector_common.cpp.6.o', 'public/dt_utlvector_recv.cpp.6.o', 'public/dt_utlvector_send.cpp.6.o', 'engine/enginesingleuserfilter.cpp.6.o', 'engine/enginestats.cpp.6.o', 'engine/enginethreads.cpp.6.o', 'engine/enginetrace.cpp.6.o', 'engine/filesystem_engine.cpp.6.o', 'public/filesystem_helpers.cpp.6.o', 'public/filesystem_init.cpp.6.o', 'engine/filetransfermgr.cpp.6.o', 'engine/GameEventManager.cpp.6.o', 'engine/GameEventManagerOld.cpp.6.o', 'engine/gametrace_engine.cpp.6.o', 'engine/hltvclient.cpp.6.o', 'engine/hltvclientstate.cpp.6.o', 'engine/hltvdemo.cpp.6.o', 'engine/hltvserver.cpp.6.o', 'engine/hltvtest.cpp.6.o', 'engine/host.cpp.6.o', 'engine/host_cmd.cpp.6.o', 'engine/host_listmaps.cpp.6.o', 'engine/host_phonehome.cpp.6.o', 'engine/host_state.cpp.6.o', 'engine/initmathlib.cpp.6.o', 'common/language.cpp.6.o', 'engine/LocalNetworkBackdoor.cpp.6.o', 'public/lumpfiles.cpp.6.o', 'engine/MapReslistGenerator.cpp.6.o', 'engine/materialproxyfactory.cpp.6.o', 'engine/mem_fgets.cpp.6.o', 'engine/mod_vis.cpp.6.o', 'engine/ModelInfo.cpp.6.o', 'engine/net_chan.cpp.6.o', 'engine/net_synctags.cpp.6.o', 'engine/net_ws.cpp.6.o', 'engine/net_ws_queued_packet_sender.cpp.6.o', 'common/netmessages.cpp.6.o', 'common/steamid.cpp.6.o', 'engine/networkstringtable.cpp.6.o', 'engine/NetworkStringTableItem.cpp.6.o', 'engine/networkstringtableserver.cpp.6.o', 'public/networkvar.cpp.6.o', 'engine/packed_entity.cpp.6.o', 'engine/pure_server.cpp.6.o', 'engine/pr_edict.cpp.6.o', 'engine/precache.cpp.6.o', 'engine/quakedef.cpp.6.o', 'engine/randomstream.cpp.6.o', 'common/randoverride.cpp.6.o', 'public/registry.cpp.6.o', 'engine/engine_replay_int.cpp.6.o', 'engine/replay_internal.cpp.6.o', 'engine/replaydemo.cpp.6.o', 'engine/replayserver.cpp.6.o', 'public/sentence.cpp.6.o', 'engine/sound_shared.cpp.6.o', 'engine/spatialpartition.cpp.6.o', 'engine/staticpropmgr.cpp.6.o', 'public/studio.cpp.6.o', 'engine/sys_dll.cpp.6.o', 'engine/sys_dll2.cpp.6.o', 'engine/sys_engine.cpp.6.o', 'engine/sys_linuxwind.cpp.6.o', 'engine/testscriptmgr.cpp.6.o', 'engine/traceinit.cpp.6.o', 'public/vallocator.cpp.6.o', 'engine/voiceserver_impl.cpp.6.o', 'engine/vprof_engine.cpp.6.o', 'engine/vprof_record.cpp.6.o', 'engine/world.cpp.6.o', 'public/XZip.cpp.6.o', 'public/XUnzip.cpp.6.o', 'engine/zone.cpp.6.o', 'engine/cheatcodes.cpp.6.o', 'public/editor_sendcommand.cpp.6.o', 'engine/keys.cpp.6.o', 'engine/networkstringtableclient.cpp.6.o', 'public/scratchpad3d.cpp.6.o', 'engine/servermsghandler.cpp.6.o', 'common/SourceAppInfo.cpp.6.o', 'engine/snd_io.cpp.6.o', 'engine/EngineSoundServer.cpp.6.o', 'engine/audio/private/voice_wavefile.cpp.6.o', 'engine/audio/private/vox.cpp.6.o', 'engine/audio/private/snd_posix.cpp.6.o', 'engine/audio/private/snd_dev_sdl.cpp.6.o', 'engine/client_pch.cpp.6.o', 'engine/cl_rcon.cpp.6.o', 'engine/r_efx.cpp.6.o', 'engine/view.cpp.6.o', 'engine/rpt_engine.cpp.6.o', 'engine/cl_steamauth.cpp.6.o', 'engine/cdll_engine_int.cpp.6.o', 'engine/cl_main.cpp.6.o', 'engine/cl_demo.cpp.6.o', 'engine/cl_demoaction.cpp.6.o', 'engine/cl_demoaction_types.cpp.6.o', 'engine/cl_demoactioneditors.cpp.6.o', 'engine/cl_demoactionmanager.cpp.6.o', 'engine/cl_demoeditorpanel.cpp.6.o', 'engine/cl_demosmootherpanel.cpp.6.o', 'engine/cl_demouipanel.cpp.6.o', 'engine/cl_foguipanel.cpp.6.o', 'engine/cl_txviewpanel.cpp.6.o', 'engine/cl_entityreport.cpp.6.o', 'engine/cl_ents_parse.cpp.6.o', 'engine/cl_localnetworkbackdoor.cpp.6.o', 'engine/cl_parse_event.cpp.6.o', 'engine/cl_pluginhelpers.cpp.6.o', 'engine/cl_pred.cpp.6.o', 'engine/cl_texturelistpanel.cpp.6.o', 'engine/client.cpp.6.o', 'engine/colorcorrectionpanel.cpp.6.o', 'engine/buildcubemaps.cpp.6.o', 'engine/debug_leafvis.cpp.6.o', 'engine/debugoverlay.cpp.6.o', 'engine/LoadScreenUpdate.cpp.6.o', 'engine/enginetool.cpp.6.o', 'engine/gl_drawlights.cpp.6.o', 'engine/gl_lightmap.cpp.6.o', 'engine/gl_matsysiface.cpp.6.o', 'engine/gl_rlight.cpp.6.o', 'engine/gl_rmain.cpp.6.o', 'engine/gl_rmisc.cpp.6.o', 'engine/gl_screen.cpp.6.o', 'engine/gl_warp.cpp.6.o', 'engine/r_areaportal.cpp.6.o', 'engine/shadowmgr.cpp.6.o', 'engine/cl_bounded_cvars.cpp.6.o', 'engine/downloadthread.cpp.6.o', 'engine/matchmakinghost.cpp.6.o', 'engine/matchmakingqos.cpp.6.o', 'engine/matchmakingclient.cpp.6.o', 'engine/matchmakingshared.cpp.6.o', 'engine/matchmakingmigrate.cpp.6.o', 'engine/replaydemoplayer.cpp.6.o', 'engine/Session.cpp.6.o', 'engine/sys_mainwind.cpp.6.o', 'engine/bugreporter.cpp.6.o', 'engine/download.cpp.6.o', 'engine/host_saverestore.cpp.6.o', 'engine/lightcache.cpp.6.o', 'engine/saverestore_filesystem.cpp.6.o', 'engine/sys_getmodes.cpp.6.o', 'engine/vgui_askconnectpanel.cpp.6.o', 'engine/xboxsystem.cpp.6.o', 'engine/audio/audio_pch.cpp.6.o', 'engine/EngineSoundClient.cpp.6.o', 'engine/engsoundservice.cpp.6.o', 'engine/audio/private/MPAFile.cpp.6.o', 'engine/audio/private/MPAHeader.cpp.6.o', 'engine/audio/private/circularbuffer.cpp.6.o', 'engine/audio/private/snd_dev_common.cpp.6.o', 'engine/audio/private/snd_dma.cpp.6.o', 'engine/audio/private/snd_dsp.cpp.6.o', 'engine/audio/private/snd_mix.cpp.6.o', 'engine/audio/private/snd_sentence_mixer.cpp.6.o', 'engine/audio/private/snd_wave_data.cpp.6.o', 'engine/audio/private/snd_wave_mixer.cpp.6.o', 'engine/audio/private/snd_wave_mixer_adpcm.cpp.6.o', 'engine/audio/private/snd_wave_source.cpp.6.o', 'engine/audio/private/snd_wave_temp.cpp.6.o', 'engine/audio/private/snd_win.cpp.6.o', 'engine/audio/private/voice_gain.cpp.6.o', 'engine/audio/private/snd_mp3_source.cpp.6.o', 'engine/audio/private/snd_wave_mixer_mp3.cpp.6.o', 'engine/audio/private/VBRHeader.cpp.6.o', 'engine/audio/private/voice.cpp.6.o', 'engine/audio/private/voice_sound_engine_interface.cpp.6.o', 'engine/audio/private/voice_mixer_controls_openal.cpp.6.o', 'engine/audio/private/voice_record_openal.cpp.6.o', 'engine/audio/private/voice_record_sdl.cpp.6.o', 'public/vgui_controls/vgui_controls.cpp.6.o', 'common/vgui/vgui_basebudgetpanel.cpp.6.o', 'common/vgui/vgui_budgetbargraphpanel.cpp.6.o', 'common/vgui/vgui_budgethistorypanel.cpp.6.o', 'common/vgui/vgui_budgetpanelshared.cpp.6.o', 'engine/perfuipanel.cpp.6.o', 'engine/vgui_basepanel.cpp.6.o', 'engine/vgui_baseui_interface.cpp.6.o', 'engine/vgui_budgetpanel.cpp.6.o', 'engine/vgui_DebugSystemPanel.cpp.6.o', 'engine/vgui_drawtreepanel.cpp.6.o', 'engine/vgui_helpers.cpp.6.o', 'engine/vgui_texturebudgetpanel.cpp.6.o', 'engine/vgui_vprofgraphpanel.cpp.6.o', 'engine/vgui_vprofpanel.cpp.6.o', 'engine/toolframework.cpp.6.o', '-o/home/vjubuntu/Escritorio/source-engine/build/engine/libengine.so', '-Wl,-Bstatic', '-Lvgui2/vgui_controls', '-Ldmxloader', '-Ltier1', '-Ltier2', '-Ltier3', '-Lbitmap', '-Lappframework', '-Ldatamodel', '-Lvtf', '-Lmathlib', '-Lvgui2/matsys_controls', '-lvgui_controls', '-ldmxloader', '-ltier1', '-ltier2', '-ltier3', '-lbitmap', '-lappframework', '-ldatamodel', '-lvtf', '-lmathlib', '-lmatsys_controls', '-Wl,-Bdynamic', '-Lvstdlib', '-Ltier0', '-Lthirdparty/StubSteamAPI', '-lvstdlib', '-ltier0', '-lsteam_api', '-ldl', '-lm', '-lSDL2', '-ljpeg', '-lz', '-lopenal', '-lcurl']

Compilation failed at ./waf build, I wonder why.

Fixing step number 8 with the following suggestion from another issue: https://github.com/nillerusr/source-engine/issues/58#issuecomment-1074896191

I don't think ignoring opus would fix something, lacking a library would get a missing resource for the engine.

Well, in that case, I 'ignored' opus seeing if it could process.

But shows another error, almost I was about to finish the build... -> [1932/2182] Compiling inputsystem/joystick_sdl.cpp

<waflib.extras.clang_compilation_database.ClangDbContext object at 0xb7367dac>
<waflib.extras.clang_compilation_database.ClangDbContext object at 0xb7367dac>
<waflib.extras.clang_compilation_database.ClangDbContext object at 0xb7367dac>
<waflib.extras.clang_compilation_database.ClangDbContext object at 0xb7367dac>
<waflib.extras.clang_compilation_database.ClangDbContext object at 0xb7367dac>
<waflib.extras.clang_compilation_database.ClangDbContext object at 0xb7367dac>
Build commands will be stored in build/compile_commands.json
Waf: Entering directory `/home/vjubuntu/Escritorio/source-engine/build'
<waflib.Build.BuildContext object at 0xb73d9c6c>
<waflib.Build.BuildContext object at 0xb73d9c6c>
<waflib.Build.BuildContext object at 0xb73d9c6c>
<waflib.Build.BuildContext object at 0xb73d9c6c>
<waflib.Build.BuildContext object at 0xb73d9c6c>
<waflib.Build.BuildContext object at 0xb73d9c6c>
[1928/2182] Linking build/gameui/libGameUI.so
00:00:38 runner ['/usr/bin/g++', '-Wl,--no-undefined', '-fPIC', '-march=native', '-mtune=native', '-mfpmath=sse', '-msse', '-msse2', '-pthread', '-shared', 'gameui/BackgroundMenuButton.cpp.11.o', 'gameui/BasePanel.cpp.11.o', 'gameui/GameConsole.cpp.11.o', 'gameui/GameUI_Interface.cpp.11.o', 'gameui/ModInfo.cpp.11.o', 'gameui/MouseMessageForwardingPanel.cpp.11.o', 'common/GameUI/ObjectList.cpp.11.o', 'gameui/PanelListPanel.cpp.11.o', 'gameui/RunGameEngine.cpp.11.o', 'common/GameUI/scriptobject.cpp.11.o', 'gameui/Sys_Utils.cpp.11.o', 'gameui/TextEntryBox.cpp.11.o', 'gameui/TGAImagePanel.cpp.11.o', 'public/vgui_controls/vgui_controls.cpp.11.o', 'gameui/VGuiSystemModuleLoader.cpp.11.o', 'gameui/BonusMapsDatabase.cpp.11.o', 'common/language.cpp.11.o', 'common/imageutils.cpp.11.o', 'gameui/SaveGameBrowserDialog.cpp.11.o', 'gameui/gameui_util.cpp.11.o', 'gameui/BitmapImagePanel.cpp.11.o', 'gameui/CommandCheckButton.cpp.11.o', 'gameui/CvarNegateCheckButton.cpp.11.o', 'common/GameUI/cvarslider.cpp.11.o', 'gameui/CvarTextEntry.cpp.11.o', 'gameui/CvarToggleCheckButton.cpp.11.o', 'gameui/HapticControlBox.cpp.11.o', 'gameui/KeyToggleCheckButton.cpp.11.o', 'gameui/LabeledCommandComboBox.cpp.11.o', 'gameui/URLButton.cpp.11.o', 'gameui/vcontrolslistpanel.cpp.11.o', 'gameui/BenchmarkDialog.cpp.11.o', 'gameui/BonusMapsDialog.cpp.11.o', 'gameui/CommentaryDialog.cpp.11.o', 'gameui/CommentaryExplanationDialog.cpp.11.o', 'gameui/ContentControlDialog.cpp.11.o', 'gameui/CustomTabExplanationDialog.cpp.11.o', 'gameui/GameConsoleDialog.cpp.11.o', 'gameui/LoadGameDialog_Xbox.cpp.11.o', 'gameui/LoadGameDialog.cpp.11.o', 'gameui/MultiplayerAdvancedDialog.cpp.11.o', 'gameui/NewGameDialog.cpp.11.o', 'gameui/PlayerListDialog.cpp.11.o', 'gameui/SaveGameDialog_Xbox.cpp.11.o', 'gameui/SaveGameDialog.cpp.11.o', 'gameui/LoadCommentaryDialog.cpp.11.o', 'gameui/LoadingDialog.cpp.11.o', 'gameui/BaseSaveGameDialog.cpp.11.o', 'gameui/CreateMultiplayerGameBotPage.cpp.11.o', 'gameui/CreateMultiplayerGameDialog.cpp.11.o', 'gameui/CreateMultiplayerGameGameplayPage.cpp.11.o', 'gameui/CreateMultiplayerGameServerPage.cpp.11.o', 'gameui/OptionsDialog_Xbox.cpp.11.o', 'gameui/ControllerDialog.cpp.11.o', 'gameui/matchmaking/achievementsdialog.cpp.11.o', 'gameui/matchmaking/basedialog.cpp.11.o', 'gameui/matchmaking/dialogmenu.cpp.11.o', 'gameui/matchmaking/leaderboarddialog.cpp.11.o', 'gameui/matchmaking/matchmakingbasepanel.cpp.11.o', 'gameui/matchmaking/pausedialog.cpp.11.o', 'gameui/matchmaking/sessionlobbydialog.cpp.11.o', 'gameui/matchmaking/sessionoptionsdialog.cpp.11.o', 'gameui/matchmaking/sessionbrowserdialog.cpp.11.o', 'gameui/matchmaking/welcomedialog.cpp.11.o', 'gameui/OptionsDialog.cpp.11.o', 'gameui/OptionsSubAudio.cpp.11.o', 'gameui/OptionsSubDifficulty.cpp.11.o', 'gameui/OptionsSubGame.cpp.11.o', 'gameui/OptionsSubKeyboard.cpp.11.o', 'gameui/OptionsSubMouse.cpp.11.o', 'gameui/OptionsSubTouch.cpp.11.o', 'gameui/OptionsSubMultiplayer.cpp.11.o', 'gameui/OptionsSubPortal.cpp.11.o', 'gameui/OptionsSubVideo.cpp.11.o', 'gameui/OptionsSubVoice.cpp.11.o', '-o/home/vjubuntu/Escritorio/source-engine/build/gameui/libGameUI.so', '-Wl,-Bstatic', '-Lvgui2/vgui_controls', '-Ltier1', '-Ltier2', '-Ltier3', '-Lvtf', '-Lbitmap', '-Lmathlib', '-Lvgui2/matsys_controls', '-lvgui_controls', '-ltier1', '-ltier2', '-ltier3', '-lvtf', '-lbitmap', '-lmathlib', '-lmatsys_controls', '-Wl,-Bdynamic', '-Lvstdlib', '-Ltier0', '-Lthirdparty/StubSteamAPI', '-lvstdlib', '-ltier0', '-lsteam_api', '-ldl', '-lm', '-lSDL2', '-ljpeg', '-lpng12', '-lz']
[1934/2182] Linking build/inputsystem/libinputsystem.so
00:00:38 runner ['/usr/bin/g++', '-Wl,--no-undefined', '-fPIC', '-march=native', '-mtune=native', '-mfpmath=sse', '-msse', '-msse2', '-pthread', '-shared', 'inputsystem/inputsystem.cpp.12.o', 'inputsystem/joystick_sdl.cpp.12.o', 'inputsystem/touch_sdl.cpp.12.o', 'inputsystem/key_translation.cpp.12.o', 'inputsystem/steamcontroller.cpp.12.o', '-o/home/vjubuntu/Escritorio/source-engine/build/inputsystem/libinputsystem.so', '-Wl,-Bstatic', '-Ltier1', '-Ltier2', '-ltier1', '-ltier2', '-Wl,-Bdynamic', '-Lvstdlib', '-Ltier0', '-Lthirdparty/StubSteamAPI', '-lvstdlib', '-ltier0', '-lsteam_api', '-ldl', '-lm', '-lSDL2']
[1935/2182] Compiling public/filesystem_init.cpp
00:00:38 runner ['/usr/bin/g++', '-g0', '-fvisibility=hidden', '-O3', '-fPIC', '-march=native', '-mtune=native', '-mfpmath=sse', '-msse', '-msse2', '-std=c++11', '-fpermissive', '-pipe', '-Wall', '-fdiagnostics-color=always', '-Wcast-align', '-Wuninitialized', '-Winit-self', '-Wstrict-aliasing', '-fPIC', '-Ilauncher', '-I../launcher', '-Ipublic', '-I../public', '-Ipublic/tier0', '-I../public/tier0', '-Ipublic/tier1', '-I../public/tier1', '-Icommon', '-I../common', '-I/usr/include/SDL2', '-I../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-D_GLIBCXX_USE_CXX11_ABI=0', '-DLINUX=1', '-D_LINUX=1', '-DPOSIX=1', '-D_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.so', '-DNDEBUG', '-DCOMPILER_GCC=1', '-DHAVE_SDL2=1', '-DHAVE_FT2=1', '-DHAVE_FC=1', '-DHAVE_OPENAL=1', '-DHAVE_JPEG=1', '-DHAVE_PNG=1', '-DHAVE_CURL=1', '-DHAVE_ZLIB=1', '-DLAUNCHERONLY=1', '-D_REENTRANT', '../public/filesystem_init.cpp', '-c', '-o/home/vjubuntu/Escritorio/source-engine/build/public/filesystem_init.cpp.18.o']
common/imageutils.cpp.11.o: En la función `ReadPNGData(png_struct_def*, unsigned char*, unsigned int)':
imageutils.cpp:(.text+0x2c4): referencia a `png_longjmp' sin definir
common/imageutils.cpp.11.o: En la función `ImgUtl_ReadPNGAsRGBAFromBuffer(CUtlBuffer&, int&, int&, ConversionErrorType&)':
imageutils.cpp:(.text+0x1f45): referencia a `png_set_longjmp_fn' sin definir
common/imageutils.cpp.11.o: En la función `ImgUtl_WriteRGBAAsPNGToBuffer(unsigned char const*, int, int, CUtlBuffer&, int)':
imageutils.cpp:(.text+0x3da5): referencia a `png_set_longjmp_fn' sin definir
collect2: error: ld returned 1 exit status

In file included from ../public/tier1/utlmemory.h:20:0,
                 from ../public/tier1/utlbuffer.h:17,
                 from ../public/filesystem_init.cpp:26:
../public/mathlib/mathlib.h: In function ‘long unsigned int RoundFloatToUnsignedLong(float)’:
../public/mathlib/mathlib.h:1282:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   return *((unsigned long*)nResult);
                                   ^
../public/filesystem_init.cpp: In function ‘void Q_getwd(char*, int)’:
../public/filesystem_init.cpp:212:24: warning: ignoring return value of ‘char* getcwd(char*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
  getcwd( out, outSize );
                        ^
../public/filesystem_init.cpp: In function ‘KeyValues* ReadKeyValuesFile(const char*)’:
../public/filesystem_init.cpp:273:43: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
  fread( buf.Base(), 1, buf.Count()-1, fp );
                                           ^

Waf: Leaving directory `/home/vjubuntu/Escritorio/source-engine/build'
Build failed
 -> task in 'GameUI' failed with exit status 1: 
    {task 3054680692L: cxxshlib BackgroundMenuButton.cpp.11.o,BasePanel.cpp.11.o,GameConsole.cpp.11.o,GameUI_Interface.cpp.11.o,ModInfo.cpp.11.o,MouseMessageForwardingPanel.cpp.11.o,ObjectList.cpp.11.o,PanelListPanel.cpp.11.o,RunGameEngine.cpp.11.o,scriptobject.cpp.11.o,Sys_Utils.cpp.11.o,TextEntryBox.cpp.11.o,TGAImagePanel.cpp.11.o,vgui_controls.cpp.11.o,VGuiSystemModuleLoader.cpp.11.o,BonusMapsDatabase.cpp.11.o,language.cpp.11.o,imageutils.cpp.11.o,SaveGameBrowserDialog.cpp.11.o,gameui_util.cpp.11.o,BitmapImagePanel.cpp.11.o,CommandCheckButton.cpp.11.o,CvarNegateCheckButton.cpp.11.o,cvarslider.cpp.11.o,CvarTextEntry.cpp.11.o,CvarToggleCheckButton.cpp.11.o,HapticControlBox.cpp.11.o,KeyToggleCheckButton.cpp.11.o,LabeledCommandComboBox.cpp.11.o,URLButton.cpp.11.o,vcontrolslistpanel.cpp.11.o,BenchmarkDialog.cpp.11.o,BonusMapsDialog.cpp.11.o,CommentaryDialog.cpp.11.o,CommentaryExplanationDialog.cpp.11.o,ContentControlDialog.cpp.11.o,CustomTabExplanationDialog.cpp.11.o,GameConsoleDialog.cpp.11.o,LoadGameDialog_Xbox.cpp.11.o,LoadGameDialog.cpp.11.o,MultiplayerAdvancedDialog.cpp.11.o,NewGameDialog.cpp.11.o,PlayerListDialog.cpp.11.o,SaveGameDialog_Xbox.cpp.11.o,SaveGameDialog.cpp.11.o,LoadCommentaryDialog.cpp.11.o,LoadingDialog.cpp.11.o,BaseSaveGameDialog.cpp.11.o,CreateMultiplayerGameBotPage.cpp.11.o,CreateMultiplayerGameDialog.cpp.11.o,CreateMultiplayerGameGameplayPage.cpp.11.o,CreateMultiplayerGameServerPage.cpp.11.o,OptionsDialog_Xbox.cpp.11.o,ControllerDialog.cpp.11.o,achievementsdialog.cpp.11.o,basedialog.cpp.11.o,dialogmenu.cpp.11.o,leaderboarddialog.cpp.11.o,matchmakingbasepanel.cpp.11.o,pausedialog.cpp.11.o,sessionlobbydialog.cpp.11.o,sessionoptionsdialog.cpp.11.o,sessionbrowserdialog.cpp.11.o,welcomedialog.cpp.11.o,OptionsDialog.cpp.11.o,OptionsSubAudio.cpp.11.o,OptionsSubDifficulty.cpp.11.o,OptionsSubGame.cpp.11.o,OptionsSubKeyboard.cpp.11.o,OptionsSubMouse.cpp.11.o,OptionsSubTouch.cpp.11.o,OptionsSubMultiplayer.cpp.11.o,OptionsSubPortal.cpp.11.o,OptionsSubVideo.cpp.11.o,OptionsSubVoice.cpp.11.o -> libGameUI.so}
['/usr/bin/g++', '-Wl,--no-undefined', '-fPIC', '-march=native', '-mtune=native', '-mfpmath=sse', '-msse', '-msse2', '-pthread', '-shared', 'gameui/BackgroundMenuButton.cpp.11.o', 'gameui/BasePanel.cpp.11.o', 'gameui/GameConsole.cpp.11.o', 'gameui/GameUI_Interface.cpp.11.o', 'gameui/ModInfo.cpp.11.o', 'gameui/MouseMessageForwardingPanel.cpp.11.o', 'common/GameUI/ObjectList.cpp.11.o', 'gameui/PanelListPanel.cpp.11.o', 'gameui/RunGameEngine.cpp.11.o', 'common/GameUI/scriptobject.cpp.11.o', 'gameui/Sys_Utils.cpp.11.o', 'gameui/TextEntryBox.cpp.11.o', 'gameui/TGAImagePanel.cpp.11.o', 'public/vgui_controls/vgui_controls.cpp.11.o', 'gameui/VGuiSystemModuleLoader.cpp.11.o', 'gameui/BonusMapsDatabase.cpp.11.o', 'common/language.cpp.11.o', 'common/imageutils.cpp.11.o', 'gameui/SaveGameBrowserDialog.cpp.11.o', 'gameui/gameui_util.cpp.11.o', 'gameui/BitmapImagePanel.cpp.11.o', 'gameui/CommandCheckButton.cpp.11.o', 'gameui/CvarNegateCheckButton.cpp.11.o', 'common/GameUI/cvarslider.cpp.11.o', 'gameui/CvarTextEntry.cpp.11.o', 'gameui/CvarToggleCheckButton.cpp.11.o', 'gameui/HapticControlBox.cpp.11.o', 'gameui/KeyToggleCheckButton.cpp.11.o', 'gameui/LabeledCommandComboBox.cpp.11.o', 'gameui/URLButton.cpp.11.o', 'gameui/vcontrolslistpanel.cpp.11.o', 'gameui/BenchmarkDialog.cpp.11.o', 'gameui/BonusMapsDialog.cpp.11.o', 'gameui/CommentaryDialog.cpp.11.o', 'gameui/CommentaryExplanationDialog.cpp.11.o', 'gameui/ContentControlDialog.cpp.11.o', 'gameui/CustomTabExplanationDialog.cpp.11.o', 'gameui/GameConsoleDialog.cpp.11.o', 'gameui/LoadGameDialog_Xbox.cpp.11.o', 'gameui/LoadGameDialog.cpp.11.o', 'gameui/MultiplayerAdvancedDialog.cpp.11.o', 'gameui/NewGameDialog.cpp.11.o', 'gameui/PlayerListDialog.cpp.11.o', 'gameui/SaveGameDialog_Xbox.cpp.11.o', 'gameui/SaveGameDialog.cpp.11.o', 'gameui/LoadCommentaryDialog.cpp.11.o', 'gameui/LoadingDialog.cpp.11.o', 'gameui/BaseSaveGameDialog.cpp.11.o', 'gameui/CreateMultiplayerGameBotPage.cpp.11.o', 'gameui/CreateMultiplayerGameDialog.cpp.11.o', 'gameui/CreateMultiplayerGameGameplayPage.cpp.11.o', 'gameui/CreateMultiplayerGameServerPage.cpp.11.o', 'gameui/OptionsDialog_Xbox.cpp.11.o', 'gameui/ControllerDialog.cpp.11.o', 'gameui/matchmaking/achievementsdialog.cpp.11.o', 'gameui/matchmaking/basedialog.cpp.11.o', 'gameui/matchmaking/dialogmenu.cpp.11.o', 'gameui/matchmaking/leaderboarddialog.cpp.11.o', 'gameui/matchmaking/matchmakingbasepanel.cpp.11.o', 'gameui/matchmaking/pausedialog.cpp.11.o', 'gameui/matchmaking/sessionlobbydialog.cpp.11.o', 'gameui/matchmaking/sessionoptionsdialog.cpp.11.o', 'gameui/matchmaking/sessionbrowserdialog.cpp.11.o', 'gameui/matchmaking/welcomedialog.cpp.11.o', 'gameui/OptionsDialog.cpp.11.o', 'gameui/OptionsSubAudio.cpp.11.o', 'gameui/OptionsSubDifficulty.cpp.11.o', 'gameui/OptionsSubGame.cpp.11.o', 'gameui/OptionsSubKeyboard.cpp.11.o', 'gameui/OptionsSubMouse.cpp.11.o', 'gameui/OptionsSubTouch.cpp.11.o', 'gameui/OptionsSubMultiplayer.cpp.11.o', 'gameui/OptionsSubPortal.cpp.11.o', 'gameui/OptionsSubVideo.cpp.11.o', 'gameui/OptionsSubVoice.cpp.11.o', '-o/home/vjubuntu/Escritorio/source-engine/build/gameui/libGameUI.so', '-Wl,-Bstatic', '-Lvgui2/vgui_controls', '-Ltier1', '-Ltier2', '-Ltier3', '-Lvtf', '-Lbitmap', '-Lmathlib', '-Lvgui2/matsys_controls', '-lvgui_controls', '-ltier1', '-ltier2', '-ltier3', '-lvtf', '-lbitmap', '-lmathlib', '-lmatsys_controls', '-Wl,-Bdynamic', '-Lvstdlib', '-Ltier0', '-Lthirdparty/StubSteamAPI', '-lvstdlib', '-ltier0', '-lsteam_api', '-ldl', '-lm', '-lSDL2', '-ljpeg', '-lpng12', '-lz']

Something is doing wrong, what will be?

LegendaryGuard commented 2 years ago

After updating the commits locally, I just get this error:
ivp_ivp_surface_manager_ivp_compact_surfacehxx

LegendaryGuard commented 2 years ago

After updating the commits locally, I just get this error: ivp_ivp_surface_manager_ivp_compact_surfacehxx

I just fixed replacing line 55 of ivp/ivp_surface_manager/ivp_compact_surface.hxx to this:

char *base = (char *)(((intp)this) + this->offset_ledgetree_root);

I think it's because intp is the correct. Before doing this, I took a look at ivp/ivp_surface_manager/ivp_compact_grid.hxx in the line 70 and I had this idea: https://github.com/nillerusr/source-physics/blob/929777ccc85887e2374e9a73bd04c3215720436d/ivp_surface_manager/ivp_compact_grid.hxx#L70

After this, it appears another error: engine_spatialpartitioncpp_error2522

And I commented the lines of engine/spatialpartition.cpp 2520 to 2523: https://github.com/nillerusr/source-engine/blob/b3ef8242db07a3dcc9dda506f714fd646f6978df/engine/spatialpartition.cpp#L2520

LegendaryGuard commented 2 years ago

Stops in the same moment: [1931/2182] Compiling inputsystem/inputsystem.cpp

I did ./waf clean every time before compiling.

I tried to remove these inputsystem files in inputsystem/wscript. The same GameUI error persists.

nillerusr commented 2 years ago

Oops

nillerusr commented 2 years ago

now should work

LegendaryGuard commented 2 years ago

Error still continues... Current log:

[1931/2182] Compiling inputsystem/touch_sdl.cpp
02:11:23 runner ['/usr/bin/g++', '-g0', '-fno-strict-aliasing', '-fvisibility=hidden', '-g', '-O0', '-pipe', '-fPIC', '-pthread', '-march=native', '-mtune=native', '-mfpmath=sse', '-std=c++11', '-fpermissive', '-Wall', '-fdiagnostics-color=always', '-Wcast-align', '-Wuninitialized', '-Winit-self', '-Wstrict-aliasing', '-Wno-reorder', '-Wno-unknown-pragmas', '-Wno-unused-function', '-Wno-unused-but-set-variable', '-Wno-unused-value', '-Wno-unused-variable', '-fPIC', '-Iinputsystem', '-I../inputsystem', '-Icommon', '-I../common', '-Ipublic', '-I../public', '-Ipublic/tier0', '-I../public/tier0', '-I../common', '-I/usr/include/SDL2', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-D_GLIBCXX_USE_CXX11_ABI=0', '-DLINUX=1', '-D_LINUX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.so', '-DNDEBUG', '-DCOMPILER_GCC=1', '-DHAVE_SDL2=1', '-DHAVE_FT2=1', '-DHAVE_FC=1', '-DHAVE_OPENAL=1', '-DHAVE_JPEG=1', '-DHAVE_PNG=1', '-DHAVE_CURL=1', '-DHAVE_ZLIB=1', '-DHAVE_OPUS=1', '-DVERSION_SAFE_STEAM_API_INTERFACES=1', '-D_REENTRANT', '../inputsystem/touch_sdl.cpp', '-c', '-o/home/ubuntu/source-engine/build/inputsystem/touch_sdl.cpp.12.o']
[1932/2182] Linking build/gameui/libGameUI.so
02:11:23 runner ['/usr/bin/g++', '-Wl,--no-undefined', '-pipe', '-fPIC', '-pthread', '-march=native', '-mtune=native', '-mfpmath=sse', '-shared', 'gameui/BackgroundMenuButton.cpp.11.o', 'gameui/BasePanel.cpp.11.o', 'gameui/GameConsole.cpp.11.o', 'gameui/GameUI_Interface.cpp.11.o', 'gameui/ModInfo.cpp.11.o', 'gameui/MouseMessageForwardingPanel.cpp.11.o', 'common/GameUI/ObjectList.cpp.11.o', 'gameui/PanelListPanel.cpp.11.o', 'gameui/RunGameEngine.cpp.11.o', 'common/GameUI/scriptobject.cpp.11.o', 'gameui/Sys_Utils.cpp.11.o', 'gameui/TextEntryBox.cpp.11.o', 'gameui/TGAImagePanel.cpp.11.o', 'public/vgui_controls/vgui_controls.cpp.11.o', 'gameui/VGuiSystemModuleLoader.cpp.11.o', 'gameui/BonusMapsDatabase.cpp.11.o', 'common/language.cpp.11.o', 'common/imageutils.cpp.11.o', 'gameui/SaveGameBrowserDialog.cpp.11.o', 'gameui/gameui_util.cpp.11.o', 'gameui/BitmapImagePanel.cpp.11.o', 'gameui/CommandCheckButton.cpp.11.o', 'gameui/CvarNegateCheckButton.cpp.11.o', 'common/GameUI/cvarslider.cpp.11.o', 'gameui/CvarTextEntry.cpp.11.o', 'gameui/CvarToggleCheckButton.cpp.11.o', 'gameui/HapticControlBox.cpp.11.o', 'gameui/KeyToggleCheckButton.cpp.11.o', 'gameui/LabeledCommandComboBox.cpp.11.o', 'gameui/URLButton.cpp.11.o', 'gameui/vcontrolslistpanel.cpp.11.o', 'gameui/BenchmarkDialog.cpp.11.o', 'gameui/BonusMapsDialog.cpp.11.o', 'gameui/CommentaryDialog.cpp.11.o', 'gameui/CommentaryExplanationDialog.cpp.11.o', 'gameui/ContentControlDialog.cpp.11.o', 'gameui/CustomTabExplanationDialog.cpp.11.o', 'gameui/GameConsoleDialog.cpp.11.o', 'gameui/LoadGameDialog_Xbox.cpp.11.o', 'gameui/LoadGameDialog.cpp.11.o', 'gameui/MultiplayerAdvancedDialog.cpp.11.o', 'gameui/NewGameDialog.cpp.11.o', 'gameui/PlayerListDialog.cpp.11.o', 'gameui/SaveGameDialog_Xbox.cpp.11.o', 'gameui/SaveGameDialog.cpp.11.o', 'gameui/LoadCommentaryDialog.cpp.11.o', 'gameui/LoadingDialog.cpp.11.o', 'gameui/BaseSaveGameDialog.cpp.11.o', 'gameui/CreateMultiplayerGameBotPage.cpp.11.o', 'gameui/CreateMultiplayerGameDialog.cpp.11.o', 'gameui/CreateMultiplayerGameGameplayPage.cpp.11.o', 'gameui/CreateMultiplayerGameServerPage.cpp.11.o', 'gameui/OptionsDialog_Xbox.cpp.11.o', 'gameui/ControllerDialog.cpp.11.o', 'gameui/matchmaking/achievementsdialog.cpp.11.o', 'gameui/matchmaking/basedialog.cpp.11.o', 'gameui/matchmaking/dialogmenu.cpp.11.o', 'gameui/matchmaking/leaderboarddialog.cpp.11.o', 'gameui/matchmaking/matchmakingbasepanel.cpp.11.o', 'gameui/matchmaking/pausedialog.cpp.11.o', 'gameui/matchmaking/sessionlobbydialog.cpp.11.o', 'gameui/matchmaking/sessionoptionsdialog.cpp.11.o', 'gameui/matchmaking/sessionbrowserdialog.cpp.11.o', 'gameui/matchmaking/welcomedialog.cpp.11.o', 'gameui/OptionsDialog.cpp.11.o', 'gameui/OptionsSubAudio.cpp.11.o', 'gameui/OptionsSubDifficulty.cpp.11.o', 'gameui/OptionsSubGame.cpp.11.o', 'gameui/OptionsSubKeyboard.cpp.11.o', 'gameui/OptionsSubMouse.cpp.11.o', 'gameui/OptionsSubTouch.cpp.11.o', 'gameui/OptionsSubMultiplayer.cpp.11.o', 'gameui/OptionsSubPortal.cpp.11.o', 'gameui/OptionsSubVideo.cpp.11.o', 'gameui/OptionsSubVoice.cpp.11.o', '-o/home/ubuntu/source-engine/build/gameui/libGameUI.so', '-Wl,-Bstatic', '-Lvgui2/vgui_controls', '-Ltier1', '-Ltier2', '-Ltier3', '-Lvtf', '-Lbitmap', '-Lmathlib', '-Lvgui2/matsys_controls', '-lvgui_controls', '-ltier1', '-ltier2', '-ltier3', '-lvtf', '-lbitmap', '-lmathlib', '-lmatsys_controls', '-Wl,-Bdynamic', '-Lvstdlib', '-Ltier0', '-Lthirdparty/StubSteamAPI', '-lvstdlib', '-ltier0', '-lsteam_api', '-ldl', '-lm', '-lSDL2', '-ljpeg', '-lpng12', '-lz']
[1933/2182] Compiling inputsystem/key_translation.cpp
02:11:23 runner ['/usr/bin/g++', '-g0', '-fno-strict-aliasing', '-fvisibility=hidden', '-g', '-O0', '-pipe', '-fPIC', '-pthread', '-march=native', '-mtune=native', '-mfpmath=sse', '-std=c++11', '-fpermissive', '-Wall', '-fdiagnostics-color=always', '-Wcast-align', '-Wuninitialized', '-Winit-self', '-Wstrict-aliasing', '-Wno-reorder', '-Wno-unknown-pragmas', '-Wno-unused-function', '-Wno-unused-but-set-variable', '-Wno-unused-value', '-Wno-unused-variable', '-fPIC', '-Iinputsystem', '-I../inputsystem', '-Icommon', '-I../common', '-Ipublic', '-I../public', '-Ipublic/tier0', '-I../public/tier0', '-I../common', '-I/usr/include/SDL2', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-D_GLIBCXX_USE_CXX11_ABI=0', '-DLINUX=1', '-D_LINUX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.so', '-DNDEBUG', '-DCOMPILER_GCC=1', '-DHAVE_SDL2=1', '-DHAVE_FT2=1', '-DHAVE_FC=1', '-DHAVE_OPENAL=1', '-DHAVE_JPEG=1', '-DHAVE_PNG=1', '-DHAVE_CURL=1', '-DHAVE_ZLIB=1', '-DHAVE_OPUS=1', '-DVERSION_SAFE_STEAM_API_INTERFACES=1', '-D_REENTRANT', '../inputsystem/key_translation.cpp', '-c', '-o/home/ubuntu/source-engine/build/inputsystem/key_translation.cpp.12.o']
common/imageutils.cpp.11.o: In function `ReadPNGData(png_struct_def*, unsigned char*, unsigned int)':
/home/ubuntu/source-engine/build/../common/imageutils.cpp:651: undefined reference to `png_longjmp'
common/imageutils.cpp.11.o: In function `ImgUtl_ReadPNGAsRGBAFromBuffer(CUtlBuffer&, int&, int&, ConversionErrorType&)':
/home/ubuntu/source-engine/build/../common/imageutils.cpp:726: undefined reference to `png_set_longjmp_fn'
common/imageutils.cpp.11.o: In function `ImgUtl_WriteRGBAAsPNGToBuffer(unsigned char const*, int, int, CUtlBuffer&, int)':
/home/ubuntu/source-engine/build/../common/imageutils.cpp:1882: undefined reference to `png_set_longjmp_fn'
collect2: error: ld returned 1 exit status

../inputsystem/key_translation.cpp: In function ‘void ButtonCode_InitKeyTranslationTable()’:
../inputsystem/key_translation.cpp:600:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for ( int i = 0; i < ARRAYSIZE( s_pVirtualKeyToButtonCode ); i++ )
                     ^
../inputsystem/key_translation.cpp: In function ‘ButtonCode_t ButtonCode_VirtualKeyToButtonCode(int)’:
../inputsystem/key_translation.cpp:657:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if ( keyCode < 0 || keyCode >= sizeof( s_pVirtualKeyToButtonCode ) / sizeof( s_pVirtualKeyToButtonCode[0] ) )
                              ^
../inputsystem/key_translation.cpp: In function ‘ButtonCode_t ButtonCode_StringToButtonCode(const char*, bool)’:
../inputsystem/key_translation.cpp:745:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for ( int i = 0; i < ARRAYSIZE(s_pXControllerButtonCodeNames); ++i )
                      ^
../inputsystem/key_translation.cpp: In function ‘ButtonCode_t ButtonCode_SKeyToButtonCode(int, int)’:
../inputsystem/key_translation.cpp:759:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if ( keyCode < 0 || keyCode >= sizeof( s_pSKeytoButtonCode ) / sizeof( s_pSKeytoButtonCode[0] ) )
                              ^

Waf: Leaving directory `/home/ubuntu/source-engine/build'
Build failed
 -> task in 'GameUI' failed with exit status 1: 
    {task 3057527916L: cxxshlib BackgroundMenuButton.cpp.11.o,BasePanel.cpp.11.o,GameConsole.cpp.11.o,GameUI_Interface.cpp.11.o,ModInfo.cpp.11.o,MouseMessageForwardingPanel.cpp.11.o,ObjectList.cpp.11.o,PanelListPanel.cpp.11.o,RunGameEngine.cpp.11.o,scriptobject.cpp.11.o,Sys_Utils.cpp.11.o,TextEntryBox.cpp.11.o,TGAImagePanel.cpp.11.o,vgui_controls.cpp.11.o,VGuiSystemModuleLoader.cpp.11.o,BonusMapsDatabase.cpp.11.o,language.cpp.11.o,imageutils.cpp.11.o,SaveGameBrowserDialog.cpp.11.o,gameui_util.cpp.11.o,BitmapImagePanel.cpp.11.o,CommandCheckButton.cpp.11.o,CvarNegateCheckButton.cpp.11.o,cvarslider.cpp.11.o,CvarTextEntry.cpp.11.o,CvarToggleCheckButton.cpp.11.o,HapticControlBox.cpp.11.o,KeyToggleCheckButton.cpp.11.o,LabeledCommandComboBox.cpp.11.o,URLButton.cpp.11.o,vcontrolslistpanel.cpp.11.o,BenchmarkDialog.cpp.11.o,BonusMapsDialog.cpp.11.o,CommentaryDialog.cpp.11.o,CommentaryExplanationDialog.cpp.11.o,ContentControlDialog.cpp.11.o,CustomTabExplanationDialog.cpp.11.o,GameConsoleDialog.cpp.11.o,LoadGameDialog_Xbox.cpp.11.o,LoadGameDialog.cpp.11.o,MultiplayerAdvancedDialog.cpp.11.o,NewGameDialog.cpp.11.o,PlayerListDialog.cpp.11.o,SaveGameDialog_Xbox.cpp.11.o,SaveGameDialog.cpp.11.o,LoadCommentaryDialog.cpp.11.o,LoadingDialog.cpp.11.o,BaseSaveGameDialog.cpp.11.o,CreateMultiplayerGameBotPage.cpp.11.o,CreateMultiplayerGameDialog.cpp.11.o,CreateMultiplayerGameGameplayPage.cpp.11.o,CreateMultiplayerGameServerPage.cpp.11.o,OptionsDialog_Xbox.cpp.11.o,ControllerDialog.cpp.11.o,achievementsdialog.cpp.11.o,basedialog.cpp.11.o,dialogmenu.cpp.11.o,leaderboarddialog.cpp.11.o,matchmakingbasepanel.cpp.11.o,pausedialog.cpp.11.o,sessionlobbydialog.cpp.11.o,sessionoptionsdialog.cpp.11.o,sessionbrowserdialog.cpp.11.o,welcomedialog.cpp.11.o,OptionsDialog.cpp.11.o,OptionsSubAudio.cpp.11.o,OptionsSubDifficulty.cpp.11.o,OptionsSubGame.cpp.11.o,OptionsSubKeyboard.cpp.11.o,OptionsSubMouse.cpp.11.o,OptionsSubTouch.cpp.11.o,OptionsSubMultiplayer.cpp.11.o,OptionsSubPortal.cpp.11.o,OptionsSubVideo.cpp.11.o,OptionsSubVoice.cpp.11.o -> libGameUI.so}
['/usr/bin/g++', '-Wl,--no-undefined', '-pipe', '-fPIC', '-pthread', '-march=native', '-mtune=native', '-mfpmath=sse', '-shared', 'gameui/BackgroundMenuButton.cpp.11.o', 'gameui/BasePanel.cpp.11.o', 'gameui/GameConsole.cpp.11.o', 'gameui/GameUI_Interface.cpp.11.o', 'gameui/ModInfo.cpp.11.o', 'gameui/MouseMessageForwardingPanel.cpp.11.o', 'common/GameUI/ObjectList.cpp.11.o', 'gameui/PanelListPanel.cpp.11.o', 'gameui/RunGameEngine.cpp.11.o', 'common/GameUI/scriptobject.cpp.11.o', 'gameui/Sys_Utils.cpp.11.o', 'gameui/TextEntryBox.cpp.11.o', 'gameui/TGAImagePanel.cpp.11.o', 'public/vgui_controls/vgui_controls.cpp.11.o', 'gameui/VGuiSystemModuleLoader.cpp.11.o', 'gameui/BonusMapsDatabase.cpp.11.o', 'common/language.cpp.11.o', 'common/imageutils.cpp.11.o', 'gameui/SaveGameBrowserDialog.cpp.11.o', 'gameui/gameui_util.cpp.11.o', 'gameui/BitmapImagePanel.cpp.11.o', 'gameui/CommandCheckButton.cpp.11.o', 'gameui/CvarNegateCheckButton.cpp.11.o', 'common/GameUI/cvarslider.cpp.11.o', 'gameui/CvarTextEntry.cpp.11.o', 'gameui/CvarToggleCheckButton.cpp.11.o', 'gameui/HapticControlBox.cpp.11.o', 'gameui/KeyToggleCheckButton.cpp.11.o', 'gameui/LabeledCommandComboBox.cpp.11.o', 'gameui/URLButton.cpp.11.o', 'gameui/vcontrolslistpanel.cpp.11.o', 'gameui/BenchmarkDialog.cpp.11.o', 'gameui/BonusMapsDialog.cpp.11.o', 'gameui/CommentaryDialog.cpp.11.o', 'gameui/CommentaryExplanationDialog.cpp.11.o', 'gameui/ContentControlDialog.cpp.11.o', 'gameui/CustomTabExplanationDialog.cpp.11.o', 'gameui/GameConsoleDialog.cpp.11.o', 'gameui/LoadGameDialog_Xbox.cpp.11.o', 'gameui/LoadGameDialog.cpp.11.o', 'gameui/MultiplayerAdvancedDialog.cpp.11.o', 'gameui/NewGameDialog.cpp.11.o', 'gameui/PlayerListDialog.cpp.11.o', 'gameui/SaveGameDialog_Xbox.cpp.11.o', 'gameui/SaveGameDialog.cpp.11.o', 'gameui/LoadCommentaryDialog.cpp.11.o', 'gameui/LoadingDialog.cpp.11.o', 'gameui/BaseSaveGameDialog.cpp.11.o', 'gameui/CreateMultiplayerGameBotPage.cpp.11.o', 'gameui/CreateMultiplayerGameDialog.cpp.11.o', 'gameui/CreateMultiplayerGameGameplayPage.cpp.11.o', 'gameui/CreateMultiplayerGameServerPage.cpp.11.o', 'gameui/OptionsDialog_Xbox.cpp.11.o', 'gameui/ControllerDialog.cpp.11.o', 'gameui/matchmaking/achievementsdialog.cpp.11.o', 'gameui/matchmaking/basedialog.cpp.11.o', 'gameui/matchmaking/dialogmenu.cpp.11.o', 'gameui/matchmaking/leaderboarddialog.cpp.11.o', 'gameui/matchmaking/matchmakingbasepanel.cpp.11.o', 'gameui/matchmaking/pausedialog.cpp.11.o', 'gameui/matchmaking/sessionlobbydialog.cpp.11.o', 'gameui/matchmaking/sessionoptionsdialog.cpp.11.o', 'gameui/matchmaking/sessionbrowserdialog.cpp.11.o', 'gameui/matchmaking/welcomedialog.cpp.11.o', 'gameui/OptionsDialog.cpp.11.o', 'gameui/OptionsSubAudio.cpp.11.o', 'gameui/OptionsSubDifficulty.cpp.11.o', 'gameui/OptionsSubGame.cpp.11.o', 'gameui/OptionsSubKeyboard.cpp.11.o', 'gameui/OptionsSubMouse.cpp.11.o', 'gameui/OptionsSubTouch.cpp.11.o', 'gameui/OptionsSubMultiplayer.cpp.11.o', 'gameui/OptionsSubPortal.cpp.11.o', 'gameui/OptionsSubVideo.cpp.11.o', 'gameui/OptionsSubVoice.cpp.11.o', '-o/home/ubuntu/source-engine/build/gameui/libGameUI.so', '-Wl,-Bstatic', '-Lvgui2/vgui_controls', '-Ltier1', '-Ltier2', '-Ltier3', '-Lvtf', '-Lbitmap', '-Lmathlib', '-Lvgui2/matsys_controls', '-lvgui_controls', '-ltier1', '-ltier2', '-ltier3', '-lvtf', '-lbitmap', '-lmathlib', '-lmatsys_controls', '-Wl,-Bdynamic', '-Lvstdlib', '-Ltier0', '-Lthirdparty/StubSteamAPI', '-lvstdlib', '-ltier0', '-lsteam_api', '-ldl', '-lm', '-lSDL2', '-ljpeg', '-lpng12', '-lz']
nillerusr commented 2 years ago

libpng is missing

LegendaryGuard commented 2 years ago

libpng is missing

Weird, the package is already installed.

nillerusr commented 2 years ago

ubuntu/debian apt install libpng-dev:i386 arch: pacman -S lib32-libpng

LegendaryGuard commented 2 years ago

Same, here the log of the package, I'm using Ubuntu 16.04 32-bits: image

nillerusr commented 2 years ago

Lol that functions was added in libpng1.4

nillerusr commented 2 years ago

Bruh wait

WitherOrNot commented 2 years ago

you may be having outdated packages due to using an older version of ubuntu

WitherOrNot commented 2 years ago

After looking further, it seems like the required libpng is in the source-thirdparty subrepo.

LegendaryGuard commented 2 years ago

I just reinstalled Ubuntu 16.04, update all, doing the same steps as before, cloning the repo and adding the required packages.

Again, when fixing some issues mentioned above, the build tells this error, I arrived to [ 779/2182], what failed?

[ 773/2182] Compiling filesystem/filetracker.cpp
../filesystem/filetracker.cpp: In member function ‘virtual void FileListToUnloadForWhitelistChange::Release()’:
../filesystem/filetracker.cpp:328:10: warning: deleting object of polymorphic class type ‘FileListToUnloadForWhitelistChange’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
   delete this;
          ^

[ 774/2182] Linking build/engine/libengine.so
In file included from ../filesystem/QueuedLoader.cpp:51:0:
../public/vstdlib/jobthread.h: In constructor ‘ThreadPoolStartParams_t::ThreadPoolStartParams_t(bool, unsigned int, int*, ThreeState_t, unsigned int, int)’:
../public/vstdlib/jobthread.h:106:92: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   bUseAffinityTable = ( pAffinities != NULL ) && ( fDistribute == TRS_TRUE ) && ( nThreads != -1 );
                                                                                            ^
../filesystem/QueuedLoader.cpp: In member function ‘void CQueuedLoader::GetJobRequests()’:
../filesystem/QueuedLoader.cpp:1429:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for ( int i=0; i<ARRAYSIZE( jobs ); i++ )
                    ^
../filesystem/QueuedLoader.cpp:1452:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for ( int i=0; i<ARRAYSIZE( jobs ); i++ )
                   ^

[ 775/2182] Linking build/engine/voice_codecs/minimp3/libvaudio_minimp3.so
[ 776/2182] Compiling filesystem/packfile.cpp
[ 777/2182] Compiling filesystem/linux_support.cpp
[ 778/2182] Compiling filesystem/filesystem_async.cpp
In file included from ../filesystem/filesystem_async.cpp:24:0:
../public/vstdlib/jobthread.h: In constructor ‘ThreadPoolStartParams_t::ThreadPoolStartParams_t(bool, unsigned int, int*, ThreeState_t, unsigned int, int)’:
../public/vstdlib/jobthread.h:106:92: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   bUseAffinityTable = ( pAffinities != NULL ) && ( fDistribute == TRS_TRUE ) && ( nThreads != -1 );
                                                                                            ^

[ 779/2182] Compiling filesystem/basefilesystem.cpp
engine/download.cpp.6.o: In function `DecompressBZipToDisk(char const*, char const*, char*, int)':
/home/ubuntu/source-engine/build/../engine/download.cpp:230: undefined reference to `BZ2_bzopen'
/home/ubuntu/source-engine/build/../engine/download.cpp:244: undefined reference to `BZ2_bzread'
/home/ubuntu/source-engine/build/../engine/download.cpp:273: undefined reference to `BZ2_bzclose'
/home/ubuntu/source-engine/build/../engine/download.cpp:281: undefined reference to `BZ2_bzclose'
collect2: error: ld returned 1 exit status

../filesystem/basefilesystem.cpp: In member function ‘void CBaseFileSystem::AddMapPackFile(const char*, const char*, SearchPathAdd_t)’:
../filesystem/basefilesystem.cpp:1209:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if ( packfile->filelen <= sizeof( lump_t ) )
                          ^
In file included from ../filesystem/basefilesystem.h:52:0,
                 from ../filesystem/basefilesystem.cpp:12:
../public/tier1/utlhashtable.h: In instantiation of ‘void CUtlHashtableEntry<KeyT, ValueT>::MoveDataFrom(CUtlHashtableEntry<KeyT, ValueT>&) [with KeyT = const char*; ValueT = CMemoryFileBacking*]’:
../public/tier1/utlhashtable.h:613:3:   required from ‘int CUtlHashtable<KeyT, ValueT, KeyHashT, KeyIsEqualT, AlternateKeyT>::DoRemove(KeyParamT, unsigned int) [with KeyParamT = const char*; KeyT = const char*; ValueT = CMemoryFileBacking*; KeyHashT = DefaultHashFunctor<const char*>; KeyIsEqualT = DefaultEqualFunctor<const char*>; AlternateKeyT = undefined_t]’
../public/tier1/utlhashtable.h:229:55:   required from ‘bool CUtlHashtable<KeyT, ValueT, KeyHashT, KeyIsEqualT, AlternateKeyT>::Remove(CUtlHashtable<KeyT, ValueT, KeyHashT, KeyIsEqualT, AlternateKeyT>::KeyArg_t) [with KeyT = const char*; ValueT = CMemoryFileBacking*; KeyHashT = DefaultHashFunctor<const char*>; KeyIsEqualT = DefaultEqualFunctor<const char*>; AlternateKeyT = undefined_t; CUtlHashtable<KeyT, ValueT, KeyHashT, KeyIsEqualT, AlternateKeyT>::KeyArg_t = const char*]’
../filesystem/basefilesystem.cpp:5387:48:   required from here
../public/tier1/utlhashtable.h:119:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for ( int i = 0; i < ARRAYSIZE( data ); ++i ) { data[i] = srcData[i]; }
                      ^

Waf: Leaving directory `/home/ubuntu/source-engine/build'
Build failed
 -> task in 'engine' failed with exit status 1 (run with -v to display more information)
WitherOrNot commented 2 years ago

This error suggests that you are missing libbzip2. You can install with sudo apt-get install libbz2-dev:i386

LegendaryGuard commented 2 years ago

Finally, built successfully! 🎉

finallytadaasourceengine
LegendaryGuard commented 2 years ago

Let's summarize:

Steps 6, 7, 8 are troubleshooting problems to solve the errors.

  1. Install Ubuntu 16.04.6 Desktop i386 in a VM. Execute:
  2. sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install git
  3. Cloning the repository following as README.md says. Execute:
  4. sudo apt-get install libsdl2-dev cmake libfreetype6-dev libfontconfig1-dev xclip libalut-dev libjpeg-dev libcurl4-gnutls-dev libopus-dev libbz2-dev
  5. Go to thirdparty/libpng, and execute:
    ./configure
    sudo make check
    sudo make install
    Right this, you have installed libpng without using sudo apt-get install libpng-dev due to some outdated packages for this 32 bits system.
  6. If opus audio error appears: open wscript and comment this line 'engine/voice_codecs/opus', where it's in projects={ Reference: https://github.com/nillerusr/source-engine/issues/58#issuecomment-1074896191
    I don't think ignoring opus would fix something, lacking a library would get a missing resource for the engine.
    Well, in that case, I 'ignored' opus and the build could be processed.
  7. Go to I just fixed replacing line 55 of ivp/ivp_surface_manager/ivp_compact_surface.hxx to this:
    char *base = (char *)(((intp)this) + this->offset_ledgetree_root);

    @nillerusr please could you look this PR? (https://github.com/nillerusr/source-physics/pull/3) Because it would be ok to save effort while we're building.

  8. If it appears this error: engine_spatialpartitioncpp_error2522
    Comment the lines of engine/spatialpartition.cpp 2520 to 2523 where starts #ifndef _PS3: https://github.com/nillerusr/source-engine/blob/b3ef8242db07a3dcc9dda506f714fd646f6978df/engine/spatialpartition.cpp#L2520
  9. Going to source-engine directory, execute: ./waf configure -T debug
  10. ./waf build
  11. That's all, folks! I hope you've compiled all.

I don't know what are the next steps, I wonder where the compiled stuff is and what I've to do. I've the retail game to test.

WitherOrNot commented 2 years ago

Can confirm working build with the above steps. image

I will submit a PR shortly with the fixes included.

WitherOrNot commented 2 years ago

PR has been submitted, I think we're good to close this issue.

LegendaryGuard commented 2 years ago

I think a VM (a .ova file) should be posted with this stable repository build included these contents (working packages, dependencies and compiler or builder tools). I will try reducing the number of threads to 1, RAM to 512 MB and 10~15GB HDD; for lightweight reasons.

'Cause I've tested with 2 threads CPU, 4GB RAM and 22GB HDD.

I'll look what it can be done to decrease minimum requirements.

A checkpoint of a stable build would save us headaches, effort and time. If this doesn't save for future, it could have issues like: if the packages and dependencies aren't available online, were removed or the client can't connect to the server to receive these needed resources because it has been shutdown or no longer exists.

LegendaryGuard commented 2 years ago

Opus isn't fully functional yet? Has it worked to someone?

Btw, I forgot to mention if 32 bits should be added in the README like this PR had: https://github.com/nillerusr/source-engine/pull/77#issuecomment-1194307682

In this README file commit: https://github.com/WitherOrNot/source-engine/commit/f49dcdad7d61844a205e69c81e8153824c22bf31

nillerusr commented 2 years ago

https://github.com/nillerusr/source-engine/wiki/How-to-build