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

[ANY] SteamWorks


Post New Thread Reply   
 
Thread Tools Display Modes
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 01-18-2015 , 17:56   Re: [ANY] SteamWorks
Reply With Quote #251

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
__________________
Sarabveer is offline
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
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 01-18-2015 , 18:20   Re: [ANY] SteamWorks
Reply With Quote #253

Quote:
Originally Posted by KyleS View Post
It doesn't look like you have a C++ compiler.
Hmm, I need gcc, right?

EDIT: I needed g++, libc6-dev-i386, and gcc/g++-4.9-multilib

EDIT2: This error:
Code:
CDetour/detours.cpp: In member function ‘bool CDetour::CreateDetour()’:
CDetour/detours.cpp:156:25: error: array subscript is above array bounds [-Werror=array-bounds]
   detour_restore.patch[i] = ((unsigned char *)detour_address)[i];
EDIT3: I found out I have to compile using AMBuild2, but the configure.py is not working.

EDIT4: KyleS has an official builds page here
__________________

Last edited by Sarabveer; 01-18-2015 at 22:39.
Sarabveer is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 01-18-2015 , 20:04   Re: [ANY] SteamWorks
Reply With Quote #254

http://users.alliedmods.net/~kyles/builds/SteamWorks/

They may not even work, but they're there, now.

Huge thanks to:
Drifter - amb2 support
psychonic - all of the buildbots/slaves, added the SW sdk, fixed environ variables.
asherkin - buildbot general info
dvander - credentials/magic mac command.

The environment to my knowledge is SW 1.31.
KyleS is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 01-18-2015 , 21:35   Re: [ANY] SteamWorks
Reply With Quote #255

Quote:
Originally Posted by KyleS View Post
http://users.alliedmods.net/~kyles/builds/SteamWorks/

They may not even work, but they're there, now.

Huge thanks to:
Drifter - amb2 support
psychonic - all of the buildbots/slaves, added the SW sdk, fixed environ variables.
asherkin - buildbot general info
dvander - credentials/magic mac command.

The environment to my knowledge is SW 1.31.
Well, it sucks for me. I really have no experience compiling for linux.
__________________
Sarabveer is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 01-18-2015 , 22:00   Re: [ANY] SteamWorks
Reply With Quote #256

Hey man, your builds are not updating
__________________
Sarabveer is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 01-18-2015 , 22:37   Re: [ANY] SteamWorks
Reply With Quote #257

Quote:
Originally Posted by Sarabveer View Post
Hey man, your builds are not updating
Drifter was helping me get proper packaging going, the tree should be stable again.
KyleS is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 01-18-2015 , 22:38   Re: [ANY] SteamWorks
Reply With Quote #258

Quote:
Originally Posted by KyleS View Post
Drifter was helping me get proper packaging going, the tree should be stable again.
Thx
__________________
Sarabveer is offline
DarkSoroush
Member
Join Date: Jan 2015
Old 01-19-2015 , 07:21   Re: [ANY] SteamWorks
Reply With Quote #259

great, thanks
DarkSoroush is offline
Bubka3
Sir Buzz Killington, Esq.
Join Date: Jan 2010
Location: New York, NY
Old 01-19-2015 , 16:04   Re: [ANY] SteamWorks
Reply With Quote #260

Windows building w/o me doing any work?

+9000 internet points
Bubka3 is offline
Reply



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 14:18.


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