Re: Help with running embedded standalone program v 6.4.0

Markus Mützel <[email protected]> Thu, 6 Jan 2022 13:52:13 +0100
Newsgroups gmane.comp.gnu.octave.general
Message-ID <trinity-338b0d28-66f1-4aff-bc28-8925938bf298-1641473533371@3c-app-gmx-bs29>
IIUC, that symbol demangles to:

std::basic_filebuf<char, std::char_traits<char> >::open(wchar_t const*, std::_Ios_Openmode)

That is a symbol that should be exported by the standard libraries.

It looks like you copied some (but not all) necessary libraries to a different folder with the executable. Either, copy the standard libraries to that folder, too, or try compiling with `-static-libstdc++` to check if that makes a difference.

E.g.:

mkoctfile --link-stand-alone embedded_ashwin.cc -o embedded.exe -static-libstdc++

HTH,

Markus

Gesendet: Donnerstag, 06. Januar 2022 um 12:52 Uhr

Von: "ashwin damle" <[email protected]>

An: [email protected]

Betreff: Re: Help with running embedded standalone program v 6.4.0

Hello,

Please note that although the screenshot says callOctave.exe, inside it is the same embedded.cc program. I thought of clarifying.

Ashwin

On Thu, 6 Jan 2022 at 09:47, ashwin damle <[email protected] > wrote:

Hello,

I am trying to run the embedded program at Standalone Programs (GNU Octave (version 6.4.0)) - attached.

When I execute the program using .exe created using mkoctfile --link-stand-alone embedded.cc -o embedded.exe

I get the following error. My computer is Windows 10, Gnu Octave v6.4.0. This was working in the previous version v 6.2.0. Could you please guide.

--

Ashwin Damle

--

Ashwin Damle

---------- We are transitioning to a web based forum for community help discussions at https://octave.discourse.group/c/help


----------
We are transitioning to a web based forum
for community help discussions at
https://octave.discourse.group/c/help
(unnamed) (image/png, 11.1 KB) - not displayed
(unnamed) (image/png, 11 KB) - not displayed