Ich versuche, die minimale armadillo example program (unten für convinience)Wie kann ich laufen Beispiel Gürteltier Programm
#include <iostream>
#include <armadillo>
using namespace std;
using namespace arma;
int main()
{
mat A = randu<mat>(4,5);
mat B = randu<mat>(4,5);
cout << A*B.t() << endl;
return 0;
}
Ich arbeite mit einer Linux Fedora 23 Distro und haben das armadillo
Paket installiert zu laufen.
$ sudo dnf list armadillo
Last metadata expiration check: 1:04:12 ago on Tue May 31 17:57:36 2016.
Installed Packages
armadillo.x86_64 6.700.6-1.fc23 @updates
Available Packages
armadillo.i686 6.700.6-1.fc23 updates
Obwohl, wenn ich das Beispielprogramm aus dem aktuellen Verzeichnis erstellt ich: Gürteltier-devel:
$ g++ example.cpp -o example -O2 -larmadillo
example.cpp:2:21: fatal error: armadillo: No such file or directory
compilation terminated.
hätte schwören können, ich überprüft, dass aus ... Soooo stumm ... – statquant