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

Compiling MM:S


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sittingbull
Junior Member
Join Date: Feb 2020
Old 02-26-2020 , 18:04   Compiling MM:S
Reply With Quote #1

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 is offline
sittingbull
Junior Member
Join Date: Feb 2020
Old 02-26-2020 , 21:41   Re: Compiling MM:S
Reply With Quote #2

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 is offline
sittingbull
Junior Member
Join Date: Feb 2020
Old 02-27-2020 , 00:55   Re: Compiling MM:S
Reply With Quote #3

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 is offline
sittingbull
Junior Member
Join Date: Feb 2020
Old 02-27-2020 , 14:55   Re: Compiling MM:S
Reply With Quote #4

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
sittingbull 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 14:37.


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