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

AMBuild Next step ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xerox8521
Senior Member
Join Date: Sep 2011
Old 11-07-2016 , 14:24   AMBuild Next step ?
Reply With Quote #1

Ok so i tried to compile this extension so after i run the configure.py it shows that it found gcc version 4.9 but nothing else happens apart from a new folder inside the build folder called .ambuild2 Apparently the configure doesnt compile so i tried to run the PackageScript file and AMBuilder and AMBuilderScript but everything i just get the error
Code:
Traceback (most recent call last):
  File "../PackageScript", line 7, in <module>
    builder.SetBuildFolder('package')
NameError: name 'builder' is not defined
I dont know much about python nor how to properly use ambuild. Wiki doesnt seem to explain this very well at all since the example there is not relevant to sourcemod or sourcemod extensions. So how i proceed from here now ?

Python version: 2.7.9
GCC 4.9
Linux Debian 8
Game i want to compile for is L4D2

Last edited by xerox8521; 11-07-2016 at 14:25.
xerox8521 is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 11-07-2016 , 17:16   Re: AMBuild Next step ?
Reply With Quote #2

You do the following:
PHP Code:
python ../configure.py --sdk l4d2 <options here
then:
PHP Code:
ambuild 
All configure.py does is configure AMBuild on how it should compile the project where "ambuild" (batch/shell script depending on OS) actually runs the compile process using the found compiler.

Edit: I have provided linux build of that extension for both TF2 and L4D2 here (my provided build only contains the compiled binaries with link to source code used).
__________________

Last edited by WildCard65; 11-07-2016 at 17:17.
WildCard65 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 04:21.


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