AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Metamod:Source Questions (https://forums.alliedmods.net/forumdisplay.php?f=74)
-   -   Compiling MM:S (https://forums.alliedmods.net/showthread.php?t=321744)

sittingbull 02-26-2020 19:04

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

PHP Code:

C:\alliedmodders\mmsource-1.10\build>python ../configure.py --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
Traceback 
(most recent call last):
  
File "../configure.py"line 13in <module>
    
run.Configure(sys.path[0])
  
File "C:\Python27\lib\site-packages\ambuild\runner.py"line 113in Configure
    self
.LoadFile(os.path.join(self.sourceFolder'AMBuildScript'))
  
File "C:\Python27\lib\site-packages\ambuild\runner.py"line 137in LoadFile
    _execfile
(pathglobals)
  
File "C:\Python27\lib\site-packages\ambuild\runner.py"line 12in _execfile
    exec
(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\runner.py"line 128in Include
    
self.LoadFile(os.path.join(self.sourceFolderpath), xtras)
  
File "C:\Python27\lib\site-packages\ambuild\runner.py"line 137in LoadFile
    _execfile
(pathglobals)
  
File "C:\Python27\lib\site-packages\ambuild\runner.py"line 12in _execfile
    exec
(compile(open(file).read(), file'exec'), globals)
  
File "C:\alliedmodders\mmsource-1.10\support\buildbot\Versioning"line 55in <module>
    
PerformReversioning()
  
File "C:\alliedmodders\mmsource-1.10\support\buildbot\Versioning"line 18in PerformReversioning
    rev
cset GetVersion()
  
File "C:\alliedmodders\mmsource-1.10\support\buildbot\Versioning"line 11in GetVersion
    p 
command.RunDirectCommand(AMBuildargs)
  
File "C:\Python27\lib\site-packages\ambuild\command.py"line 84in RunDirectCommand
    p 
subprocess.Popen(**args)
  
File "C:\Python27\lib\subprocess.py"line 394in __init__
    errread
errwrite)
  
File "C:\Python27\lib\subprocess.py"line 644in _execute_child
    startupinfo
)
WindowsError: [Error 2The system cannot find the file specified 

Any idea how I fix this?

sittingbull 02-26-2020 22: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 01: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 15:55

Re: Compiling MM:S
 
successfully compiled with python build.py command and editing my version.rc file like this thread says https://forums.alliedmods.net/showthread.php?t=204844


All times are GMT -4. The time now is 21:38.

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