Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compile Error in Perl
#1
I tried to compile my program but I get the following error

g++ fn-test.cpp -o t 'perl -MExtUtils::Embed -e ccopts -e ldopts'
g++: perl -MExtUtils::Embed -e ccopts -e ldopts: No such file or directory
fn-test.cpp:2:24: fatal error: EXTERN.h: No such file or directory
compilation terminated.


I am working on ubuntu so I went into cpan and ran

force install ExtUtils::Embed

it did it's thing for a while and now when I try to compile again, I get the same error. This is my first time trying to call a Perl program from C++, so any tips would be helpful.

Live Project Training
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Perl] IRC Bot wchar_t 26 14,564 08-20-2012, 01:40 PM
Last Post: Trump
  Perl Ebook ven0m 2 1,825 05-04-2012, 08:14 AM
Last Post: ven0m
  Help with a program written in perl Rodman42866 1 1,686 03-09-2012, 03:16 AM
Last Post: AceInfinity
  HTML perl script AceInfinity 5 2,722 12-03-2011, 11:35 PM
Last Post: Closed Account
  Perl ARGV Tutorial AceInfinity 0 2,401 08-22-2011, 02:30 PM
Last Post: AceInfinity

Forum Jump:


Users browsing this thread: 1 Guest(s)