Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inline::C and Perl Packager (pp)

Status
Not open for further replies.

apache64

Technical User
Joined
Sep 8, 2006
Messages
2
Location
CA
Hi,

I have used pp for quite a wile to create standalone executables from Perl scripts, even with additional modules (like Win32::GUI, Imager, etc) and it worked fine.

Now I have Perl code using Inline::C module (.cpp file is used to link to the existing dll library). It works perfectly in a normal execution mode (need cl and nmake installed). But I have trouble creating standalone exe from it. I tried appending paths with -I, including modules with -M and files with -A, but always end up with unusable exe.

Did anyone have tried this, or perhaps someone can point me to the places on the web where this matter is discussed. So far I could not find anything. Inline is discussed apart from pp.

Any help is much appreciated.
 
There are modules out there for linking to existing DLL libraries without using .cpp files as a middle-man.
 

Thanks for reply,
My library has some very specific functions (trversal of a 3D model database structure). it's old, and the way it works is always inside this walk through - I would be surprised if any module can do. Moreover, the library has it's own data types which complicates things.

I'll so a research on dll linking anyway. Any modules come in mind?

Ideal solution for me is stil having my inline packaged. I don't see why it shoul not. But for some reason Inline is treated by pp differentry from any other module.

So any more ideas are much appreciated

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top