help-octave
[Top][All Lists]
Advanced

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

Impossible to install pkg struct above ver. 1.0.12 into Octave 5.1.0 Win


From: Bentley, Brendon
Subject: Impossible to install pkg struct above ver. 1.0.12 into Octave 5.1.0 Win x64 binary
Date: Thu, 28 Feb 2019 17:09:04 +0000

Dear Sir/Madam,

 

I need to install package struct of version >= 1.0.12 into my Octave 5.1.0 Win x64 binary.  Please could you tell me how this could be achieved?  Whenever I attempt it I get the following error which cannot be resoved:

 

>> pkg install struct-1.0.15.tar.gz

In file included from error-helpers.cc:22:0:

error-helpers.h:31:22: error: 'octave_execution_exception' does not name a type; did you mean 'make_execution_excepti

on'?

void c_verror (const octave_execution_exception&, const char *, ...);

                      ^~~~~~~~~~~~~~~~~~~~~~~~~~

                      make_execution_exception

error-helpers.cc:36:17: error: 'octave_execution_exception' does not name a type; did you mean 'make_execution_except

ion'?

c_verror (const octave_execution_exception&, const char *fmt, ...)

                 ^~~~~~~~~~~~~~~~~~~~~~~~~~

                 make_execution_exception

error-helpers.cc: In function 'void _p_error(const char*, ...)':

error-helpers.cc:60:8: error: 'cerr' is not a member of 'std'

   std::cerr << msg;

        ^~~~

error-helpers.cc:60:8: note: suggested alternative: 'errc'

   std::cerr << msg;

        ^~~~

        errc

make: *** [Makefile:40: error-helpers.o] Error 1

make: Entering directory '/c/Users/BRENDO~1.BEN/AppData/Local/Temp/oct-FmLgPa/struct-1.0.15/src'

CXXFLAGS="-g -O2 -Wno-deprecated-declarations" E:/F/Apps/OCTAVE~2.0-W/mingw64/bin/mkoctfile-5.1.0.exe -c error-helper

s.cc

make: Leaving directory '/c/Users/BRENDO~1.BEN/AppData/Local/Temp/oct-FmLgPa/struct-1.0.15/src'

 

pkg: error running `make' for the struct package.

error: called from

    configure_make at line 99 column 9

    install at line 184 column 7

    pkg at line 441 column 9

 

Best regards,

Brendon


reply via email to

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