Code Monkey home page Code Monkey logo

nillerusr / source-engine Goto Github PK

View Code? Open in Web Editor NEW
1.2K 36.0 179.0 201.34 MB

Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses

License: Other

C++ 79.83% Objective-C++ 0.04% Shell 0.24% C 17.78% Batchfile 0.05% Python 0.29% HTML 0.01% Perl 0.33% Visual Basic .NET 0.03% Makefile 0.09% SWIG 0.75% Scheme 0.01% OCaml 0.01% Ruby 0.01% Assembly 0.01% M4 0.01% AMPL 0.01% GLSL 0.13% C# 0.35% Roff 0.04%
game-engine source-engine half-life2 cross-platform waf

source-engine's Introduction

Source Engine

GitHub Actions Status GitHub Actions Status Discord: Discord Server

Information from wikipedia:

Source is a 3D game engine developed by Valve. It debuted as the successor to GoldSrc with Half-Life: Source in June 2004, followed by Counter-Strike: Source and Half-Life 2 later that year. Source does not have a concise version numbering scheme; instead, it was released in incremental versions

Source code is based on TF2 2018 leak. Don't use it for commercial purposes.

This project is using waf buildsystem. If you have waf-related questions look https://waf.io/book

Features:

  • Android, OSX, FreeBSD, Windows, Linux( glibc, musl ) support
  • Arm support( except windows )
  • 64bit support
  • Modern toolchains support
  • Fixed many undefined behaviours
  • Touch support( even on windows/linux/osx )
  • VTF 7.5 support
  • PBR support
  • bsp v19-v21 support( bsp v21 support is partial, portal 2 and csgo maps works fine )
  • mdl v46-49 support
  • Removed useless/unnecessary dependencies
  • Achivement system working without steam
  • Fixed many bugs
  • Serverbrowser works without steam

Current tasks

  • Rewrite materialsystem for OpenGL render
  • dxvk-native support
  • Elbrus port
  • Bink audio support( for video_bink )

How to Build?

Support me

BTC: bc1qnjq92jj9uqjtafcx2zvnwd48q89hgtd6w8a6na

ETH: 0x5d0D561146Ed758D266E59B56e85Af0b03ABAF46

XMR: 48iXvX61MU24m5VGc77rXQYKmoww3dZh6hn7mEwDaLVTfGhyBKq2teoPpeBq6xvqj4itsGh6EzNTzBty6ZDDevApCFNpsJ

source-engine's People

Contributors

arumoon avatar coderamen666 avatar dannyparker0001 avatar dimhotepus avatar er2off avatar exstrim401 avatar fluorescentciaafricanamerican avatar happydoge avatar jusicp avatar legendaryguard avatar lilmayofuksu avatar moemod avatar nillerusr avatar q4a avatar r-a-sattarov avatar sanyasho avatar steadyfield avatar tyabus avatar witherornot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

source-engine's Issues

Trace/breakpoint trap on alpine linux (musl)

Hello, I have compiled and executed the game and at the time of execution I receive a Trace/breakpoint trap.

here is the complete log

LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libfilesystem_stdio.so
SDL video target is 'x11'
SDL video target is 'x11'
This system supports the OpenGL extension GL_EXT_framebuffer_object.
This system supports the OpenGL extension GL_EXT_framebuffer_blit.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample.
This system DOES NOT support the OpenGL extension GL_APPLE_fence.
This system DOES NOT support the OpenGL extension GL_NV_fence.
This system supports the OpenGL extension GL_ARB_sync.
This system supports the OpenGL extension GL_EXT_draw_buffers2.
This system DOES NOT support the OpenGL extension GL_EXT_bindable_uniform.
This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range.
This system supports the OpenGL extension GL_ARB_map_buffer_range.
This system supports the OpenGL extension GL_ARB_vertex_buffer_object.
This system supports the OpenGL extension GL_ARB_occlusion_query.
This system DOES NOT support the OpenGL extension GL_APPLE_texture_range.
This system DOES NOT support the OpenGL extension GL_APPLE_client_storage.
This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer.
This system supports the OpenGL extension GL_ARB_vertex_array_bgra.
This system supports the OpenGL extension GL_EXT_vertex_array_bgra.
This system supports the OpenGL extension GL_ARB_framebuffer_object.
This system DOES NOT support the OpenGL extension GL_GREMEDY_string_marker.
This system supports the OpenGL extension GL_ARB_debug_output.
This system supports the OpenGL extension GL_EXT_direct_state_access.
This system DOES NOT support the OpenGL extension GL_NV_bindless_texture.
This system DOES NOT support the OpenGL extension GL_AMD_pinned_memory.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample_blit_scaled.
This system supports the OpenGL extension GL_EXT_texture_sRGB_decode.
This system DOES NOT support the OpenGL extension GL_NVX_gpu_memory_info.
This system DOES NOT support the OpenGL extension GL_ATI_meminfo.
This system supports the OpenGL extension GL_EXT_texture_compression_s3tc.
This system supports the OpenGL extension GL_EXT_texture_compression_dxt1.
This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt3.
This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt5.
This system supports the OpenGL extension GL_ARB_buffer_storage.
This system supports the OpenGL extension GLX_EXT_swap_control_tear.
OpenGL: Mesa DRI Intel(R) HD Graphics 2000 (SNB GT1) 3.0 Mesa 21.2.6 (git-53b2b224dc) (3.0.0)
GL_NV_bindless_texture: DISABLED
GL_AMD_pinned_memory: DISABLED
GL_ARB_buffer_storage: AVAILABLE
GL_EXT_texture_sRGB_decode: AVAILABLE
LoadLibrary: pModule: libengine.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libengine.so
LoadLibrary: pModule: libinputsystem.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libinputsystem.so
LoadLibrary: pModule: libmaterialsystem.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libmaterialsystem.so
LoadLibrary: pModule: libdatacache.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libdatacache.so
LoadLibrary: pModule: libstudiorender.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libstudiorender.so
LoadLibrary: pModule: libvphysics.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libvphysics.so
LoadLibrary: pModule: libvideo_services.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libvideo_services.so
LoadLibrary: pModule: libvguimatsurface.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libvguimatsurface.so
LoadLibrary: pModule: libvgui2.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libvgui2.so
LoadLibrary: pModule: libsourcevr.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libsourcevr.so
LoadLibrary: pModule: sourcevr.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/sourcevr.so
AppFramework : Unable to load module sourcevr.so!
LoadLibrary: pModule: lib/home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libfilesystem_stdio.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/lib/home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libfilesystem_stdio.so
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libfilesystem_stdio.so
LoadLibrary: pModule: shaderapidx9.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libshaderapidx9.so
LoadLibrary: pModule: video_bink, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/video_bink
LoadLibrary: pModule: video_webm, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/video_webm
Using Breakpad minidump system. Version: 5377866 AppID: 220
filesystem BaseDir: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine
Did not detect any valid joysticks.
GL_NVX_gpu_memory_info: UNAVAILABLE
GL_ATI_meminfo: UNAVAILABLE
GL_MAX_SAMPLES_EXT: 4
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/stdshader_dbg.so
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libstdshader_dbg.so
LoadLibrary: pModule: libstdshader_dbg.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libstdshader_dbg.so
LoadLibrary: pModule: stdshader_dbg.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/stdshader_dbg.so
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/stdshader_dx6.so
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libstdshader_dx6.so
LoadLibrary: pModule: libstdshader_dx6.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libstdshader_dx6.so
LoadLibrary: pModule: stdshader_dx6.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/stdshader_dx6.so
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/stdshader_dx7.so
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libstdshader_dx7.so
LoadLibrary: pModule: libstdshader_dx7.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libstdshader_dx7.so
LoadLibrary: pModule: stdshader_dx7.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/stdshader_dx7.so
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/stdshader_dx8.so
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libstdshader_dx8.so
LoadLibrary: pModule: libstdshader_dx8.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libstdshader_dx8.so
LoadLibrary: pModule: stdshader_dx8.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/stdshader_dx8.so
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/stdshader_dx9.so
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libstdshader_dx9.so
IDirect3DDevice9::Create: BackBufWidth: 1440, BackBufHeight: 900, D3DFMT: 3, BackBufCount: 1, MultisampleType: 0, MultisampleQuality: 0
GL sampler object usage: DISABLED
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/vaudio_minimp3
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libvaudio_minimp3
Shader 'shaders\fxc\vertexlit_and_unlit_generic_vs20.vcs' - Couldn't load combo 49152 of shader (dyn=192)
Trace/breakpoint trap

and the output of gdb

Reading symbols from ./hl2_launcher...
(gdb) run
Starting program: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/hl2_launcher 
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libfilesystem_stdio.so
[New LWP 7147]
[New LWP 7148]
SDL video target is 'x11'
SDL video target is 'x11'
This system supports the OpenGL extension GL_EXT_framebuffer_object.
This system supports the OpenGL extension GL_EXT_framebuffer_blit.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample.
This system DOES NOT support the OpenGL extension GL_APPLE_fence.
This system DOES NOT support the OpenGL extension GL_NV_fence.
This system supports the OpenGL extension GL_ARB_sync.
This system supports the OpenGL extension GL_EXT_draw_buffers2.
This system DOES NOT support the OpenGL extension GL_EXT_bindable_uniform.
This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range.
This system supports the OpenGL extension GL_ARB_map_buffer_range.
This system supports the OpenGL extension GL_ARB_vertex_buffer_object.
This system supports the OpenGL extension GL_ARB_occlusion_query.
This system DOES NOT support the OpenGL extension GL_APPLE_texture_range.
This system DOES NOT support the OpenGL extension GL_APPLE_client_storage.
This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer.
This system supports the OpenGL extension GL_ARB_vertex_array_bgra.
This system supports the OpenGL extension GL_EXT_vertex_array_bgra.
This system supports the OpenGL extension GL_ARB_framebuffer_object.
This system DOES NOT support the OpenGL extension GL_GREMEDY_string_marker.
This system supports the OpenGL extension GL_ARB_debug_output.
This system supports the OpenGL extension GL_EXT_direct_state_access.
This system DOES NOT support the OpenGL extension GL_NV_bindless_texture.
This system DOES NOT support the OpenGL extension GL_AMD_pinned_memory.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample_blit_scaled.
This system supports the OpenGL extension GL_EXT_texture_sRGB_decode.
This system DOES NOT support the OpenGL extension GL_NVX_gpu_memory_info.
This system DOES NOT support the OpenGL extension GL_ATI_meminfo.
This system supports the OpenGL extension GL_EXT_texture_compression_s3tc.
This system supports the OpenGL extension GL_EXT_texture_compression_dxt1.
This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt3.
This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt5.
This system supports the OpenGL extension GL_ARB_buffer_storage.
This system supports the OpenGL extension GLX_EXT_swap_control_tear.
OpenGL: Mesa DRI Intel(R) HD Graphics 2000 (SNB GT1) 3.0 Mesa 21.2.6 (git-53b2b224dc) (3.0.0)
GL_NV_bindless_texture: DISABLED
GL_AMD_pinned_memory: DISABLED
GL_ARB_buffer_storage: AVAILABLE
GL_EXT_texture_sRGB_decode: AVAILABLE
LoadLibrary: pModule: libengine.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libengine.so
LoadLibrary: pModule: libinputsystem.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libinputsystem.so
LoadLibrary: pModule: libmaterialsystem.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libmaterialsystem.so
[New LWP 7149]
[New LWP 7150]
LoadLibrary: pModule: libdatacache.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libdatacache.so
LoadLibrary: pModule: libstudiorender.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libstudiorender.so
LoadLibrary: pModule: libvphysics.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libvphysics.so
LoadLibrary: pModule: libvideo_services.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libvideo_services.so
LoadLibrary: pModule: libvguimatsurface.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libvguimatsurface.so
LoadLibrary: pModule: libvgui2.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libvgui2.so
LoadLibrary: pModule: libsourcevr.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libsourcevr.so
LoadLibrary: pModule: sourcevr.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/sourcevr.so
AppFramework : Unable to load module sourcevr.so!
LoadLibrary: pModule: lib/home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libfilesystem_stdio.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/lib/home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libfilesystem_stdio.so
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libfilesystem_stdio.so
LoadLibrary: pModule: shaderapidx9.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libshaderapidx9.so
LoadLibrary: pModule: video_bink, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/video_bink
LoadLibrary: pModule: video_webm, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/video_webm
Using Breakpad minidump system. Version: 5377866 AppID: 220
filesystem BaseDir: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine
Did not detect any valid joysticks.
GL_NVX_gpu_memory_info: UNAVAILABLE
GL_ATI_meminfo: UNAVAILABLE
GL_MAX_SAMPLES_EXT: 4
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/stdshader_dbg.so
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libstdshader_dbg.so
LoadLibrary: pModule: libstdshader_dbg.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libstdshader_dbg.so
LoadLibrary: pModule: stdshader_dbg.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/stdshader_dbg.so
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/stdshader_dx6.so
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libstdshader_dx6.so
LoadLibrary: pModule: libstdshader_dx6.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libstdshader_dx6.so
LoadLibrary: pModule: stdshader_dx6.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/stdshader_dx6.so
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/stdshader_dx7.so
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libstdshader_dx7.so
LoadLibrary: pModule: libstdshader_dx7.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libstdshader_dx7.so
LoadLibrary: pModule: stdshader_dx7.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/stdshader_dx7.so
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/stdshader_dx8.so
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libstdshader_dx8.so
LoadLibrary: pModule: libstdshader_dx8.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libstdshader_dx8.so
LoadLibrary: pModule: stdshader_dx8.so, path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/stdshader_dx8.so
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/stdshader_dx9.so
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libstdshader_dx9.so
IDirect3DDevice9::Create: BackBufWidth: 1440, BackBufHeight: 900, D3DFMT: 3, BackBufCount: 1, MultisampleType: 0, MultisampleQuality: 0
GL sampler object usage: DISABLED
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/vaudio_minimp3
LoadLibrary: path: /home/diego/Proyectos/GIT/bin/source-engine/build/source-engine/bin/libvaudio_minimp3
[New LWP 7156]
[New LWP 7157]
Shader 'shaders\fxc\vertexlit_and_unlit_generic_vs20.vcs' - Couldn't load combo 49152 of shader (dyn=192)

Thread 1 "hl2_launcher" received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff7fad3f1 in setjmp () from /lib/ld-musl-x86_64.so.1
(gdb) backtrace
#0  0x00007ffff7fad3f1 in setjmp () from /lib/ld-musl-x86_64.so.1
#1  0x00007ffff7fad54c in raise () from /lib/ld-musl-x86_64.so.1
#2  0x0000000ff0783ee0 in ?? ()
#3  0x00007fffea77e000 in ?? ()
#4  0x00007fffebbb9030 in ?? ()
#5  0x00007fffffffa070 in ?? ()
#6  0x00007ffff06cf9ee in IDirect3DDevice9::SetPixelShader (
    this=<error reading variable: Cannot access memory at address 0xfffffffffffffff8>, 
    pShader=<error reading variable: Cannot access memory at address 0xfffffffffffffff0>) at ../public/togl/linuxwin/dxabstract.h:1298
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) 

Unlock mat_picmip.

Valve blocked this cvar at [-1;4] but unlocked it by July 7th. And if you put a value of -10, then it will increase the quality of the texture. Now you have to unlock it in your engine, because good graphics is a key to success.
Proof:
800px-Tf2compare1pp2

Compiling hl2dm launcher, something went wrong

My friend compiled a hl2dm launcher today and built it from this repository, but something went wrong. There are bugs in the font display in the game, including the game screen becoming darker, but at the same time some lighting effects rendering problems have been fixed, I hope the next This commit fixes these issues.
Screenshot_20220210-151822
Screenshot_20220210-151621
Screenshot_20220210-151012

Does not work on Android 12

Hey,

I think there is a file permission error. Whenever I set the path to the files folder, the app crashes.
It also does not detect any games (HL2).

I would have a look myself, but I use a Mac and see it is not supported with the waf tool.
The device I tested on is a Samsung S22 Ultra.

Thanks

Build Issues(master branch)

Checking for 'gcc' (C compiler)
find program=['gcc', 'cc'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/usr/local/bin/cmake/bin', '/root/bin'] var='CC' -> ['/usr/local/bin/android-ndk-r10e/toolchains/arm-linux-andro
ideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc']from /root/source-engine: Program ['/usr/local/bin/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc'] is not executable
not found

Checking for 'clang' (C compiler)
find program=['clang'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/usr/local/bin/cmake/bin', '/root/bin'] var='CC' -> ['/usr/local/bin/android-ndk-r10e/toolchains/arm-linux-androidea
bi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc']from /root/source-engine: Program ['/usr/local/bin/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc'] is not executable
not found

Checking for 'icc' (C compiler)
find program=['icc', 'ICL'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/usr/local/bin/cmake/bin', '/root/bin'] var='CC' -> ['/usr/local/bin/android-ndk-r10e/toolchains/arm-linux-andr
oideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc']from /root/source-engine: Program ['/usr/local/bin/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc'] is not executable
not found
from /root/source-engine: could not configure a C compiler!


Linux used: CentOS7 x86_64
Build parameter: ./waf configure -T debug --android=armeabi-v7a-hard,4.9,21
Using the Lastest master branch.

I already installed gcc, g++, and clang from yum, but the waf always can't find them!
Same Problem on Ubuntu 20.04 x86_64!
image

Help needed, build fails using instricrions latest arch linux machine (vm)

Hello, I install git, run the commands from instruction readme but it fails. I pastet the commandline output below, hope it helps:
[epicer223@desktopvm]: ~>$ git clone https://github.com/nillerusr/source-engine
Cloning into 'source-engine'...
remote: Enumerating objects: 27353, done.
remote: Counting objects: 100% (415/415), done.
remote: Compressing objects: 100% (210/210), done.
remote: Total 27353 (delta 207), reused 299 (delta 203), pack-reused 26938
Receiving objects: 100% (27353/27353), 171.46 MiB | 2.08 MiB/s, done.
Resolving deltas: 100% (8173/8173), done.
Updating files: 100% (14430/14430), done.
[epicer223@desktopvm]: ~>$ git submodule init && git submodule update
fatal: not a git repository (or any of the parent directories): .git
[epicer223@desktopvm]: ~>$ ./waf configure -T debug
bash: ./waf: No such file or directory
[epicer223@desktop]: ~>$ ./waf build
bash: ./waf: No such file or directory
[epicer223@desktopvm]: ~>$

Build error

./createallprojects Остановилось на

Parsing: havana_constraints.vpc
ERROR: Cannot open havana_constraints.vpc
~/source-engine

possible support ps vita portable console?

В последние годы на консоль ps vita было портировано много игр с android , разработчиком https://github.com/Rinnegatamante и других, собранных из исходников с github, будет ли поддержка сборки vpk при помощи(vitasdk, vitaGL) т.к hl 1 уже портировали при помощи xash3d, многие желают запустить и вторую часть?

Build failed: task in 'server' failed

Hi. While I was compiling the engine I got an error:

Build failed
 -> task in 'server' failed with exit status 1:
	{task 139762912522896: cxx ai_allymanager.cpp -> ai_allymanager.cpp.11.o}
['/usr/bin/g++', '-m32', '-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', '-faligned-new', '-fPIC', '-Igame/server', '-I../game/server', '-Igame/shared', '-I../game/shared', '-Iutils/common', '-I../utils/common', '-Igame/shared/econ', '-I../game/shared/econ', '-Igame/server/NextBot', '-I../game/server/NextBot', '-Icommon', '-I../common', '-Ipublic/tier0', '-I../public/tier0', '-Ipublic/tier1', '-I../public/tier1', '-Ipublic', '-I../public', '-Igame/server', '-I../game/server', '-Igame/shared', '-I../game/shared', '-Igame/shared/econ', '-I../game/shared/econ', '-Igame/server/NextBot', '-I../game/server/NextBot', '-Igame/shared/hl2', '-I../game/shared/hl2', '-Igame/server/hl2', '-I../game/server/hl2', '-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', '-DHAVE_OPUS=1', '-DGAME_DLL', '-DVECTOR', '-DVERSION_SAFE_STEAM_API_INTERFACES', '-Dsprintf=use_Q_snprintf_instead_of_sprintf', '-Dstrncpy=use_Q_strncpy_instead', '-D_snprintf=use_Q_snprintf_instead', '-DSWDS', '-DHL2_DLL', '-DUSES_SAVERESTORE', '../game/server/hl2/ai_allymanager.cpp', '-c', '-o/home/frolleks/Git/source-engine/build/game/server/hl2/ai_allymanager.cpp.11.o']

Is there a way to solve this?

Build failing on latest gcc

Outputs from configure and build commands are:
./waf configure -T debug > configure.log 2>&1
./waf build -v > compile.log 2>&1

Error is

../engine/gl_matsysiface.cpp: In function ‘void DebugDrawLightmapAtCrossHair()’:
../engine/gl_matsysiface.cpp:975:31: error: ordered comparison of pointer with integer zero (‘SurfaceHandle_t’ {aka ‘msurface2_t*’} and ‘int’)
  975 |         if( s_CrossHairSurfID <= 0 )
      |             ~~~~~~~~~~~~~~~~~~^~~~
In file included from ../public/tier1/utlsymbol.h:17,
                 from ../engine/render_pch.h:13,
                 from ../engine/gl_matsysiface.cpp:12:

gcc clang icc : not found

log:

Checking for 'gcc' (C compiler)
find program=['gcc', 'cc'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games', '/usr/local/games', '/snap/bin', '/usr/bin'] var='CC' -> ['/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc']
from /home/bill/source-engine: Program ['/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc'] is not executable
not found

Checking for 'clang' (C compiler)
find program=['clang'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games', '/usr/local/games', '/snap/bin', '/usr/bin'] var='CC' -> ['/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc']
from /home/bill/source-engine: Program ['/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc'] is not executable
not found

Checking for 'icc' (C compiler)
find program=['icc', 'ICL'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games', '/usr/local/games', '/snap/bin', '/usr/bin'] var='CC' -> ['/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc']
from /home/bill/source-engine: Program ['/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc'] is not executable
not found

what should i do?

Build error

log is here:

kubuntu@kubuntu-User ~/Р/r/source-engine (master)> ./waf build
<waflib.extras.clang_compilation_database.ClangDbContext object at 0x7f458685ff50>
<waflib.extras.clang_compilation_database.ClangDbContext object at 0x7f458685ff50>
<waflib.extras.clang_compilation_database.ClangDbContext object at 0x7f458685ff50>
<waflib.extras.clang_compilation_database.ClangDbContext object at 0x7f458685ff50>
<waflib.extras.clang_compilation_database.ClangDbContext object at 0x7f458685ff50>
<waflib.extras.clang_compilation_database.ClangDbContext object at 0x7f458685ff50>
Build commands will be stored in build/compile_commands.json
Traceback (most recent call last):
File "/home/kubuntu/Рабочий стол/repos/source-engine/.waf-2.0.22-a21fa92a45548e4c642deabae50eb159/waflib/Scripting.py", line 163, in waf_entry_point
run_commands()
File "/home/kubuntu/Рабочий стол/repos/source-engine/.waf-2.0.22-a21fa92a45548e4c642deabae50eb159/waflib/Scripting.py", line 259, in run_commands
ctx = run_command(cmd_name)
File "/home/kubuntu/Рабочий стол/repos/source-engine/.waf-2.0.22-a21fa92a45548e4c642deabae50eb159/waflib/Scripting.py", line 243, in run_command
ctx.execute()
File "/home/kubuntu/Рабочий стол/repos/source-engine/.waf-2.0.22-a21fa92a45548e4c642deabae50eb159/waflib/Scripting.py", line 586, in execute
return execute_method(self)
File "/home/kubuntu/Рабочий стол/repos/source-engine/.waf-2.0.22-a21fa92a45548e4c642deabae50eb159/waflib/Build.py", line 235, in execute
self.execute_build()
File "/home/kubuntu/Рабочий стол/repos/source-engine/.waf-2.0.22-a21fa92a45548e4c642deabae50eb159/waflib/extras/clang_compilation_database.py", line 133, in new_execute_build
Scripting.run_command('clangdb')
File "/home/kubuntu/Рабочий стол/repos/source-engine/.waf-2.0.22-a21fa92a45548e4c642deabae50eb159/waflib/Scripting.py", line 243, in run_command
ctx.execute()
File "/home/kubuntu/Рабочий стол/repos/source-engine/.waf-2.0.22-a21fa92a45548e4c642deabae50eb159/waflib/extras/clang_compilation_database.py", line 119, in execute
self.write_compilation_database()
File "/home/kubuntu/Рабочий стол/repos/source-engine/.waf-2.0.22-a21fa92a45548e4c642deabae50eb159/waflib/extras/clang_compilation_database.py", line 47, in write_compilation_database
root = database_file.read_json()
File "/home/kubuntu/Рабочий стол/repos/source-engine/.waf-2.0.22-a21fa92a45548e4c642deabae50eb159/waflib/Node.py", line 244, in read_json
return json.loads(self.read(encoding=encoding), object_pairs_hook=object_pairs_hook)
File "/usr/lib/python2.7/json/init.py", line 352, in loads
return cls(encoding=encoding, **kw).decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 380, in raw_decode
obj, end = self.scan_once(s, idx)
File "/home/kubuntu/Рабочий стол/repos/source-engine/.waf-2.0.22-a21fa92a45548e4c642deabae50eb159/waflib/Node.py", line 240, in object_pairs
return dict((str(pair[0]), convert(pair[1])) for pair in pairs)
File "/home/kubuntu/Рабочий стол/repos/source-engine/.waf-2.0.22-a21fa92a45548e4c642deabae50eb159/waflib/Node.py", line 240, in
return dict((str(pair[0]), convert(pair[1])) for pair in pairs)
File "/home/kubuntu/Рабочий стол/repos/source-engine/.waf-2.0.22-a21fa92a45548e4c642deabae50eb159/waflib/Node.py", line 233, in convert
return [convert(element) for element in value]
File "/home/kubuntu/Рабочий стол/repos/source-engine/.waf-2.0.22-a21fa92a45548e4c642deabae50eb159/waflib/Node.py", line 235, in convert
return str(value)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 16-22: ordinal not in range(128)

Build Instructions for Big Surr and Windows 10

I was wondering if we could get build instruction for macOS Big Surr and Windows 10 because it isn't quite obvious how to do so because there are several dependencies and prereq's required to get it working.

Errors when I'm trying to compile

Error 1 error LNK1104: cannot open file '..\lib\public\ftol3.obj'

I tried to compile datacache.dll or dedicated.dll, I don't know why it happens

Build Configure is failed

➜ source-engine git:(master) ./waf configure -T debug
Setting top to : /home/desktop/Рабочий стол/source/srceng-android/source-engine
Setting out to : /home/desktop/Рабочий стол/source/srceng-android/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 : 2c6669f
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 : no
Compiler can't create 32-bit code!
(complete log in /home/desktop/Рабочий стол/source/srceng-android/source-engine/build/config.log)
➜ source-engine git:(master)

Program received signal SIGILL, Illegal instruction.

I literally have no idea what causes this error.
This happened on my VPS(Ubuntu 20.04) with dedicated build.

Breakpoint 5, CKeyValuesSystem::CKeyValuesSystem (this=0xf7a762a0 <g_KeyValuesSystem>) at ../vstdlib/KeyValuesSystem.cpp:124
124		m_Strings.Init( 4*1024*1024, 64*1024, 0, 4 );

Program received signal SIGILL, Illegal instruction.
CMemoryStack::Init (this=0xf7a762a8 <g_KeyValuesSystem+8>, maxSize=4194304, commitSize=65536, initialCommit=0, alignment=4) at ../tier1/memstack.cpp:117
117		m_pBase = (byte *)MemAlloc_AllocAligned( m_maxSize, alignment ? alignment : 1 );

Program terminated with signal SIGILL, Illegal instruction.
The program no longer exists.

image

Build windows branch. ERROR

Error build with steam_api.cpp https://github.com/nillerusr/source-thirdparty/blob/master/StubSteamAPI/steam_api.cpp

11:14:02 runner ['C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\VC\\Tools\\MSVC\\14.20.27508\\bin\\HostX86\\x86\\CL.exe', '/Fd:C:\\Users\\LakoMoor\\Desktop\\rols\\FocusNavGroup.cpp.37.pdb', '/nologo', '/nologo', '/D_USING_V110_SDK71_', '/Zi', '/Zc:threadSafeInit-', '/Od', '/MTd', '/IC:\\Users\\LakoMoor\\Desktop\\source-engine-windows/fp:fast', '/Zc:forScope', '/Zc:wchar_t', '/GR', '/TP', '/Ivgui2\\vgui_controls', '/I..\\vgui2\\vgui_controls', '/Ipublic', '/I..\\public', '/Ipublic\\tier0', '/I..\\public\\tier0'I..\\..\\..\\..\\..\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\VC\\Tools\\MSVC\\14.20.27508\\ATLMFC\\include', '/I..\\..\\..\\..\\..\\Program Files (x86)\\Miools\\MSVC\\14.20.27508\\include', '/I..\\..\\..\\..\\..\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17763.0\\ucrt', '/I..\\..\\..\\..\\..\\Program Files (x86)\\Windows .\\..\\..\\..\\..\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17763.0\\um', '/I..\\..\\..\\..\\..\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17763.0\\winrt', ndows Kits\\10\\include\\10.0.17763.0\\cppwinrt', '/I..\\common', '/DWIN32=1', '/D_WIN32=1', '/D_WINDOWS', '/D_DLL_EXT=.dll', '/D_CRT_SECURE_NO_DEPRECATE', '/D_CRT_NONSTDC_NO_DEPR/D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH', '/D_ALLOW_MSC_VER_MISMATCH', '/DNO_X360_XDK', '/DDEBUG', '/D_DEBUG', '/DCOMPILER_MSVC=1', '/DCOMPILER_MSVC32=1', '..\\vgui2\\vgui_controlsrs\\LakoMoor\\Desktop\\source-engine-windows\\build\\vgui2\\vgui_controls\\FocusNavGroup.cpp.37.o']
steam_api.cpp
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): error C2448: '__attribute__': function-style initializer appears to be a function definit
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(11): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(11): error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(11): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(11): error C2448: '__attribute__': function-style initializer appears to be a function defini
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(15): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(15): error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(15): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(15): error C2448: '__attribute__': function-style initializer appears to be a function defini
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(19): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(19): error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(19): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(19): error C2448: '__attribute__': function-style initializer appears to be a function defini
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(23): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(23): error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(23): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(23): error C2448: '__attribute__': function-style initializer appears to be a function defini
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(27): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(27): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(27): error C2448: '__attribute__': function-style initializer appears to be a function defini
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(31): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(31): error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(31): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(31): error C2448: '__attribute__': function-style initializer appears to be a function defini
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(35): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(35): error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(35): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(35): error C2448: '__attribute__': function-style initializer appears to be a function defini
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(39): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(39): error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(39): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(39): error C2448: '__attribute__': function-style initializer appears to be a function defini
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(42): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(42): error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(42): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(42): error C2448: '__attribute__': function-style initializer appears to be a function defini
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(46): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(46): error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(46): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(46): error C2448: '__attribute__': function-style initializer appears to be a function defini
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(50): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(50): error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(50): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(50): error C2448: '__attribute__': function-style initializer appears to be a function defini
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(54): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(54): error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(54): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(54): error C2448: '__attribute__': function-style initializer appears to be a function defini
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(58): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(58): error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(58): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(58): error C2448: '__attribute__': function-style initializer appears to be a function defini
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(62): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(62): error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(62): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(62): error C2448: '__attribute__': function-style initializer appears to be a function defini
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(66): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(66): error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(66): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(66): error C2448: '__attribute__': function-style initializer appears to be a function defini
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(69): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(69): error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(69): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(69): error C2448: '__attribute__': function-style initializer appears to be a function defini
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(73): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(73): error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(73): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(73): error C2059: syntax error: 'const'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(73): error C2143: syntax error: missing ';' before '{'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(73): error C2447: '{': missing function header (old-style formal list?)
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(77): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(77): error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(77): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(77): error C2448: '__attribute__': function-style initializer appears to be a function defini
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(81): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(81): error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(81): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(81): error C2448: '__attribute__': function-style initializer appears to be a function defini
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(85): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(85): error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(85): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(85): error C2448: '__attribute__': function-style initializer appears to be a function defini
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(89): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(89): error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(89): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(89): error C2448: '__attribute__': function-style initializer appears to be a function defini
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(93): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(93): error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(93): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(93): error C2448: '__attribute__': function-style initializer appears to be a function defini
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(97): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(97): error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(97): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(97): error C2448: '__attribute__': function-style initializer appears to be a function defini
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(101): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(101): error C4430: missing type specifier - int assumed. Note: C++ does not support default-i
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(101): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(101): error C2448: '__attribute__': function-style initializer appears to be a function defin
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(105): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(105): error C4430: missing type specifier - int assumed. Note: C++ does not support default-i
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(105): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(105): error C2448: '__attribute__': function-style initializer appears to be a function defin
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(109): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(109): error C4430: missing type specifier - int assumed. Note: C++ does not support default-i
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(109): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(109): error C2448: '__attribute__': function-style initializer appears to be a function defin
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(113): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(113): error C4430: missing type specifier - int assumed. Note: C++ does not support default-i
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(113): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(113): error C2448: '__attribute__': function-style initializer appears to be a function defin
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(117): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(117): error C4430: missing type specifier - int assumed. Note: C++ does not support default-i
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(117): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(117): error C2448: '__attribute__': function-style initializer appears to be a function defin
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(121): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(121): error C4430: missing type specifier - int assumed. Note: C++ does not support default-i
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(121): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(121): error C2448: '__attribute__': function-style initializer appears to be a function defin
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(125): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(125): error C4430: missing type specifier - int assumed. Note: C++ does not support default-i
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(125): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(125): error C2448: '__attribute__': function-style initializer appears to be a function defin
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(129): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(129): error C4430: missing type specifier - int assumed. Note: C++ does not support default-i
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(129): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(129): error C2448: '__attribute__': function-style initializer appears to be a function defin
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(133): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(133): error C4430: missing type specifier - int assumed. Note: C++ does not support default-i
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(133): error C2374: '__attribute__': redefinition; multiple initialization
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(7): note: see declaration of '__attribute__'
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(133): error C2448: '__attribute__': function-style initializer appears to be a function defin
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(137): error C3861: 'visibility': identifier not found
C:\Users\LakoMoor\Desktop\source-engine-windows\thirdparty\StubSteamAPI\steam_api.cpp(137): fatal error C1003: error count exceeds 100; stopping compilation

Build failed

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../libSDL2.so when searching for -lSDL2
/usr/bin/ld: skipping incompatible /usr/lib/libSDL2.so when searching for -lSDL2
/usr/bin/ld: cannot find -lSDL2: No such file or directory
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../libSDL2.so when searching for -lSDL2
/usr/bin/ld: skipping incompatible /usr/lib/libSDL2.so when searching for -lSDL2
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../libjpeg.so when searching for -ljpeg
/usr/bin/ld: skipping incompatible /usr/lib/libjpeg.so when searching for -ljpeg
/usr/bin/ld: cannot find -ljpeg: No such file or directory
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../libjpeg.so when searching for -ljpeg
/usr/bin/ld: skipping incompatible /usr/lib/libjpeg.so when searching for -ljpeg
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../libopenal.so when searching for -lopenal
/usr/bin/ld: skipping incompatible /usr/lib/libopenal.so when searching for -lopenal
/usr/bin/ld: cannot find -lopenal: No such file or directory
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../libopenal.so when searching for -lopenal
/usr/bin/ld: skipping incompatible /usr/lib/libopenal.so when searching for -lopenal
collect2: error: ld returned 1 exit status

My system:

                   -`                    magicman@magicpc 
                  .o+`                   ---------------- 
                 `ooo/                   OS: Arch Linux x86_64 
                `+oooo:                  Host: M68MT-S2 
               `+oooooo:                 Kernel: 5.17.8-arch1-1 
               -+oooooo+:                Uptime: 18 mins 
             `/:-:++oooo+:               Packages: 1006 (pacman) 
            `/++++/+++++++:              Shell: bash 5.1.16 
           `/++++++++++++++:             Resolution: 1920x1080 
          `/+++ooooooooooooo/`           DE: Xfce 4.16 
         ./ooosssso++osssssso+`          WM: Xfwm4 
        .oossssso-````/ossssss+`         WM Theme: Default 
       -osssssso.      :ssssssso.        Theme: Adwaita [GTK2], Breeze [GTK3] 
      :osssssss/        osssso+++.       Icons: Adwaita [GTK2], breeze-dark [GT 
     /ossssssss/        +ssssooo/-       Terminal: xfce4-terminal 
   `/ossssso+/:-        -:/+osssso+-     Terminal Font: Monospace 12 
  `+sso+:-`                 `.-/+oso:    CPU: AMD FX-6300 (6) @ 3.500GHz 
 `++:.                           `-/+/   GPU: NVIDIA GeForce GT 1030 
 .`                                 `/   Memory: 1220MiB / 11952MiB 

Full log
out.txt

Do not works on Nvidia Shield 2019 Pro

Hello,

First, hope you've got an happy christmas :)

It seems it do not works on Nvidia Shield Pro 2019.
App is able to found Obb file, but after launching, i stay on a black screen.
Tested with same source on my Xiaomi Phone with success.

Could you tell me what i can try/do to get it work ?

VPC missing a couple of files

createallprojects.bat wont do anything due to missing vpcs, also when you do get it to make the sln (via excluding those vpcs) its uncompilable

Build Error


image

Linux used: CentOS7 x86_64
Build parameter: ./waf configure -T debug --android=armeabi-v7a-hard,4.9,21
Using the Lastest master branch.
Same Error on my Ubuntu 20.04 x86_64!

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

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?

Couldn't load combo of shader

I've successfully built the engine, but it doesn't start:

Shader 'shaders\fxc\vertexlit_and_unlit_generic_vs20.vcs' - Couldn't load combo 49152 of shader (dyn=192)

How can I fix it?

Build issues on Raspberry Pi OS

After installing SDL2 and the dev versions of some other programs, I was able to successfully run the './waf configure -T debug' terminal command on my Raspberry Pi 400 running Raspberry Pi OS, giving the following config.log file that can be found here. However, subsequently running 'sudo ./waf build > output.txt' would result in the line "Build failed
-> task in 'tier2' failed with exit status 1 (run with -v to display more information)" repeated four times and this file, or these errors if running the command with the -v parameter.

How would I fix this build error and ones I'll inevitably run into after?

help

Build failed
-> task in 'client' failed with exit status 1:
{task 140456212640464: cxx achievements_cs.cpp -> achievements_cs.cpp.9.o}
['/home/nn/andk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++', '--sysroot=/home/nn/andk/android-ndk-r10e/platforms/android-21/arch-arm', '-I/home/nn/andk/android-ndk-r10e/sources/cxx-stl/stlport/stlport', '-I/home/nn/andk/android-ndk-r10e/sources/android/support/include', '-DANDROID', '-D__ANDROID__', '-mthumb', '-mfpu=neon', '-mcpu=cortex-a9', '-DHAVE_EFFICIENT_UNALIGNED_ACCESS', '-DVECTORIZE_SINCOS', '-mvectorize-with-neon-quad', '-D_NDK_MATH_NO_SOFTFP=1', '-mfloat-abi=hard', '-DLOAD_HARDFP', '-DSOFTFP_LINK', '-g', '-fvisibility=hidden', '-O0', '-fPIC', '-L/home/nn/source-engine-togles3/lib/android/armeabi-v7a/', '-I/home/nn/source-engine-togles3/thirdparty/curl/include', '-I/home/nn/source-engine-togles3/thirdparty/SDL', '-I/home/nn/source-engine-togles3/thirdparty/openal-soft/include/', '-I/home/nn/source-engine-togles3/thirdparty/fontconfig', '-I/home/nn/source-engine-togles3/thirdparty/freetype/include', '-llog', '-fsigned-char', '-mcpu=cortex-a15', '-mtune=cortex-a15', '-std=c++11', '-fpermissive', '-pipe', '-Wall', '-fdiagnostics-color=always', '-Wcast-align', '-Wuninitialized', '-Winit-self', '-Wstrict-aliasing', '-fPIC', '-Igame/client', '-I../game/client', '-Igame/client/game_controls', '-I../game/client/game_controls', '-Icommon', '-I../common', '-Ipublic', '-I../public', '-Ipublic/tier0', '-I../public/tier0', '-Ipublic/tier1', '-I../public/tier1', '-Ivgui2/include', '-I../vgui2/include', '-Ivgui2/controls', '-I../vgui2/controls', '-Igame/shared', '-I../game/shared', '-Igame/client', '-I../game/client', '-Igame/shared', '-I../game/shared', '-Igame/client/game_controls', '-I../game/client/game_controls', '-Ithirdparty/sixensesdk/include', '-I../thirdparty/sixensesdk/include', '-Igame/shared/cstrike/control', '-I../game/shared/cstrike/control', '-Igame/client/cstrike', '-I../game/client/cstrike', '-Igame/client/cstrike/control', '-I../game/client/cstrike/control', '-Igame/client/cstrike/VGUI', '-I../game/client/cstrike/VGUI', '-Igame/shared/cstrike', '-I../game/shared/cstrike', '-I../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-DANDROID=1', '-D_ANDROID=1', '-DLINUX=1', '-D_LINUX=1', '-DPOSIX=1', '-D_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.so', '-DNDEBUG', '-DCOMPILER_GCC=1', '-DNO_STRING_T', '-DCLIENT_DLL', '-DVECTOR', '-DVERSION_SAFE_STEAM_API_INTERFACES', '-Dstrncpy=use_Q_strncpy_instead', '-D_snprintf=use_Q_snprintf_instead', '-DCSTRIKE_DLL', '-DNEXT_BOT', '../game/shared/cstrike/achievements_cs.cpp', '-c', '-o/home/nn/source-engine-togles3/build/game/shared/cstrike/achievements_cs.cpp.9.o']

CD Key

Из-за отсутствия CD Key нельзя запустить мультиплеер

Build Failed

Build failed -> task in 'vaudio_opus' failed with exit status 1: {task 140627138532944: cxxshlib voiceencoder_opus.cpp.8.o,voice_codec_frame.cpp.8.o,interface.cpp.8.o -> libvaudio_opus.so} ['/usr/bin/g++', '-m32', '-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/magicmanwithlinux/source-engine/build/engine/voice_codecs/opus/libvaudio_opus.so', '-Wl,-Bstatic', '-Ltier1', '-ltier1', '-Wl,-Bdynamic', '-Lvstdlib', '-Ltier0', '-lvstdlib', '-ltier0', '-ldl', '-lm', '-lopus']

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.