AlliedModders (
-   Metamod:Source Questions (
-   -   Compiling MM:S (

sittingbull 02-26-2020 18:04

Compiling MM:S
Hi guys, trying to compile metamod source and when i run this is what i get

PHP Code:

C:\alliedmodders\mmsource-1.10\build>python ../ --sdks=dota
Checking c compiler 
(vendor test msvc)... ['cl''test.c''-o''test.exe']
found msvc version 1924
Checking cxx compiler 
(vendor test msvc)... ['cl''test.cxx''-o''testp.exe']
found msvc version 1924
hg parent 
-R C:\alliedmodders\mmsource-1.10
(most recent call last):
File "../"line 13in <module>
File "C:\Python27\lib\site-packages\ambuild\"line 113in Configure
File "C:\Python27\lib\site-packages\ambuild\"line 137in LoadFile
File "C:\Python27\lib\site-packages\ambuild\"line 12in _execfile
(compile(open(file).read(), file'exec'), globals)
File "C:\alliedmodders\mmsource-1.10\AMBuildScript"line 405in <module>
AMBuild.Include(os.path.join('support''buildbot''Versioning'), globals)
File "C:\Python27\lib\site-packages\ambuild\"line 128in Include
self.LoadFile(os.path.join(self.sourceFolderpath), xtras)
File "C:\Python27\lib\site-packages\ambuild\"line 137in LoadFile
File "C:\Python27\lib\site-packages\ambuild\"line 12in _execfile
(compile(open(file).read(), file'exec'), globals)
File "C:\alliedmodders\mmsource-1.10\support\buildbot\Versioning"line 55in <module>
File "C:\alliedmodders\mmsource-1.10\support\buildbot\Versioning"line 18in PerformReversioning
cset GetVersion()
File "C:\alliedmodders\mmsource-1.10\support\buildbot\Versioning"line 11in GetVersion
File "C:\Python27\lib\site-packages\ambuild\"line 84in RunDirectCommand
File "C:\Python27\lib\"line 394in __init__
File "C:\Python27\lib\"line 644in _execute_child
WindowsError: [Error 2The system cannot find the file specified 

Any idea how I fix this?

sittingbull 02-26-2020 21:41

Re: Compiling MM:S
I was able to build the most up-to-date version, however, when i did a git reset --hard [hash of commit i need] i get the message above. Any ideas on what to do?

sittingbull 02-27-2020 00:55

Re: Compiling MM:S
After some digging through the source folders and wiki history I realized I needed to use mercurial, however, after configuring seemingly flawlessly get an error that days folder not configured for ambuild..

sittingbull 02-27-2020 14:55

Re: Compiling MM:S
successfully compiled with python command and editing my version.rc file like this thread says

All times are GMT -4. The time now is 14:43.

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