[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65461] Can't install MVApack package
From: |
anonyme |
Subject: |
[Octave-bug-tracker] [bug #65461] Can't install MVApack package |
Date: |
Fri, 15 Mar 2024 05:14:08 -0400 (EDT) |
Follow-up Comment #4, bug #65461 (group octave):
Thank you for your answers.
The problem really came from the version of Octave. However, I, now, get a
fatal error : octave/oct.h: No such file or directory.
Throughout my research, I didn't get why and how could this error appear
knowing that i'm running my command on Octave directly ?
I have a whole of bunch of error appearing but I feel like it all comes down
from this fatal error (but i may be wrong)
All the errors appearing :
lib/input.cpp: In function 'ScanOPs scans_from_file(const Path&, Int32)':
lib/input.cpp:109:21: error: invalid initialization of reference of type
'const String&' {aka 'const std::__cxx11::basic
_string<char>&'} from expression of type 'const Path' {aka 'const
std::filesystem::__cxx11::path'}
109 | if(!file_exists(path)) {
| ^~~~
In file included from include/datastructures.h:8,
from lib/input.cpp:7:
include/util.h:39:14: note: in passing argument 1 of 'bool file_exists(const
String&)'
39 | file_exists( String const& );
| ^~~~~~~~~~~~~
lib/input.cpp:113:49: error: invalid initialization of reference of type
'const String&' {aka 'const std::__cxx11::basic
_string<char>&'} from expression of type 'const Path' {aka 'const
std::filesystem::__cxx11::path'}
113 | const String ext = lowercase(file_extension(path));
| ^~~~
In file included from include/datastructures.h:8,
from lib/input.cpp:7:
include/util.h:45:16: note: in passing argument 1 of 'String
file_extension(const String&)'
45 | file_extension(String const &);
| ^~~~~~~~~~~~~~
lib/input.cpp:124:63: error: invalid initialization of reference of type
'const String&' {aka 'const std::__cxx11::basic
_string<char>&'} from expression of type 'const Path' {aka 'const
std::filesystem::__cxx11::path'}
124 | std::cout<<"Unknown file extension: "<<file_extension(path)<<"
for file " <<path<<"\n";
| ^~~~
In file included from include/datastructures.h:8,
from lib/input.cpp:7:
include/util.h:45:16: note: in passing argument 1 of 'String
file_extension(const String&)'
45 | file_extension(String const &);
| ^~~~~~~~~~~~~~
In file included from lib/octave-connect.cpp:4:
include/octave-connect.h:11:10: fatal error: octave/oct.h: No such file or
directory
11 | #include <octave/oct.h>
| ^~~~~~~~~~~~~~
compilation terminated.
lib/peak.cc:3:10: fatal error: octave/oct.h: No such file or directory
3 | #include <octave/oct.h>
| ^~~~~~~~~~~~~~
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65461>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #65461] Can't install MVApack package, anonyme, 2024/03/14
- [Octave-bug-tracker] [bug #65461] Can't install MVApack package, Nicholas Jankowski, 2024/03/14
- [Octave-bug-tracker] [bug #65461] Can't install MVApack package, Nicholas Jankowski, 2024/03/14
- [Octave-bug-tracker] [bug #65461] Can't install MVApack package, Pantxo Diribarne, 2024/03/15
- [Octave-bug-tracker] [bug #65461] Can't install MVApack package,
anonyme <=
- [Octave-bug-tracker] [bug #65461] Can't install MVApack package, anonyme, 2024/03/25
- [Octave-bug-tracker] [bug #65461] Can't install MVApack package, Nicholas Jankowski, 2024/03/25
- [Octave-bug-tracker] [bug #65461] Can't install MVApack package, anonyme, 2024/03/25
- [Octave-bug-tracker] [bug #65461] Can't install MVApack package, Nicholas Jankowski, 2024/03/25