getfem-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-users] Compilation problem


From: Riccardo Scorretti
Subject: [Getfem-users] Compilation problem
Date: Tue, 01 Oct 2013 11:39:18 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8

Hi. I'm struggling to compile a simple test program with getfem++ 4.2. Basically, I'm running xubuntu 11.10 and I managed to successfully compile/check/install the getfem++ with:

./configure --with-pic --enable-python=no --enable-mumps=no
make
make check
make install

All of the 27 tests are passed.

Then I copied in another directory the test program laplacian.cc, but when I try to compile I get the following error:

address@hidden g++ laplacian.cc -lgetfem -lm -lmuparser -lblas -lmetis -llapack /tmp/ccRqHhaR.o:(.rodata._ZTVN6getfem18ATN_smatrix_outputIN3gmm10col_matrixINS1_8rsvectorIdEEEEEE[vtable for getfem::ATN_smatrix_output<gmm::col_matrix<gmm::rsvector<double> > >]+0x28): undefined reference to `getfem::ATN::is_zero_size()' /tmp/ccRqHhaR.o:(.rodata._ZTVN6getfem16ATN_array_outputISt6vectorIdSaIdEEEE[vtable for getfem::ATN_array_output<std::vector<double, std::allocator<double> > >]+0x28): undefined reference to `getfem::ATN::is_zero_size()' /tmp/ccRqHhaR.o:(.rodata._ZTVN6getfem18ATN_smatrix_outputIN3gmm10row_matrixINS1_8rsvectorIdEEEEEE[vtable for getfem::ATN_smatrix_output<gmm::row_matrix<gmm::rsvector<double> > >]+0x28): undefined reference to `getfem::ATN::is_zero_size()'
collect2: ld a retourné 1 code d'état d'exécution
address@hidden

I really cannot understand where I'm wrong. Which is the procedure to compile my own code and link it with getfem++? Thanks.

--
Riccardo Scorretti, PhD
-----
CR CNRS - Responsible of the department of Bioengineering.
University of Lyon,  Lab. Ampère - UMR 5005 CNRS,
http://ampere-lyon.fr




reply via email to

[Prev in Thread] Current Thread [Next in Thread]