Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Integrating ePDQ C++ library using PerlXS

by ForgotPasswordAgain (Deacon)
on Jan 07, 2008 at 10:17 UTC ( #660793=note: print w/ replies, xml ) Need Help??


in reply to Integrating ePDQ C++ library using PerlXS

The source isn't necessary as long as you can link to the library files (.dll or .so). However, from the example you give, you might have some work ahead of you, depending on how complicated XFortCreatePAReqResult is. My best advice is to copy+paste shamelessly from existing Perl C++/XS projects, for example http://search.cpan.org/dist/Lucene/ or http://search.cpan.org/dist/Wx/ (I also have two, http://search.cpan.org/dist/Mozilla-DOM/ and http://search.cpan.org/dist/Ogre/, but I don't necessarily recommend them as good examples... :) ).

By the way, I'm interested in knowing what other examples of C++ libraries there are (edit: sorry, I meant C++ libraries with Perl XS bindings), or ways of finding out. Also I'm interested in someone porting Py++ to Perl/XS.


Comment on Re: Integrating ePDQ C++ library using PerlXS
Download Code
Re^2: Integrating ePDQ C++ library using PerlXS
by weboutreach (Initiate) on Jan 07, 2008 at 13:11 UTC

    Thanks for that, really helpful. I'll go and study the examples!

    I didn't think it would be that simple, and the header file does have a lot of functions, not all of which will be needed of course.

    My real question is does my client really want to pay for my time to explore this, or do we ditch ePDQ and change payment provider!

    Thanks for your comment anyway - if I manage to get it working I will, of course, post my results here!

    Neil

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2014-11-26 03:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (161 votes), past polls