On 6/22/2015 2:49 AM, Stefan Hett wrote:
Hi,
I just tested building APR 1.5.2 from source on windows, following the
instructions from the readme file.
compiling (aka: nmake -f Makefile.win) succeeded without problems, but
the following install command (aka: nmake -f Makefile.win PREFIX=FOO
install) failed with return code 0x1:
copy Release/libapr-1.pdb "..\apr-dist\bin\" <.y
The system cannot find the file specified.
NMAKE : fatal error U1077: 'copy' : return code '0x1'
Stop.
Without looking at the build script I assume that the PDB is not
created for Release builds and therefore the file is missing.
Maybe worth either adjusting the linker/compiler settings so the PDB
is also generated in Release builds or adding a file-existence-check
prior to the copy operation, so building doesn't issue that error?
For me that's not a problem here. Just thought might be good to raise
that point so that user experience with APR could be improved.
But it is there, look at the Link line in libapr.mak
/pdb:"$(OUTDIR)\libapr-1.pdb"
It didn't get produced for some reason. What Visual C++ version are you
using?