aykun81 has asked for the wisdom of the Perl Monks concerning the following question:
Now when I type "perl dene.pl", I get an error message which says: "msvcr90.dll could not be found, try to reinstall the app". I checked which c compiler perl is using and it turns out that it's using cl.exe which comes along with Microsoft Visual Studio ++. I have checked if I can successfully compile the c-code itself using cl.exe and the result is: Yes I can. However, no matter what I did, I couldn't get the perl code to run. I really need help here urgently. Thanks in advance. Note: I have the mentioned dll file many places which I think are the right places for the file to be (C:\Windows\winSxS\x86_Microsoft.VC90.CRT_1fc....\; C:\MSVC9\VC\redist\x86\Microsoft.VC90.CRT\ etc.)#!C:\Perl\bin\perl.exe use Inline C => <<'END_C'; void greet() { printf("Hello, world!"); } END_C greet();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Calling C-Code from Perl
by mwah (Hermit) on May 17, 2008 at 17:58 UTC | |
by aykun81 (Sexton) on May 17, 2008 at 18:32 UTC | |
|
Re: Calling C-Code from Perl
by syphilis (Archbishop) on May 18, 2008 at 00:31 UTC | |
|
Re: Calling C-Code from Perl
by Anonymous Monk on May 17, 2008 at 19:21 UTC | |
|
Re: Calling C-Code from Perl
by Anonymous Monk on May 17, 2008 at 19:23 UTC | |
|
Re: Calling C-Code from Perl
by aykun81 (Sexton) on May 19, 2008 at 16:33 UTC |