hmm, cheap/dirty version, edit Makefile add myclass.o somewhere here

g++ -shared -O2 -g -L/usr/local/lib -fstack-protector Mytest.o -o b +l +ib/arch/auto/Mytest/Mytest.so myclass/libmyclass.a \
or run that command manually so myclass.o gets linked into MyTest.so

if the tests pass after that then study ar manual (or xspp or Inline::CPP examples-generated-example-Makefile ) to figure out if you can fixup that portion of your Makefile so ar to generate the right type of file (like static version, or one with the right symbols being exported ...)

Try removing unitTest.o from the list

Also it would be helpful if you could provide a patch file like SOso-0.01.patch.txt , easier than copy/pasting multiple files from here on perlmonks ..

Thats all I have time for now :) See you next day


In reply to Re^5: Unable to use created PerlXS Modul ( using c++ ) by Anonymous Monk
in thread Unable to use created PerlXS Modul ( using c++ ) by lamchob

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.