octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #59923] mkoctfile helloworld.cc fails in 6.1.0


From: anonymous
Subject: [Octave-bug-tracker] [bug #59923] mkoctfile helloworld.cc fails in 6.1.0 but is fine in 5.1.0
Date: Fri, 22 Jan 2021 00:02:01 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0

URL:
  <https://savannah.gnu.org/bugs/?59923>

                 Summary: mkoctfile helloworld.cc fails in 6.1.0 but is fine
in 5.1.0
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Fri 22 Jan 2021 05:01:59 AM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 6.1.0
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

In the windows command prompt or within Octave typing


mkoctfile helloworld.cc


with helloworld.cc in the same directory containing the example from the
documentation (or any other file)


#include <octave/oct.h>

DEFUN_DLD (helloworld, args, nargout,
           "Hello World Help String")
{
  octave_stdout << "Hello World has "
                << args.length () << " input arguments and "
                << nargout << " output arguments.\n";

  return octave_value_list ();
}


Results in the following error message

g++: error: Files\GNU: No such file or directory
g++: error: Octave\Octave-6.1.0\mingw64\/include: No such file or directory


I've tried placing the file in different directories including those which do
not contain any spaces. The error message suggests this is a windows issue
with forward and backslashes. The example has no issue compiling with version
5.1.0.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59923>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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