jirentabu / crashrpt

Automatically exported from code.google.com/p/crashrpt
0 stars 0 forks source link

Compilation fails if build directory contains spaces #100

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Compilation will fail using VS2010 if the build directory contains spaces with 
an error similar to
error MSB3073: command "copy C:\Documents and 
Settings\Alessandro\Desktop\CrashRpt\thirdparty\dbghelp\bin\dbghelp.dll 
C:\Documents and Settings\Alessandro\Desktop\CrashRpt\bin\
:VCEnd" exited with status 1.
as some pre- and post-compilation commands include improperly escaped 
parameters.

To reproduce the problem, open the CrashRpt_vs2010 solution and build it, 
making sure that the build directory contains spaces in its name.

To fix it, escape (add double quotes) in the "copy" commands in the following 
projects:
1) CrashSender
2) crashcon
3) crashrpttest
The "copy" commands used in pre- and post-generation commands should be changed 
like this:
from
copy $(SolutionDir)thirdparty\dbghelp\bin\dbghelp.dll $(OutDir)
to
copy "$(SolutionDir)thirdparty\dbghelp\bin\dbghelp.dll" "$(OutDir)"
(note the added quotes).

Original issue reported on code.google.com by alessand...@hotmail.it on 26 Jul 2011 at 5:30

GoogleCodeExporter commented 9 years ago

Original comment by zexspect...@gmail.com on 31 Jul 2011 at 3:36

GoogleCodeExporter commented 9 years ago
Fixed in v.1.3.0

Original comment by zexspect...@gmail.com on 22 Oct 2011 at 11:05