in reply to Using functions from Inline::CPP in my program

Because Inline::Cpp knows about myget() and compiles it into the library via a son.o file. If there were a test.o file in the library, then your program would work. But you never tell Inline::Cpp to compile test.cpp!
  • Comment on Re: Using functions from Inline::CPP in my program

Replies are listed 'Best First'.
Re^2: Using functions from Inline::CPP in my program
by maxpacer (Novice) on Mar 12, 2006 at 06:34 UTC
    Thank you very much.
    So how to tell Inline::CPP to compile test.cpp?
    I have tried lots of methods. But they didn't work.

    (Of course, to put the codes in pl file is ok. I just want to write them in different files)