Am trying to multiply two small matrices but i cant get the code to compile
#include <iostream>
#include <armadillo>
using namespace std;
using namespace arma;
int main()
{
mat A1(1,2) ;
A1.ones();
mat Theta1(6,1);
Theta1.randn();
mat tool = trans(Theta1);
mat z1= tool*A1;
//cout<<z1<<endl;
cout<<Theta1<<endl;
}
I get the following errors
||=== Build: Debug in tutorialpp (compiler: GNU GCC Compiler) ===|
obj\Debug\main.o||In function ZN4arma4blas4gemvIdEEvPKcPKiS5_PKT_S8_S5_S8_S5_S8_PS6_S5_':|
D:\Downloads\armadillo-7.200.1b\armadillo-7.200.1b\include\armadillo_bits\wrapper_blas.hpp|36|undefined reference to
wrapper_dgemv_'|
obj\Debug\main.o||In function ZN4arma4blas4gemmIdEEvPKcS3_PKiS5_S5_PKT_S8_S5_S8_S5_S8_PS6_S5_':|
D:\Downloads\armadillo-7.200.1b\armadillo-7.200.1b\include\armadillo_bits\wrapper_blas.hpp|71|undefined reference to
wrapper_dgemm_'|
||error: ld returned 1 exit status|
||=== Build failed: 3 error(s), 0 warning(s) (0 minute(s), 6 second(s)) ===|
Please guide me so i can fix this , thanks