Raised This Month: $51 Target: $400
 12% 

L4DToolZ Metamod plugin (l4d1 & l4d2)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 10-11-2020 , 00:41   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #11

Quote:
Originally Posted by maclarens View Post
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
Use Clang. The new gcc is not compatible with the code.
__________________
Spirit_12 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode