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

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

[Octave-bug-tracker] [bug #53920] mkoctfile, include and lib paths are w


From: Fred Hoeve
Subject: [Octave-bug-tracker] [bug #53920] mkoctfile, include and lib paths are wrong
Date: Wed, 16 May 2018 04:09:58 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?53920>

                 Summary: mkoctfile, include and lib paths are wrong
                 Project: GNU Octave
            Submitted by: fredh
            Submitted on: Wed 16 May 2018 08:09:56 AM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Fred H
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

If I specify the command
mkoctfile --link-stand-alone standalone.cc -o standalone.exe -verbose
 then got the message
g++: error:
/scratch/build/mxe-octave-w64-32-stable/usr/x86_64-w64-mingw32/lib/libiconv.dll.a:
No
 such file or directory

In 4.2.2 the library and include was set to the installation folder, e.g.
c:\octave4.2.2\....


Code standalone.cc

#include <iostream>
#include <octave/oct.h>

int
main (void)
{
  std::cout << "Hello Octave world!\n";

  int n = 2;
  Matrix a_matrix = Matrix (n, n);

  for (octave_idx_type i = 0; i < n; i++)
    for (octave_idx_type j = 0; j < n; j++)
      a_matrix(i,j) = (i + 1) * 10 + (j + 1);

  std::cout << a_matrix;

  return 0;
}




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53920>

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




reply via email to

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