1>PreLinkEvent: 1> Description: Generate build information... 1> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86 1> Copyright (C) Microsoft Corporation. All rights reserved. 1> 1> cl.exe -c -D_WIN32 -DUSE_DL_EXPORT -D_WINDOWS -DWIN32 -D_WINDLL -MD ..\Modules\getbuildinfo.c -Fo"E:\Python-3.2b1\PCbuild\Win32-temp-Release\pythoncore"\getbuildinfo.o" -I..\Include -I..\PC 1> getbuildinfo.c 1>..\Modules\getbuildinfo.c(1): fatal error C1083: Cannot open include file: 'Python.h': No such file or directory 1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(108,5): error MSB3073: The command ""E:\Python-3.2b1\PCbuild\make_buildinfo.exe" Release "E:\Python-3.2b1\PCbuild\Win32-temp-Release\pythoncore\" 1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(108,5): error MSB3073: :VCEnd" exited with code -1. 1> 1>Build FAILED. the following will be ok: cl.exe -c -D_WIN32 -DUSE_DL_EXPORT -D_WINDOWS -DWIN32 -D_WINDLL -MD ..\Modules\getbuildinfo.c -I..\Include -I..\PC -Fo"E:\Python-3.2b1\PCbuild\Win32-temp-Release\pythoncore"\getbuildinfo.o" included dir should ahead of -F options.
Author: Kristján Valur Jónsson (kristjan.jonsson) *
Date: 2010-12-13 03:21
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)" should be "$(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.
Author: Kristján Valur Jónsson (kristjan.jonsson) *
Date: 2010-12-13 03:33
Implemented the "trailing quote removal" defensive programming strategy in revision 87205. Others that autoconvert the solution will not be hit by this problem.
History
Date
User
Action
Args
2022-04-11 14:57:10
admin
set
github: 54892
2010-12-13 03:33:20
kristjan.jonsson
set
status: open -> closedresolution: fixedmessages: +