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

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

Replies are listed 'Best First'.
Re^4: Problem In C Inline use????
by samirpatry (Acolyte) on Oct 19, 2006 at 07:31 UTC

    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
        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.

        He wrote that he has "already install the Nmake.exe in my perl directory". Now I don't know into which "perl directory" he has installed it, but I suspect that it may not be one actually in %PATH%, but possibly the one in which he is developing code, and nothwistanding the fact that . is usually in %PATH% in Windows systems, it won't be the build directory for Inline builds, IIRC.


        yes the same problem still exits.I am using windows Xp
Re^8: Problem In C Inline use????
by samirpatry (Acolyte) on Oct 19, 2006 at 09:26 UTC
    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


        Thanx a lot it works now .The problem is in my nmake.exe.Thanx joost giving so much time.Thanx a l