Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Inline:CPP module won't install

by Hue-Bond (Priest)
on Apr 05, 2010 at 13:43 UTC ( #832801=note: print w/replies, xml ) Need Help??

in reply to Inline:CPP module won't install

Set up gcc environment - 3.4.5 (mingw special) This will configure and build Inline::C++. What default C++ compiler would you like to use? [g++] gcc What default libraries would you like to include? [-lstdc++] Checking if your kit is complete...

I don't know much about your problem, but the fact that you answered gcc to the question about what g++ compiler to use just caught my attention.

 David Serrano
 (Please treat my english text just like Perl code, i.e. feel free to notify me of any syntax, grammar, style and/or spelling error. Thank you!).

Replies are listed 'Best First'.
Re^2: Inline:CPP module won't install
by almut (Canon) on Apr 05, 2010 at 14:59 UTC

    Well observed.

    $ cat 832794.c #include <iostream.h> $ g++ -c 832794.c In file included from /usr/include/c++/4.2/backward/iostream.h:31, from 832794.c:1: /usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: #warni +ng This file includes at least one deprecated or antiquated header. P +lease consider using one of the 32 headers found in section +of the C++ standard. Examples include substituting the <X> header for + the <X.h> header for C++ includes, or <iostream> instead of the depr +ecated header <iostream.h>. To disable this warning use -Wno-deprecat +ed. $ gcc -c 832794.c 832794.c:1:22: error: iostream.h: No such file or directory

    ...which is exactly the first error the OP is getting:

    _01basic_t_5cd2.xs:2:22: iostream.h: No such file or directory

    (Just to be clear: the primary issue here is not the deprecation warning, but the fact that the path were iostream.h resides isn't being searched when gcc is used.  The warning is just an indication that Inline::CPP is rather old/unmaintained.)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2021-01-25 14:46 GMT
Find Nodes?
    Voting Booth?