in reply to Re: Problem In C Inline use????
in thread Problem In C Inline use????


I have already install the Nmake.exe in my perl directory and it will gives me three file like NMAKE,Readme and the NMake.err.

Replies are listed 'Best First'.
Re^3: Problem In C Inline use????
by syphilis (Archbishop) on Oct 19, 2006 at 07:15 UTC
    I have already install the Nmake.exe in my perl directory

    Iirc, the nmake executable that you download (which is named something like 'nmake95.exe') is an "installer" program that you need to run in order to install a somewhat ancient version of nmake.exe. (There's a more recent version freely available somewhere on the MS website that offers better mileage.)

    What does running 'nmake /?' produce ?

    However, next you're faced with the issue of finding a compiler. If you're going to use Visual Studio, then it already comes with a more recent (and more functional) version of nmake, so you would be better to use it instead of the nmake that you've downloaded. And if you're going to use the MinGW compiler, then you're better off with 'dmake' which can be obtained from CPAN.

    Cheers,
    Rob

      when i running 'nmake /?' it will produce
      Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. Usage: NMAKE @commandfile NMAKE [options] [/f makefile] [/x stderrfile] [macrodefs] [tar +gets] Options: /A Build all evaluated targets /B Build if time stamps are equ +al /C Suppress output messages /D Display build information /E Override env-var macros /HELP Display brief usage messa +ge /I Ignore exit codes from commands /K Build unrelated targets on e +rror /N Display commands but do not execute /NOLOGO Suppress copyright mess +age /P Display NMAKE information /Q Check time stamps but do not + build /R Ignore predefined rules/macros /S Suppress executed-commands d +isplay /T Change time stamps but do not build /? Display brief usage message
        Microsoft (R) Program Maintenance Utility Version 1.50

        And you still get the error that 'nmake' is not recognized as an internal or external command,operable program or batch file ? (Are you sure about that ?) I don't know how that could possibly happen.

        Cheers,
        Rob
      my path in command line is
      PATH=C:\perl\bin;C:\Perl\bin\;G:\perl\bin\;C:\WINDOWS\system32;C:\WIND +OWS;C:\WINDOWS\System32Wbem;C:\perl\bin;C:\Perl\bin\;G:\perl\bin\;C:\ +WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32Wbem;C:\perl\bin;C:\Pe +rl\bin\;G:\perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System +32Wbem;C:\WINDOWS\System32;C:\Perl\bin;C:\Perl\bin;

      and i nmake path is c:\perl

      20061019 Janitored by Corion: Added linebreaks so the code wraps