This ought to be a simple one but I've burned half a day going around circular hyperlinks trying to make it work so I some seeking the wisdom of the monks.
I'm running Activstate Perl on Windows 7 (using Eclipse as my IDE).
I have some vendor code as C dlls (and Linux .so files for later on).
Today I installed mingw gcc C compiler and it's working on my Win 7 platform.
How do I tell my Perl runtime and IDE environments that I have a C compiler and a set of C libraries so I can use the include module? Whenever I run my code (I've just lifted the sample code straight from the Include C Cookbook to validate my environment before I try my own code) I receive the following error:
Error. You have specified 'C' as an Inline programming language.
I currently only know about the following languages:
Foo, foo
If you have installed a support module for this language, try deleting
+ the
config-MSWin32-x86-multi-thread-5.016003 file from the following Inlin
+e DIRECTORY, and run again:
C:/Users/murrayn/Documents/codecvs/CodeCVS/Perl Code/TestCode/_Inl
+ine
(And if that works, please file a bug report.)
at C:/Users/murrayn/Documents/codecvs/CodeCVS/Perl Code/TestCode/inli
+ne_c_test.pl line 0.
INIT failed--call queue aborted.
(and deleting the file does not fix the problem so I've not logged a bug report)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.