Open Owned67 opened 10 years ago
hello,
cd ~ && mkdir -p Attano cd Attano git clone https://github.com/alliedmodders/sourcemod.git sourcemod-central git clone https://github.com/alliedmodders/metamod-source hg clone https://hg.alliedmods.net/hl2sdks/hl2sdk-l4d2/ git clone https://github.com/Attano/Left4Downtown2.git left4downtown2
srcds >> cp -R /home/serveur/serv00_l4d2/bin /home/serveur/Attano/srcds/left4dead2/bin nano ~/Attano/left4downtown2/Makefile: SMSDK ?= ../sourcemod SRCDS_BASE ?= ../srcds HL2SDK_L4D2 ?= ../hl2sdk-l4d2 MMSOURCE ?= ../metamod-source
cd ~/Attano/left4downtown2 && make no error.
Start server:./srcds_run -console -game left4dead2 -ip 192.168.1.32 -port 27025 -nowatchdog
sm exts list:
sm exts list
07:32:46 [SM] Displaying 22 extensions:
[01] Automatic Updater (1.6.0-dev+4559): Updates SourceMod gamedata files
[02] Webternet (1.6.0-dev+4559): Extension for interacting with URLs
[03]
Thanks for help (same with 1.6.0 4336)
I need version 0.5.7 for a plugin promod (L4D2 No Hunter Deadstops by Visor)
can you help me please?
python ../left4downtown2/configure.py Checking c compiler (vendor test gcc)... ['gcc', 'test.c', '-o', 'test'] found gcc version 4.7 Checking cxx compiler (vendor test gcc)... ['g++', '-fno-exceptions', '-fno-rtti', 'test.cxx', '-o', 'testp'] found gcc version 4.7 Adding job left4downtown. l4d2@debian:~/Attano/build$ ambuild Error: folder was not configured for AMBuild.
Use makefile: make -f Makefile
make -f Makefile mkdir -p Release/sdk mkdir -p Release/detours mkdir -p Release/codepatch mkdir -p Release/l4d2sdk cp ../srcds/left4dead2/bin/libvstdlib_srv.so libvstdlib_srv.so; cp ../srcds/left4dead2/bin/libtier0_srv.so libtier0_srv.so; make -f Makefile extension make[1]: entrant dans le répertoire « /home/l4d2/Attano/left4downtown2 » gcc -I../hl2sdk-l4d2/public/game/server -I../hl2sdk-l4d2/common -I../hl2sdk-l4d2/game/shared -I. -I.. -Isdk -I../hl2sdk-l4d2/public -I../hl2sdk-l4d2/public/engine -I../hl2sdk-l4d2/public/mathlib -I../hl2sdk-l4d2/public/tier0 -I../hl2sdk-l4d2/public/tier1 -I../mmsource-central/core -I../mmsource-central/core/sourcehook -I../sourcemod/public -I../sourcemod/public/extensions -I../sourcemod/public/sourcepawn -DSOURCE_ENGINE=6 -DSE_EPISODEONE=1 -DSE_DARKMESSIAH=2 -DSE_ORANGEBOX=3 -DSE_ORANGEBOXVALVE=4 -DSE_LEFT4DEAD=5 -DSE_LEFT4DEAD2=6 -D_LINUX -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp -Wall -Werror -Wno-switch -Wno-unused -mfpmath=sse -msse -DSOURCEMOD_BUILD -DHAVE_STDINT_H -m32 -DGNUC -DNDEBUG -O3 -funroll-loops -pipe -fno-strict-aliasing -fvisibility=hidden -Wno-non-virtual-dtor -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-overloaded-virtual -fvisibility-inlines-hidden -o Release/sdk/smsdk_ext.o -c sdk/smsdk_ext.cpp In file included from ../sourcemod/public/IExtensionSys.h:35:0, from sdk/smsdk_ext.h:41, from sdk/smsdk_ext.cpp:34: ../sourcemod/public/IShareSys.h:40:25: fatal error: sp_vm_types.h: Aucun fichier ou dossier de ce type compilation terminated. make[1]: * [Release/sdk/smsdk_ext.o] Erreur 1 make[1]: quittant le répertoire « /home/l4d2/Attano/left4downtown2 » make: * [all] Erreur 2
Aucun fichier ou dossier de ce type; compilation terminated.
I don't understand french, but my best guess is that you need to downgrade your Sourcemod headers a little bit. Use pre-1.7.
That or you haven't edited the correct paths in the makefile before running it.
Aucun fichier ou dossier de ce type > no file found.
Use 1.6 but where is source? (ok: git clone --recursive https://github.com/alliedmodders/sourcemod -b 1.6-dev sourcemod16) correct path is true in makefile file
edit: thanks, with SM 1;6, compile work.
Hello,
compile pass but i get error:
[13]
for build => SM 1.6.4-dev, i need to use 1.5.4 branch?
on server: SM 1.6.0
You use the same sourcemod on server that you had compiled against. So, 1.6.4.
I din't found the same version...
if compile under SM 1.5 and use it on SM 1.6 or 1.7 server, it work or it's a problem?
edit: see below