You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there is a StaticLibrary and a Program with the same name in a builder instance VS project file generation fails.
C:\Users\User\Documents\GitHub\sourcepawn\vs>python ..\configure.py --enable-debug -g vs --build=all
Path exp\compiler\spcomp - Default\spcomp.pdb already exists as: output
Traceback (most recent call last):
File "..\configure.py", line 41, in <module>
run.Configure()
File "C:\Users\User\AppData\Local\Programs\Python\Python36\lib\site-packages\ambuild2\frontend\v2_0\prep.py", line 121, in Configure
if not builder.generate():
File "C:\Users\User\AppData\Local\Programs\Python\Python36\lib\site-packages\ambuild2\frontend\v2_0\base\gen.py", line 274, in generate
self.parseBuildScripts()
File "C:\Users\User\AppData\Local\Programs\Python\Python36\lib\site-packages\ambuild2\frontend\v2_0\base\gen.py", line 183, in parseBuildScripts
self.evalScript(root)
File "C:\Users\User\AppData\Local\Programs\Python\Python36\lib\site-packages\ambuild2\frontend\v2_0\base\gen.py", line 243, in evalScript
exec(code, new_vars)
File "C:\Users\User\Documents\GitHub\sourcepawn\AMBuildScript", line 267, in <module>
sp.BuildSuite()
File "C:\Users\User\Documents\GitHub\sourcepawn\AMBuildScript", line 251, in BuildSuite
self.BuildExperimental()
File "C:\Users\User\Documents\GitHub\sourcepawn\AMBuildScript", line 243, in BuildExperimental
builder.RunBuildScripts(self.exp_scripts, self.vars)
File "C:\Users\User\AppData\Local\Programs\Python\Python36\lib\site-packages\ambuild2\frontend\v2_0\base\gen.py", line 117, in RunBuildScripts
self.generator.evalScript(script, vars)
File "C:\Users\User\AppData\Local\Programs\Python\Python36\lib\site-packages\ambuild2\frontend\v2_0\base\gen.py", line 243, in evalScript
exec(code, new_vars)
File "C:\Users\User\Documents\GitHub\sourcepawn\exp\compiler\AMBuilder", line 83, in <module>
builder.Add(binary)
File "C:\Users\User\AppData\Local\Programs\Python\Python36\lib\site-packages\ambuild2\frontend\v2_0\base\gen.py", line 121, in Add
return taskbuilder.generate(self.generator, self)
File "C:\Users\User\AppData\Local\Programs\Python\Python36\lib\site-packages\ambuild2\frontend\v2_0\vs\cxx.py", line 56, in <lambda>
builder.generate = lambda generator, cx: self.generate(generator, cx)[0]
File "C:\Users\User\AppData\Local\Programs\Python\Python36\lib\site-packages\ambuild2\frontend\v2_0\vs\cxx.py", line 65, in generate
return self.generate_combined(generator, cx)
File "C:\Users\User\AppData\Local\Programs\Python\Python36\lib\site-packages\ambuild2\frontend\v2_0\vs\cxx.py", line 85, in generate_combined
pdbNode = generator.addOutput(cx, pdbFile, node)
File "C:\Users\User\AppData\Local\Programs\Python\Python36\lib\site-packages\ambuild2\frontend\v2_0\vs\gen.py", line 161, in addOutput
self.ensureUnique(path)
File "C:\Users\User\AppData\Local\Programs\Python\Python36\lib\site-packages\ambuild2\frontend\v2_0\vs\gen.py", line 118, in ensureUnique
raise Exception('Path {0} already exists as: {1}'.format(path, entry.kind))
Exception: Path exp\compiler\spcomp - Default\spcomp.pdb already exists as: output
When there is a
StaticLibrary
and aProgram
with the same name in a builder instance VS project file generation fails.alliedmodders/sourcepawn#27
The text was updated successfully, but these errors were encountered: