|
From: | Andrew Roberts |
Subject: | Re: [Getfem-users] getFEM g++ error |
Date: | Mon, 30 May 2016 12:16:37 -0500 |
Dear Andy,
The libgetfem.a library should be complete ... of course you also have to link standard libraries (-lm) and optionnally -lqhull -lblas -llapack and also optionnaly mumps. It the installation has been performed from the sources, the best in fact is to go to the tests directory of getfem
cd tests
rm laplacian.o
make laplacian
and compile with the same options (adapting the include directory and the location of the getfem library if the installation has been made).
Yves.
Le 30/05/2016 02:01, Andrew Roberts a écrit :
AndyThank you,Looking for assistance in this matter.Hello, I've been using the python interface upon discovery and installation of 5.0 but now I see I should use gmm for my transient analysis and requires c++. Python worked fine, but upon attempting running the example laplacian.cc, with:I get a stream of errors along the line of
g++ -std=c++11 -o output laplacian.cc -I/usr/local/getfem/include -L/usr/local/getfem/lib/libgetfem.a
laplacian.cc:(.text._ZN6getfem18ATN_smatrix_outputIN3gmm10row_matrixINS1_8rsvectorIdEEEEE5exec_Emt[_ZN6getfem18ATN_smatrix_outputIN3gmm10row_matrixINS1_8rsvectorIdEEEEE5exec_Emt]+0x356): undefined reference to `bgeot::operator<<(std::ostream&, bgeot::tensor_ranges const&)'
collect2: error: ld returned 1 exit status
_______________________________________________ Getfem-users mailing list address@hidden https://mail.gna.org/listinfo/getfem-users
-- Yves Renard (address@hidden) tel : (33) 04.72.43.87.08 Pole de Mathematiques, INSA-Lyon fax : (33) 04.72.43.85.29 20, rue Albert Einstein 69621 Villeurbanne Cedex, FRANCE http://math.univ-lyon1.fr/~renard ---------
[Prev in Thread] | Current Thread | [Next in Thread] |