View Single Post
maclarens
Senior Member
Join Date: Jul 2020
Location: Kz
Old 10-11-2020 , 00:32   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1440


Debian 10 log compile l4d2
--------------------------
mkdir -p l4d2_release
ln -sf ../hl2sdk-l4d2/lib/linux/libvstdlib_srv.so
ln -sf ../hl2sdk-l4d2/lib/linux/libtier0_srv.so
gcc -I. -I../mmsource-1.10/core -I../mmsource-1.10/core/sourcehook -I../hl2sdk-l4d2/public -I../hl2sdk-l4d2/public/tier0 -I../hl2sdk-l4d2/public/tier1 -I../hl2sdk-l4d2/public/e ngine -I../hl2sdk-l4d2/public/mathlib -I../hl2sdk-l4d2/public/appframework -DSOURCE_ENGINE=9 -D__GIT_VERSION=\"1.1\" -DSE_EPISODEONE=1 -DSE_DARKMESSIAH=2 -DSE_ORANGEBOX=3 -DSE_ BLOODYGOODTIME=4 -DSE_EYE=5 -DSE_CSS=6 -DSE_ORANGEBOXVALVE=7 -DSE_LEFT4DEAD=8 -DSE_LEFT4DEAD2=9 -DSE_ALIENSWARM=10 -DSE_PORTAL2=11 -DSE_CSGO=12 -DPOSIX -Dstricmp=strcasecmp -D_ stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp -DCOMPILER_GCC -Wno-overload ed-virtual -Wno-switch -Wno-unused -msse -DSOURCEMOD_BUILD -DHAVE_STDINT_H -m32 -DNDEBUG -O2 -funroll-loops -pipe -fno-strict-aliasing -D_LINUX -mfpmath=sse -fvisibility=hidden -Wno-non-virtual-dtor -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -std=c++11 -Wall -Werror -o l4d2_release/l4dtoolz_mm.o -c l4dtoolz_mm.cpp
In file included from ../hl2sdk-l4d2/public/tier1/utlvector.h:23,
from ../hl2sdk-l4d2/public/tier1/convar.h:21,
from ../hl2sdk-l4d2/public/eiface.h:16,
from ../mmsource-1.10/core/ISmmAPI.h:46,
from ../mmsource-1.10/core/ISmmPlugin.h9,
from l4dtoolz_mm.h:4,
from l4dtoolz_mm.cpp:1:
../hl2sdk-l4d2/public/tier1/utlmemory.h: In member function ‘void CUtlMemory<T, I>::Swap(CUtlMemory<T, I>&)’:
../hl2sdk-l4d2/public/tier1/utlmemory.h30:2: error: there are no arguments to ‘V_swap’ that depend on a template parameter, so a declaration of ‘V_swap’ must be available [-f permissive]
V_swap( m_nGrowSize, mem.m_nGrowSize );
^~~~~~
../hl2sdk-l4d2/public/tier1/utlmemory.h30:2: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../hl2sdk-l4d2/public/tier1/utlmemory.h32:2: error: there are no arguments to ‘V_swap’ that depend on a template parameter, so a declaration of ‘V_swap’ must be available [-f permissive]
V_swap( m_nAllocationCount, mem.m_nAllocationCount );
^~~~~~
make: *** [l4d2_make:95: all] Error 1
maclarens is offline