View Single Post
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 01-18-2015 , 18:06   Re: [ANY] SteamWorks
Reply With Quote #252

Quote:
Originally Posted by Sarabveer View Post
Hmm, I cant compile this on Linux with ambuild. And the make file is not working. Here are the errors.
I'm running Ubuntu 14.04.1

configure.py (AMBuild):
Code:
Warning: build is being configured in the source tree.
Re-using build folder: obj-linux
Traceback (most recent call last):
  File "configure.py", line 33, in <module>
    run.Configure()
  File "/usr/local/lib/python2.7/dist-packages/ambuild2/frontend/prep.py", line 121, in Configure
    if not builder.generate():
  File "/usr/local/lib/python2.7/dist-packages/ambuild2/frontend/base/gen.py", line 256, in generate
    self.preGenerate()
  File "/usr/local/lib/python2.7/dist-packages/ambuild2/frontend/amb2/gen.py", line 78, in preGenerate
    self.db.connect()
  File "/usr/local/lib/python2.7/dist-packages/ambuild2/database.py", line 112, in connect
    self.cn.execute("PRAGMA journal_mode = WAL;")
sqlite3.OperationalError: disk I/O error
Makefile:
Code:
if [ "" = "true" ] && [ "false" = "false" ]; then \
        echo "You must supply one of the following values for ENGINE:"; \
        echo "csgo, left4dead2, left4dead, css, orangeboxvalve, orangebox, or original"; \
        exit 1; \
    fi
mkdir -p Release/sdk
mkdir -p Release/CDetour
if [ "" = "true" ]; then \
        ln -sf /lib/linux/libvstdlib.so; \
        ln -sf /lib/linux/libtier0.so; \
    fi
make -f /home/sarabveer/share/SteamWorks/SteamWorks-master/Extension/Makefile extension
make[1]: Entering directory `/home/sarabveer/share/SteamWorks/SteamWorks-master/Extension'
if [ "" = "true" ] && [ "false" = "false" ]; then \
        echo "You must supply one of the following values for ENGINE:"; \
        echo "csgo, left4dead2, left4dead, css, orangeboxvalve, orangebox, or original"; \
        exit 1; \
    fi
gcc -I/public/game/server -I. -I.. -Isdk -I/home/sarabveer/share/SteamWorks/sourcemod-sourcemod-1.6.3/public -I/home/sarabveer/share/SteamWorks/sourcemod-sourcemod-1.6.3/public/sourcepawn -I/home/sarabveer/share/SteamWorks/metamod-source-mmsource-1.10.4/core -I/home/sarabveer/share/SteamWorks/metamod-source-mmsource-1.10.4/core/sourcehook -I/home/sarabveer/share/SteamWorks/sdk/public/steam -I/public/steam -DMETA_NO_HL2SDK -DPOSIX -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp -DCOMPILER_GCC -Wall -Werror -Wno-overloaded-virtual -Wno-switch -Wno-unused -msse -DSOURCEMOD_BUILD -DHAVE_STDINT_H -m32 -DVERSION_SAFE_STEAM_API_INTERFACES -DNDEBUG -O3 -funroll-loops -pipe -fno-strict-aliasing -D_LINUX -mfpmath=sse -fvisibility=hidden -Wno-delete-non-virtual-dtor -Wno-non-virtual-dtor -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -o Release/sdk/smsdk_ext.o -c sdk/smsdk_ext.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
make[1]: *** [Release/sdk/smsdk_ext.o] Error 1
make[1]: Leaving directory `/home/sarabveer/share/SteamWorks/SteamWorks-master/Extension'
make: *** [all] Error 2
It doesn't look like you have a C++ compiler.
KyleS is offline