Raised This Month: $32 Target: $400
 8% 

[ANY] SteamWorks


Post New Thread Reply   
 
Thread Tools Display Modes
SimonB
Junior Member
Join Date: Apr 2017
Location: home
Old 06-21-2017 , 09:22   Re: [ANY] SteamWorks
Reply With Quote #561

What im doing wrong?

make fail
Code:
In file included from extension.cpp:32:0:
extension.h:41:30: fatal error: isteamgameserver.h: No such file or directory
compilation terminated.
/home/test/sdk/SteamWorks/Extension/Makefile:222: recipe for target 'Release/extension.o' failed
make[1]: *** [Release/extension.o] Error 1
make[1]: Leaving directory '/home/test/sdk/SteamWorks/Extension'
Makefile:225: recipe for target 'all' failed
make: *** [all] Error 2
AMBuild fail
Code:
python /home/test/sdk/SteamWorks/configure.py --hl2sdk-root=/home/test/sdk/hl2sdk --sm-path=/home/test/sdk/sourcemod --mms-path=/home/test/sdk/metamod-source --enable-optimize
Traceback (most recent call last):
  File "/home/test/sdk/SteamWorks/configure.py", line 33, in <module>
    run.Configure()
  File "/usr/local/lib/python2.7/dist-packages/ambuild2/frontend/v2_0/prep.py", line 121, in Configure
    if not builder.generate():
  File "/usr/local/lib/python2.7/dist-packages/ambuild2/frontend/v2_0/base/gen.py", line 274, in generate
    self.parseBuildScripts()
  File "/usr/local/lib/python2.7/dist-packages/ambuild2/frontend/v2_0/base/gen.py", line 183, in parseBuildScripts
    self.evalScript(root)
  File "/usr/local/lib/python2.7/dist-packages/ambuild2/frontend/v2_0/base/gen.py", line 243, in evalScript
    exec(code, new_vars)
  File "/home/test/sdk/SteamWorks/AMBuildScript", line 311, in <module>
    SteamWorks.detectSDKs()
  File "/home/test/sdk/SteamWorks/AMBuildScript", line 73, in detectSDKs
    raise Exception('Could not find a valid path for {0}'.format(sdk.envvar))
Exception: Could not find a valid path for HL2SDK2013
Git i cloned:
https://github.com/KyleSanderson/SteamWorks
https://github.com/SteamRE/open-steamworks
https://github.com/alliedmodders/sourcemod/tree/1.6-dev
https://github.com/alliedmodders/hl2sdk
https://github.com/alliedmodders/metamod-source
https://github.com/alliedmodders/ambuild
all with --recursive.

Installed libs:
https://wiki.alliedmods.net/Building_SourceMod#Linux
SimonB is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 06-21-2017 , 11:16   Re: [ANY] SteamWorks
Reply With Quote #562

For AMBuild, the hl2sdk folder should be called hl2sdk-sdk2013. Also SourceMod 1.6-dev is quite old, you'll probably want 1.8-dev or master.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.

Last edited by DJ Tsunami; 06-21-2017 at 11:16.
DJ Tsunami is offline
psychonic

BAFFLED
Join Date: May 2008
Old 06-21-2017 , 12:43   Re: [ANY] SteamWorks
Reply With Quote #563

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

Access forbidden!

You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.

If you think this is a server error, please contact the webmaster.

Error 403

users.alliedmods.net
Tue Jun 20 03:01:42 2017
Apache
We're having some temporary site issues. SourceMod downloads are down as well at the moment. Will be resolved as soon as we can.
These are available again now.
psychonic is offline
SimonB
Junior Member
Join Date: Apr 2017
Location: home
Old 06-21-2017 , 21:31   Re: [ANY] SteamWorks
Reply With Quote #564

I redownloaded everything and renamed hl2sdk to hl2sdk-sdk2013 result is the same
Code:
sudo python /home/test/sdk/SteamWorks/configure.py --hl2sdk-root=/home/test/sdk/hl2sdk-sdk2013 --sm-path=/home/test/sdk/sourcemod --mms-path=/home/test/sdk/mmsource-1.10 --enable-optimize
Traceback (most recent call last):
  File "/home/test/sdk/SteamWorks/configure.py", line 33, in <module>
    run.Configure()
  File "/usr/local/lib/python2.7/dist-packages/ambuild2/frontend/v2_0/prep.py", line 121, in Configure
    if not builder.generate():
  File "/usr/local/lib/python2.7/dist-packages/ambuild2/frontend/v2_0/base/gen.py", line 274, in generate
    self.parseBuildScripts()
  File "/usr/local/lib/python2.7/dist-packages/ambuild2/frontend/v2_0/base/gen.py", line 183, in parseBuildScripts
    self.evalScript(root)
  File "/usr/local/lib/python2.7/dist-packages/ambuild2/frontend/v2_0/base/gen.py", line 243, in evalScript
    exec(code, new_vars)
  File "/home/test/sdk/SteamWorks/AMBuildScript", line 311, in <module>
    SteamWorks.detectSDKs()
  File "/home/test/sdk/SteamWorks/AMBuildScript", line 73, in detectSDKs
    raise Exception('Could not find a valid path for {0}'.format(sdk.envvar))
Exception: Could not find a valid path for HL2SDK2013
test@test-VirtualBox:~/sdk$ sudo python /home/test/sdk/SteamWorks/configure.py --hl2sdk-root=/home/test/sdk/hl2sdk-sdk2013
Traceback (most recent call last):
  File "/home/test/sdk/SteamWorks/configure.py", line 33, in <module>
    run.Configure()
  File "/usr/local/lib/python2.7/dist-packages/ambuild2/frontend/v2_0/prep.py", line 121, in Configure
    if not builder.generate():
  File "/usr/local/lib/python2.7/dist-packages/ambuild2/frontend/v2_0/base/gen.py", line 274, in generate
    self.parseBuildScripts()
  File "/usr/local/lib/python2.7/dist-packages/ambuild2/frontend/v2_0/base/gen.py", line 183, in parseBuildScripts
    self.evalScript(root)
  File "/usr/local/lib/python2.7/dist-packages/ambuild2/frontend/v2_0/base/gen.py", line 243, in evalScript
    exec(code, new_vars)
  File "/home/test/sdk/SteamWorks/AMBuildScript", line 311, in <module>
    SteamWorks.detectSDKs()
  File "/home/test/sdk/SteamWorks/AMBuildScript", line 73, in detectSDKs
    raise Exception('Could not find a valid path for {0}'.format(sdk.envvar))
Exception: Could not find a valid path for HL2SDK2013
My git downloads are:
git clone -b sdk2013 --recursive https://github.com/alliedmodders/hl2sdk renamed to hl2sdk-sdk2013
git clone -b 1.8-dev --recursive https://github.com/alliedmodders/sourcemod
git clone -b 1.10-dev --recursive https://github.com/alliedmodders/metamod-source
git clone --recursive https://github.com/KyleSanderson/SteamWorks
git clone --recursive https://github.com/SteamRE/open-steamworks

Im so bad
SimonB is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 06-22-2017 , 02:25   Re: [ANY] SteamWorks
Reply With Quote #565

1) You should not be using sudo.
2) The path you're passing to --hl2sdk-root is wrong, it should be the directory that contains hl2sdk-sdk2013
3) You shouldn't need to pass --hl2sdk-root at all, the deafault search rules will find it just fine already.
__________________
asherkin is offline
SimonB
Junior Member
Join Date: Apr 2017
Location: home
Old 06-22-2017 , 11:17   Re: [ANY] SteamWorks
Reply With Quote #566

1) "sqlite3.OperationalError: unable to open database file", but with sudo ok

Now im stuck on
Code:
In file included from /home/test/go/SteamWorks/Extension/extension.h:44:0,
                 from /home/test/go/SteamWorks/Extension/swhttprequest.h:57,
                 from /home/test/go/SteamWorks/Extension/swhttprequest.cpp:19:
/home/test/go/SteamWorks/Extension/swgameserver.h:22:35: fatal error: isteamgamecoordinator.h: No such file or directory
compilation terminated.
I checked every folder but there is only ISteamGameCoordinator001.h in opensteamworks.
SimonB is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 06-23-2017 , 12:22   Re: [ANY] SteamWorks
Reply With Quote #567

Quote:
Originally Posted by SimonB View Post
1) "sqlite3.OperationalError: unable to open database file", but with sudo ok

Now im stuck on
Code:
In file included from /home/test/go/SteamWorks/Extension/extension.h:44:0,
                 from /home/test/go/SteamWorks/Extension/swhttprequest.h:57,
                 from /home/test/go/SteamWorks/Extension/swhttprequest.cpp:19:
/home/test/go/SteamWorks/Extension/swgameserver.h:22:35: fatal error: isteamgamecoordinator.h: No such file or directory
compilation terminated.
I checked every folder but there is only ISteamGameCoordinator001.h in opensteamworks.
This is not tested with opensteamworks.
KyleS is offline
ImACow
AlliedModders Donor
Join Date: Feb 2015
Old 07-02-2017 , 05:56   Re: [ANY] SteamWorks
Reply With Quote #568

Don't know if its possible but can we transmit binaries with this? (to a webserver)

Or do we have to set the post body with data?
__________________

Last edited by ImACow; 07-02-2017 at 06:38.
ImACow is offline
Hydrozilla
Member
Join Date: Apr 2006
Location: NY
Old 07-03-2017 , 13:22   Re: [ANY] SteamWorks
Reply With Quote #569

The files for the install are older and smaller than the ones already on the server?...Im hesitant to roll them back. The ones in the server are dated 3/2017 and the installation files are from 2014?

Edit: I just saw the above post about ver 121 from 2016, but files still older than whats installed already, just thought Id ask before proceeding.
__________________

Last edited by Hydrozilla; 07-03-2017 at 13:27.
Hydrozilla is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 07-03-2017 , 13:30   Re: [ANY] SteamWorks
Reply With Quote #570

Quote:
Originally Posted by ImACow View Post
Don't know if its possible but can we transmit binaries with this? (to a webserver)

Or do we have to set the post body with data?
You'd post your binary as data.
Quote:
Originally Posted by Hydrozilla View Post
The files for the install are older and smaller than the ones already on the server?...Im hesitant to roll them back. The ones in the server are dated 3/2017 and the installation files are from 2014?

Edit: I just saw the above post about ver 121 from 2016, but files still older than whats installed already, just thought Id ask before proceeding.
If your game has been updated in the last 2 years, don't worry about it.
KyleS is offline
Reply


Thread Tools
Display Modes

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 04:26.


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