[issue10683] PreLinkEvent error under VC2010
Kristján Valur Jónsson
report at bugs.python.org
Mon Dec 13 04:21:06 CET 2010
Kristján Valur Jónsson <kristjan at ccpgames.com> added the comment:
Ok the problem is this line in the pre-link step, that must have gotten changed during the conversion:
"$(SolutionDir)make_buildinfo.exe" Debug "$(IntDir)"
"$(SolutionDir)make_buildinfo.exe" Debug "$(IntDir)\"
This is because ($IntDir) will expand to a path ending in a backslash, thus escaping the quotes. We have to escape the backslash using this notation.
The backslash gets removed during the automatic update of the project files.
Is there an official VS2010 build project? If there is one, I can fix this there.
There is an alternative. We can catch this particular error by skiping a trailing " in the path name. This is perhaps good too, since others are bound to run into this problem.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list