Hi,
also hier erstmal der Quelltext (ist ein Bsp. aus Wiki zum Thema armadillo):
#include <iostream>
#include <armadillo>
using namespace std;
using namespace arma;
int main()
{
vec b;
b << 2.0 << 5.0 << 2.0;
// endr represents the end of a row
// in a matrix
mat A;
A << 1.0 << 2.0 << endr
<< 2.0 << 3.0 << endr
<< 1.0 << 3.0 << endr;
cout << "Least squares solution:" << endl;
cout << solve(A,b) << endl;
return 0;
}
Komplimiere ich es separat im terminal aus, mit "g++ xy.cpp" kommt es ebenfalls zur Fehlermeldung.
Lass ich das "solve(A,b)" weg und programmiere ich die Matrix-Vektor-Multiplikation funktioniert alles. Ich würd aber gern das Feature von armadillo nutzen.
Wenn ich auf die Frage: "It seems that thies project has not been built yet. Do you want to built it?" mit Nein antworte, kommt die Meldung:
sh:1:/home/username/Schreibtisch/programme/xy: not found
Process returned 127 (0x7f)
Wenn ich auf die Frage mit Ja antworte und ich das Programm nur komplimiere ohne auszuführen, kommt das beschriebene Process returned 1.
Ich weiss leider nicht, wie ich meine Build-Einstellungen posten kann, oder meine Make-Files :/
lg
Ollowain