----- Original Message -----
From: "Russell Pettway"
What default C++ compiler would you like to use? [cl -TP]
What default libraries would you like to include? [MSVCIRT.LIB]
msvcprt.lib
Just check that msvcprt.lib is the value entered into CPP.pm.
Depending upon values that have been entered for earlier builds, there's a
bug in the Makefile.PL that means you can't assume that your nominated value
has actually been entered into CPP.pm.
However .... after all that, I don't think it matters what you've entered
there (though I'm not entirely sure).
In my ActivePerl build of Inline::CPP, I've set it to a nonsense value - yet
all of the tests still pass fine.
Writing Makefile for Inline::CPP::grammar
Writing Makefile for Inline::CPP
C:\Inline-CPP-0.25>nmake
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
Skip blib\lib\Inline\CPP.pm (unchanged)
Skip blib\lib\Inline\CPP.pod (unchanged)
"C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\nmake.exe" -f
Makefile all -nologo
cd ..
C:\Inline-CPP-0.25>nmake test
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
"C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\nmake.exe" -f
Makefile all -nologo
cd ..
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib\lib', 'blib\arch')" t/*.t
t/01basic.....
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -typemap
C:\Perl\lib\ExtUtils\typemap -typemap
C:\Inline-CPP-0.25\_Inline\build\_01basic_t_5
cd2\CPP.map _01basic_t_5cd2.xs > _01basic_t_5cd2.xsc &&
C:\Perl\bin\perl.exe
-MExtUtils::Command -e mv _01basic_t_5cd2.xsc _01basic_t_5cd2.c
cl -TP -c -IC:/Inline-CPP-0.25/t -nologo -GF -W3 -MD -Zi -DNDEBUG -O1
-DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_
SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.00\" -DXS_VERSION=
\"0.00\" "-IC:\Perl\lib\CORE" _01basic_t_5cd2.c
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
10.0\VC\bin\cl.EXE"' : return code '0xc0000135'
The actual command that got run there looks fine to me.
Google turns up a large number of hits for "return code '0xc0000135'" - and
the common suggestion is that there's something wrong with the environment.
(Maybe you can find something on Google that helps - I couldn't find
anything definitive, but I didn't spend a lot of time going through the
hits.)
With MS compilers, it always used to be that you ran a batch file
(vcvars32.bat ?) in order to set up the environment correctly. Did you do
that ?
Simply adding C:\Program Files\Microsoft Visual Studio 10.0\VC\bin to the
path would not, by itself, be sufficient.
Maybe you could run 'nmake install' (you can always install again over the
top if need be) and run some simple scripts (with the BUILD_NOISY => 1
config option) to see if we can get some sort of useful diagnostic message,
though I fear we're just going to get that "something is wrong" message
that we've already seen.
Did Inline::C pass all of its tests ?
Can't think of anything else for the moment.
Cheers,
Rob