AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Metamod:Source Questions (https://forums.alliedmods.net/forumdisplay.php?f=74)
-   -   Compile using AMBuild (https://forums.alliedmods.net/showthread.php?t=171883)

donrevan 11-12-2011 07:03

Compile using AMBuild
 
How to compile using the ambuild instead of a Makefile can you guys give me some info about it? thanks

Fyren 11-12-2011 16:20

Re: Compile using AMBuild
 
It's a lot easier to use the Makefiles or MSVC projects.

Off the top of my head, you need to get the ambuild repo and then place the files where Python can find them. Then you run bootstrap.pl and startbuild.pl. These files may have hardcoded paths for compiler/Python binary names you'd have to change since they're intended for use by our specific build system.

asherkin 11-13-2011 12:16

Re: Compile using AMBuild
 
Quote:

Originally Posted by Fyren (Post 1595500)
Off the top of my head, you need to get the ambuild repo and then place the files where Python can find them. Then you run bootstrap.pl and startbuild.pl. These files may have hardcoded paths for compiler/Python binary names you'd have to change since they're intended for use by our specific build system.

Fyren is speaking ducks.

Code:

hg clone http://hg.alliedmods.net/ambuild/
cd ambuild
python3 setup.py build
python3 setup.py install
cd ..
hg clone http://hg.alliedmods.net/hl2sdks/hl2sdk-ob-valve/
hg clone http://hg.alliedmods.net/releases/mmsource-1.8/
hg clone http://hg.alliedmods.net/releases/sourcemod-1.4/
cd sourcemod-1.4
mkdir build
cd build
python3 ../configure.py
python3 build.py

You should literally be able to paste that into a shell and download and compile SourceMod 1.4.

donrevan 11-15-2011 11:05

Re: Compile using AMBuild
 
Realy cool :D thanks a bunch!

KyleS 05-12-2012 05:33

Re: Compile using AMBuild
 
Just in case anyone runs into this.

You need lib32z1-dev under amd64 on Debian if you're planning on compiling the mysql extension. Any 'MySQL' tar archive should do fine, just make sure it's called mysql-5.0 in the same directory with the repos.


All times are GMT -4. The time now is 07:56.

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