using perl in compiled application



Hi there,

I have a gui application that uses the perl command. I'm trying to
turn it into a stand alone application. Here are the things that work:

- The gui (and perl command) runs fine from Matlab on the development
PC (of course).
- The application is compiled without errors using "mcc -mv appName"
- The compiled gui (and perl command) runs fine on the development PC.

- I have copied the MCRInstaller.exe from the development PC, and run
it on my target PC (both are winXP).
- The compiled gui runs fine (opens without errors) on this target PC
(ie, I'm pretty sure my matlab path etc is correct), BUT there is an
error when the gui executes a call to perl. The error is along the
lines of:
"'perl' is not recognized as an internal or external command, operable
program or batch file."

I've checked this group for the message, and it has come up quite a lot
while people were _compiling_ with a certain compiler version, but my
problem only occurs when trying to _run_ my compiled program on the
target computer. Therefore the problem/solution at:
http://www.mathworks.com/support/solutions/data/1-UI35G.html?solution=1-UI35G
seems not to apply (I have actually tried following its steps on the
target pc... to no avail).

Can anyone shed any light on what is going on?

Thanks,
Sven.

.



Relevant Pages

  • using perl in compiled application
    ... I have a gui application that uses the perl command. ... The compiled gui runs fine on this target PC ... while people were _compiling_ with a certain compiler version, ...
    (comp.soft-sys.matlab)
  • Re: C or C++ for FOSS/linux?
    ... Why integrate it in a GUI? ... when writing a C programmer what do you ... Compiling a basic kernel with a lot of drivers and functionality takes ...
    (comp.os.linux.development.apps)
  • Re: gcc/vi better than VS
    ... You are comparing a Command Line product versus a GUI product - apples to ... You need to compare vi/gcc to notepad/cl.exe or KDE GUI developer ... > When compiling or linking with gcc, the text editor never locks up. ...
    (microsoft.public.vsnet.ide)
  • Re: Wah, wahing
    ... It does irk me when people at Digg.com bitch & moan about the Linux ... terminal or compiling programs to install them. ... Yes, you can do just about everything from the GUI in Windows, ... that there be a choice in desktop computing. ...
    (Ubuntu)
  • Build executable from GUI which uses an existing DLL
    ... I want to make an executable files from a GUI. ... This GUI uses an other DLL file, which controls a usb device. ... Compiling the code using the "mcc" command results in a executable, ...
    (comp.soft-sys.matlab)

Loading