in reply to Re: What is the problem in the following Inline code?
in thread What is the problem in the following Inline code?


Hi Mortiz

Many many thanks for the reply.After correcting the code suggested by you. Still i am getting error as follows.

'nmake' is not recognized as an internal or external command, operable program or batch file.

A problem was encountered while attempting to compile and install your Inline C code. The command that failed was:

nmake > out.make 2>&1

The build directory was:

E:\sanjayweb\_Inline\build\inline2_pl_0842

To debug the problem, cd to the build directory, and inspect the output files.at inline2.pl line 0

INIT failed--call queue aborted.

Plz suggest what is the problem with it?


Regd's
sanjay
  • Comment on Re^2: What is the problem in the following Inline code?

Replies are listed 'Best First'.
Re^3: What is the problem in the following Inline code?
by cdarke (Prior) on Jan 13, 2009 at 09:24 UTC
    You need to make sure your copy of nmake.exe is either in the current directory or in a directory in %path%. If you are using Visual Studio it should be in the VC bin directory.
      call vcvars32.bat (or call path\to\msvc\bin\vcvars32.bat) should set all the required env

      Hi Cdarke

      Thanks for the reply.

      But when i put my "Inline.pl" perl program in the VC/bin,where nmake.exe is present. from there i run my perl program in the command prompt. Still i am getting the same error. Plz suggest what to do? How to set path for the nmake.exe in my perl program.

      Regd's
      Sanjay
        You still haven't got nmake.exe in the current working directory. It's better to just follow the advice of Anonymous Monk and run vcvars32.bat.

        Cheers,
        Rob