help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Building Standalone Executables


From: Tim Felty
Subject: RE: Building Standalone Executables
Date: Tue, 16 Feb 2010 13:36:59 -0600

Another question. What do I need to include to run the standalone executable? I have the dlls that it requests, but as it runs it says it can't find the 'dir' command I call from feval; as well as octave_base_value::map_value(): wrong type argument `<unknown type>' is reported as an error.
 
The executable works fine from within the Octave bin directory, but I don't know what else is needed.
 
Thanks
TJ
 
> Date: Tue, 16 Feb 2010 10:21:10 +0100
> From: address@hidden
> To: address@hidden
> CC: address@hidden; address@hidden
> Subject: Re: Building Standalone Executables
>
> Jaroslav Hajek wrote:
> > On Mon, Feb 15, 2010 at 4:47 PM, Tim Felty wrote:
> >> David, thanks for the help.
> >>
> >> I've been working on the code and I'm running into an error on my computer.
> >> It says
> >>
> >> "error: No space left on device
> >> terminate called after throwing an instance of 'octave_execution_exception'
> >> This application has requested the Runtime to terminate it in an unusual
> >> way.
> >> Please contact the application's support team for more information."
> >>
> >> This seems to be caused by my calling of do_octave_atexit()
> >>
> >
> > Calling do_octave_atexit doesn't clean up everything. You should call
> > clean_up_and_exit instead.
> > But the error is weird anyway. I get no problems running your code.
> > Probably something specific to windows, or to older versions if you
> > have one. It might also depend on what packages you have installed.
> >
>
> I haven't tested your code sample yet, but I'm stating a guess here:
> On windows the octave setup uses gcc's shared libgcc and libstdc++. This
> is necessary to propagate exceptions across dll boundaries. Otherwise
> errors like the one you describe (i.e. an exception being thrown) leads
> to abnormal program termination (even simply loading a .oct file *not*
> linked against shared libgcc will fail).
>
> So even a standalone executable will need the shared libgcc and shared
> libstdc++. mkoctfile *should* take care of that. Perhaps there is
> something wrong here wieh linking executables.
>
> Can you post the output of mkoctfile when called with "-v" as verbose flag?
>
> benjamin


Hotmail: Powerful Free email with security by Microsoft. Get it now.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]