Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^4: Does Inline::CPP module works with VS 2008(vc 9.0)

by rohn (Initiate)
on Sep 16, 2009 at 11:47 UTC ( [id://795577]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Does Inline::CPP module works with VS 2008(vc 9.0)
in thread Does Inline::CPP module works with VS 2008(vc 9.0)

I ran the program again and the compiler says it does not understad CPP

C:\Documents and Settings\rohn\Desktop\PERL PRG>perl inline1.pl

Error. You have specified 'CPP' as an Inline programming language.

I currently only know about the following languages: C, Foo, foo

If you have installed a support module for this language, try deleting the config file from the following Inline DIRECTORY, and run again:

C:/Documents and Settings/rohn/Desktop/PERL PRG/_Inline

at inline1.pl line 2 BEGIN failed--compilation aborted at inline1.pl line 15.

Does this mean that Strawberry perl does not understand C++ compiler ?

  • Comment on Re^4: Does Inline::CPP module works with VS 2008(vc 9.0)

Replies are listed 'Best First'.
Re^5: Does Inline::CPP module works with VS 2008(vc 9.0)
by mwah (Hermit) on Sep 16, 2009 at 12:08 UTC
    I currently only know about the following languages: C, Foo, foo

    you should install the required language then by running

    cpan install Inline:CPP

    in a dos box, (iirc)

    regards

    mwa

      I installed the Inline::CPP module

      cpan> install Inline::CPP Database was generated on Wed, 16 Sep 2009 08:34:14 GMT Inline::CPP is up to date (0.25).

      cpan>

      But when I try to run the same code from Command Prompt, The error message is same as below.

      I currently only know about the following languages: C, Foo, foo

      is there any command to verify wether the inline module is installed properly or not

        This is the same problem you seem to be facing when using/installing Win32::GuiTest. I recommend, again, checking your module paths and installation paths and generally following the same steps you've taken to solve the problem with Win32::GuiTest. Most likely, the cpan you're running is not the cpan associated with the perl you're running.

        The error message tells you exactly how to fix the problem. Go read it again.
Re^5: Does Inline::CPP module works with VS 2008(vc 9.0)
by syphilis (Archbishop) on Sep 17, 2009 at 07:04 UTC
    If you have installed a support module for this language, try deleting the config file from the following Inline DIRECTORY....

    If you do as that instruction says, it usually takes care of the error (assuming Inline::CPP is installed - which you can check by running perl -e "require Inline::CPP;print $Inline::CPP::VERSION")

    Cheers,
    Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://795577]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-23 22:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found