Open luisacusick opened 5 years ago
Hi,
the command that fails installs the newmat library, necessary for stubb. It's entirely unrelated to the changes to Stubb that we introduced, and therefore not really in our hands.
Installing it on centos7 or SUSE linux worked fine. We have used used gnu make 3.82 with g++ 4.8.5 (20150623).
It is possible that different compiler versions are the problem. Could you pls try the recommended Gnu G++ 3, 4 (Linux) (http://www.robertnz.net/nm11.htm#compiler)? If that does not work, then I think you have to contact the newmat author (the FAQ on newmat (http://www.robertnz.net/nmfaq.htm) did not provide further hints).
Hope that helps Michael
I am trying to install REforge in linux and am getting a fatal error whenever I try to build stubb using the command "gmake -f nm_gnu.mak."
Here are the error messages: tmt1.cpp: In function ‘void trymat1()’:
tmt1.cpp:167:23: error: no match for ‘operator’ (operand types are ‘int’ and ‘GenericMatrix’) GM = M; GM += 2 GM; GM -= 3 * M; M1 = GM; Print(M1);
^~tmt1.cpp:167:37: error: no match for ‘operator’ (operand types are ‘int’ and ‘Matrix’) GM = M; GM += 2 GM; GM -= 3 * M; M1 = GM; Print(M1); ~^~
Do you know what causes this error or if there's a fix?
Thank you!
Luisa
Hi Luisa,
I am having the same error. Just wondering if you solved the issue?
Thank you!! Laura
I had a system administrator install stubb because I didn't want to mess with the compiler version. Sorry I can't be more helpful!
Luisa
I am trying to install REforge in linux and am getting a fatal error whenever I try to build stubb using the command "gmake -f nm_gnu.mak."
Here are the error messages: tmt1.cpp: In function ‘void trymat1()’:
tmt1.cpp:167:23: error: no match for ‘operator’ (operand types are ‘int’ and ‘GenericMatrix’) GM = M; GM += 2 GM; GM -= 3 * M; M1 = GM; Print(M1);
^~tmt1.cpp:167:37: error: no match for ‘operator’ (operand types are ‘int’ and ‘Matrix’) GM = M; GM += 2 GM; GM -= 3 * M; M1 = GM; Print(M1);
^Do you know what causes this error or if there's a fix?
Thank you!
Luisa